* [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
@ 2020-08-12 5:01 zenny
2020-08-12 11:50 ` sgn
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: zenny @ 2020-08-12 5:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
New issue by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/24239
Description:
Hi,
I just tried to `vpm upgrade` and got the following syntax error:
```
"is" with a literal. Did you mean "=="?
```
Details:
```
...
python3-3.8.5_1: configuring ...
Byte-compiling python code in usr/lib/python3.8...
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
Byte-compiling python3.8 code for module README.txt...
Updating ldconfig(8) cache...
python3-3.8.5_1: updated successfully.
python3-devel-3.8.5_1: configuring ...
python3-devel-3.8.5_1: updated successfully.
...
```
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
@ 2020-08-12 11:50 ` sgn
2020-08-12 12:20 ` ericonr
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-12 11:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/24239#issuecomment-672824289
Comment:
Python 3.8 is more strict on this. We'll patch and report to upstream.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
2020-08-12 11:50 ` sgn
@ 2020-08-12 12:20 ` ericonr
2020-08-13 15:36 ` sgn
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-08-12 12:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/issues/24239#issuecomment-672836972
Comment:
Don't worry, though. It's just a warning.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
2020-08-12 11:50 ` sgn
2020-08-12 12:20 ` ericonr
@ 2020-08-13 15:36 ` sgn
2020-08-13 15:36 ` [ISSUE] [CLOSED] " sgn
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-13 15:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/24239#issuecomment-673550322
Comment:
Fixed in df444f7584
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ISSUE] [CLOSED] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
` (2 preceding siblings ...)
2020-08-13 15:36 ` sgn
@ 2020-08-13 15:36 ` sgn
2020-08-13 15:37 ` sgn
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-13 15:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
Closed issue by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/24239
Description:
Hi,
I just tried to `vpm upgrade` and got the following syntax error:
```
"is" with a literal. Did you mean "=="?
```
Details:
```
...
python3-3.8.5_1: configuring ...
Byte-compiling python code in usr/lib/python3.8...
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
Byte-compiling python3.8 code for module README.txt...
Updating ldconfig(8) cache...
python3-3.8.5_1: updated successfully.
python3-devel-3.8.5_1: configuring ...
python3-devel-3.8.5_1: updated successfully.
...
```
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
` (3 preceding siblings ...)
2020-08-13 15:36 ` [ISSUE] [CLOSED] " sgn
@ 2020-08-13 15:37 ` sgn
2020-08-19 16:14 ` sgn
2020-08-19 16:14 ` [ISSUE] [CLOSED] " sgn
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-13 15:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/24239#issuecomment-673550743
Comment:
Ah, no, tzlocal hasn't been fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
` (4 preceding siblings ...)
2020-08-13 15:37 ` sgn
@ 2020-08-19 16:14 ` sgn
2020-08-19 16:14 ` [ISSUE] [CLOSED] " sgn
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-19 16:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/issues/24239#issuecomment-676521924
Comment:
`tzlocal` was fixed before, your `python3-tzlocal` is outdated.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ISSUE] [CLOSED] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?`
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
` (5 preceding siblings ...)
2020-08-19 16:14 ` sgn
@ 2020-08-19 16:14 ` sgn
6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2020-08-19 16:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
Closed issue by zenny on void-packages repository
https://github.com/void-linux/void-packages/issues/24239
Description:
Hi,
I just tried to `vpm upgrade` and got the following syntax error:
```
"is" with a literal. Did you mean "=="?
```
Details:
```
...
python3-3.8.5_1: configuring ...
Byte-compiling python code in usr/lib/python3.8...
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
usr/lib/python3.8/site-packages/enchant/checker/CmdLineChecker.py:163: SyntaxWarning:
"is" with a literal. Did you mean "=="?
if index is 0:
usr/lib/python3.8/site-packages/tzlocal/unix.py:141: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while start is not 0:
Byte-compiling python3.8 code for module README.txt...
Updating ldconfig(8) cache...
python3-3.8.5_1: updated successfully.
python3-devel-3.8.5_1: configuring ...
python3-devel-3.8.5_1: updated successfully.
...
```
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-08-19 16:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 5:01 [ISSUE] [BUG] python byte-compilation syntax error `"is" with a literal. Did you mean "=="?` zenny
2020-08-12 11:50 ` sgn
2020-08-12 12:20 ` ericonr
2020-08-13 15:36 ` sgn
2020-08-13 15:36 ` [ISSUE] [CLOSED] " sgn
2020-08-13 15:37 ` sgn
2020-08-19 16:14 ` sgn
2020-08-19 16:14 ` [ISSUE] [CLOSED] " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).