Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue5396>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue38605>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue46725>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue35897>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue34990>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk :
ast.Constant.n is documented to be deprecated, but you don't get any warning
when you use it:
$ python3.11 -Wd
Python 3.11.0a5 (main, Feb 12 2022, 17:11:59) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "l
Jakub Wilk added the comment:
FYI, in Debian we have at least:
one package using the CDROM module,
3 packages using the IN module,
14 packages using the DLFCN module.
--
___
Python tracker
<http://bugs.python.org/issue12
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue13226>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Jakub Wilk added the comment:
* STINNER Victor , 2011-10-19, 22:55:
>>FYI, in Debian we have at least:
>>one package using the CDROM module,
>Is it cdsuite? (http://offog.org/code/cdsuite.html)
No, Freevo <http://freevo.sourceforge.net/>.
>>3 packages using the IN
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue12226>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Jakub Wilk added the comment:
Just to give some statistic, in Debian we have >80 binary packages that check
if sys.platform is linux2. However, it appears to me that vast majority of them
is broken anyway, because what they really mean to check is:
- is this a non-Windows sytem? or
- is t
New submission from Jakub Wilk :
"The zlib extension is built using an included copy of the zlib sources unless
the zlib version found on the system is too old to be used for the build"
I believe it should be "if" rather than "unless".
--
messages: 14220
New submission from Jakub Wilk :
It is a surprisingly common error in 3rd party code to write something like
this:
try:
eggs()
except OSError, e:
if e.errno == 17:
ham()
This is wrong, because according to POSIX[0], “only […] symbolic names should
be used in programs
Jakub Wilk added the comment:
And the lost footnote is:
[0]
http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_03.html#tag_02_03
--
___
Python tracker
<http://bugs.python.org/issue12
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue5228>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue8323>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue2562>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Jakub Wilk :
$ python3 --version
Python 3.1.3
$ python3 setup.py bdist upload --sign
[snip]
Traceback (most recent call last):
File "setup.py", line 71, in
cmdclass = dict(build_py=build_py)
File "/usr/local/lib/python3.1/distutils/core.py"
New submission from Jakub Wilk :
$ python3 --version
Python 3.1.3
$ python3 setup.py bdist upload --sign
[snip]
Traceback (most recent call last):
File "setup.py", line 71, in
cmdclass = dict(build_py=build_py)
File "/usr/local/lib/python3.1/distutils/core.py"
Jakub Wilk added the comment:
Matthias: Nope, this one is OK.
--
assignee: -> tarek
components: +Distutils -Library (Lib)
___
Python tracker
<http://bugs.python.org/issu
Jakub Wilk added the comment:
Ugh. Please disregard the first message. What I wanted to write is:
In Python 3.1.3, curses.tigetstr() returns bytes (which makes sense), but
curses.tparm() expects a Unicode string as first argument. As a consequence
even the example given in the documentation
Jakub Wilk added the comment:
Patch attached.
--
keywords: +patch
Added file: http://bugs.python.org/file19870/issue10571.diff
___
Python tracker
<http://bugs.python.org/issue10
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue969718>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue7213>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Jakub Wilk <[EMAIL PROTECTED]>:
>>> int('42', 42)
Traceback (most recent call last):
File "", line 1, in
ValueError: int() base must be >= 2 and <= 36
>>> int('42', -909)
42
--
components: Library (Li
Jakub Wilk <[EMAIL PROTECTED]> added the comment:
10 would *not* do the trick:
>>> int(42)
42
>>> int(42, 10)
Traceback (most recent call last):
File "", line 1, in
TypeError: int() can't convert non-string with explicit base
_
Changes by Jakub Wilk <[EMAIL PROTECTED]>:
--
nosy: +jwilk
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3228>
___
___
Python-bugs
Jakub Wilk <[EMAIL PROTECTED]> added the comment:
For consistency with other methods, test_folder_file_permissions()
should set umask to 0.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue1813>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Jakub Wilk:
PEP 0263 allows an encoding declaration in the second line, but
py_compile seems not to recognize such ones:
>>> MODULE = "\n# encoding=UTF-8\nU = u'\xc3\xb3'\n"
>>> f = file('tmp.py', 'w')
>>&g
New submission from Jakub Wilk <[EMAIL PROTECTED]>:
$ cat urltest2.5
#!/usr/bin/python2.5
from urllib2 import urlopen
for line in urlopen('http://python.org/'):
print line
break
$ ./urltest2.5
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
Jakub Wilk added the comment:
Regarding Senthil's patch:
__next__() method seems superfluous to me (and the implementation is buggy).
___
Python tracker
<http://bugs.python.org/i
Jakub Wilk added the comment:
Oops, __next__ is OK. Sorry for the confusion.
___
Python tracker
<http://bugs.python.org/issue4608>
___
___
Python-bugs-list mailin
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue4309>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Jakub Wilk :
$ cat test.py
from itertools import imap as _map
$ ./2to3 test.py 2>/dev/null
--- test.py (original)
+++ test.py (refactored)
@@ -1,1 +1,1 @@
-from itertools import imap as _map
+from itertools import as _map
--
components: 2to3 (2.x to 3.0 convers
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue30717>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
I can no longer reproduce the bug with Python from git.
--
___
Python tracker
<https://bugs.python.org/issue35866>
___
___
Pytho
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue22240>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk :
My "python3 setup.py sdist upload" failed with:
Upload failed (400): Invalid value for blake2_256_digest. Error: Use a valid,
hex-encoded, BLAKE2 message digest.
Apparently this is because distutils uses wrong digest size for Blake2:
https://githu
New submission from Jakub Wilk :
<https://docs.python.org/3.11/whatsnew/3.11.html#removed> says:
"Removed from the inspect module: […] the undocumented Signature.from_callable
and Signature.from_function functions, deprecated since Python 3.5; use the
Signature.from_callable() met
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue23427>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue2142>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk :
Typo in Doc/whatsnew/3.3.rst: "comparaison" -> "comparison".
--
assignee: docs@python
components: Documentation
messages: 155347
nosy: docs@python, jwilk
priority: normal
severity: normal
status: open
title: Typo in &q
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue13512>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue31652>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
I can't reproduce it here:
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>>
Jakub Wilk added the comment:
Thanks, I can reproduce the crashes with Python 2.7.9.
The first commit that fixes them is 5d7d26c403d86e9525820d872eb3e331dbc31750,
so I believe this is duplicate of issue25388.
--
___
Python tracker
<h
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue31399>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
title: Typo in urllib.request warning: cpath → cpath -> Typo in urllib.request
warning: cpath → capath
___
Python tracker
<https://bugs.python.org/issu
New submission from Jakub Wilk :
It should be "capath", not "cpath", in this warning:
DeprecationWarning: cafile, cpath and cadefault are deprecated, use a custom
context instead.
--
components: Library (Lib)
messages: 330379
nosy: jwilk
priority: normal
severity:
Jakub Wilk added the comment:
You can use confstr to get (running) glibc version:
>>> os.confstr('CS_GNU_LIBC_VERSION')
'glibc 2.28'
--
nosy: +jwilk
___
Python tracker
<ht
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue35755>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk :
$ python3.8 -c 'if object() is 42: pass'
:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
I'd like only one
New submission from Jakub Wilk :
The attached test program hangs eventually (it may need a few thousand of
iterations).
Tested with Python v3.7.2 on Linux, amd64.
--
components: Library (Lib)
files: cf-deadlock.py
messages: 334618
nosy: jwilk
priority: normal
severity: normal
status
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue35431>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
You're right that sys.stdout.flush() is missing in my code; but on Linux it
doesn't make a big difference, because multiprocessing flushes stdout before
fork()ing.
And yes, it really hangs.
--
___
Pyth
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue35829>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
This issue was reported because with the current behavior, "the script will not
properly exit on C-c". Exiting with code 128+SIGINT will not fix this.
Please re-raise the signal.
--
___
Python track
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue14208>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue29857>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk:
Lib/_osx_support.py contains the following line:
flags = re.sub(r'-arch\s+\w+\s', ' ', flags, re.ASCII)
But the 4th re.sub() argument is the maximum number of substitutions, so this
is equivalent to:
flags = re.sub(r'-arch\s+
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue11957>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
+raise TypeError("sub() takes from 2 to 4 positional arguments "
+"but %d were given" % (4 + len(args)))
It's actually 3 to 5 for sub() and subn().
--
_
New submission from Jakub Wilk:
<https://docs.python.org/3/library/re.html#re.LOCALE> reads:
"Make \w, \W, \b, \B, \s and \S dependent on the current locale."
But this is not the only thing this flag does. When combined with
re.IGNORECASE, it also makes case-insesitive
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue24896>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue13312>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
This is a side-effect of fixing issue #28067.
--
nosy: +jwilk
___
Python tracker
<http://bugs.python.org/issue30062>
___
___
Pytho
New submission from Jakub Wilk :
This happens with Python from git master (d9bd8ec2a4):
>>> from collections import Hashable
:1: DeprecationWarning: Using or importing the ABCs from
'collections' instead of from 'collections.abc' is deprecated, and in 3.8
Jakub Wilk added the comment:
There are two processes running (parent and child) when the thing hangs.
I'm attaching GDB backtraces for both.
--
Added file: https://bugs.python.org/file48223/gdb-bt-parent.txt
___
Python tracker
&
Change by Jakub Wilk :
Added file: https://bugs.python.org/file48224/gdb-bt-child.txt
___
Python tracker
<https://bugs.python.org/issue35866>
___
___
Python-bugs-list m
Jakub Wilk added the comment:
which(1) is not standardized, and there are many[*] implementations with
different behavior in corner cases. For example, this happens with zsh 5.7.1 on
Debian:
% which python
/usr/bin/python
% PATH= which python
python
% PATH=. which python
Jakub Wilk added the comment:
https://github.com/python/cpython/pull/12704 doesn't fix the bug for me.
Reverting 3b699932e5ac3e76031bbb6d700fbea07492641d doesn't fix it either.
--
___
Python tracker
<https://bugs.python.o
Jakub Wilk added the comment:
(Note that in msg333835 another implementation, presumably GNU which, was
tested.)
My point is that "which" implementations have different behavior, so justifying
anything with "which" compatibility is weird at best. You can't be
Jakub Wilk added the comment:
When PATH is empty string:
* zsh and FreeBSD which look for binaries in cwd.
* debianutils and GNU which always fail.
I suspect that the former is implementation accident. I can't imagine why would
anyone want this behavior.
NB, POSIX says that when PA
Change by Jakub Wilk :
--
nosy: -jwilk
___
Python tracker
<https://bugs.python.org/issue34155>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
FWIW, this behavior is documented:
https://docs.python.org/3/using/cmdline.html#cmdoption-m
"As with the -c option, the current directory will be added to the start of
sys.path."
With the -c option, at least you could easily remove the sys.path element
Change by Jakub Wilk :
--
nosy: -jwilk
___
Python tracker
<https://bugs.python.org/issue33095>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
-I implies -s, which is not something I want.
--
___
Python tracker
<https://bugs.python.org/issue33053>
___
___
Python-bugs-list m
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue13475>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue33180>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue25433>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue21314>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue7>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue33389>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
GNU programs seem to use this format:
$ ls --help | grep ',.*=[A-Z]'
-I, --ignore=PATTERN do not list implied entries matching shell
PATTERN
-T, --tabsize=COLS assume tab stops at each COLS instead of 8
-w, --
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue19124>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue29400>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue31973>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue32067>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue32238>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
I don't remember why I needed it. Sorry!
--
___
Python tracker
<https://bugs.python.org/issue13420>
___
___
Python-bugs-list m
Jakub Wilk added the comment:
Linux man page for execvp(3)
<http://man7.org/linux/man-pages/man3/execvp.3.html> says:
> The default search path (used when the environment does not contain
> the variable PATH) shows some variation across systems. It generally
> includes /bin a
Change by Jakub Wilk :
--
nosy: -jwilk
___
Python tracker
<https://bugs.python.org/issue13420>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jakub Wilk :
Python 3.6.4 (default, Jan 3 2018, 21:10:22)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call('nonexistent
New submission from Jakub Wilk :
Multiprocessing on Windows is supposed to start child processes using
the same sys.flags as the current process (see issue 12098).
However, at least sys.flags.tabcheck is not propagated.
I've attached small test program that reproduces this bug.
On Linu
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue33661>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue17102>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue29788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jakub Wilk added the comment:
First bad commit is:
9454060e84a669dde63824d9e2fcaf295e34f687
(bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes)
--
nosy: +jwilk, vstinner
___
Python tracker
<https://bugs.python.org/issue33
Change by Jakub Wilk :
--
nosy: +jwilk
___
Python tracker
<https://bugs.python.org/issue33875>
___
___
Python-bugs-list mailing list
Unsubscribe:
1 - 100 of 236 matches
Mail list logo