[issue46797] ast.Constant.n deprecated without warning
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 "license" for more information. >>> import ast >>> help(ast.Constant.n) Help on property: Deprecated. Use value instead. >>> ast.Constant(value=42).n 42 -- components: Library (Lib) messages: 413541 nosy: jwilk, serhiy.storchaka priority: normal severity: normal status: open title: ast.Constant.n deprecated without warning versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue46797> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34990] year 2038 problem in compileall.py
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue34990> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35897] Support list as argument to .startswith()
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue35897> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46725] Unpacking without parentheses is allowed since 3.9
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue46725> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.11
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue38605> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5396] os.read not handling O_DIRECT flag
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue5396> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45903] What’s New In Python 3.11: wrong reference to Signature.from_callable
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() method instead." But Signature.from_callable can't possibly be removed and the suggested replacement at the same time. I think it should say: "… the undocumented Signature.from_builtin and …" -- assignee: docs@python components: Documentation messages: 407054 nosy: docs@python, hugovk, jwilk priority: normal severity: normal status: open title: What’s New In Python 3.11: wrong reference to Signature.from_callable versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue45903> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45590] distutils: Upload failed (400): Invalid value for blake2_256_digest
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://github.com/pypa/distutils/issues/25 -- components: Distutils messages: 404904 nosy: christian.heimes, dstufft, eric.araujo, jwilk priority: normal severity: normal status: open title: distutils: Upload failed (400): Invalid value for blake2_256_digest versions: Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue45590> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22240] argparse support for "python -m module" in help
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue22240> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
Jakub Wilk added the comment: I can no longer reproduce the bug with Python from git. -- ___ Python tracker <https://bugs.python.org/issue35866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30717] Add unicode grapheme cluster break algorithm
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue30717> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2142] difflib.unified_diff(...) produces invalid patches
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue2142> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23427] Python should expose command when invoked with -c
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue23427> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31652] make install fails: no module _ctypes
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue31652> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34155] email.utils.parseaddr mistakenly parse an email
Change by Jakub Wilk : -- nosy: -jwilk ___ Python tracker <https://bugs.python.org/issue34155> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35755] On Unix, shutil.which() and subprocess no longer look for the executable in the current directory if PATH environment variable is not set
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 PATH is unset or empty, the path search is implementation-defined. -- ___ Python tracker <https://bugs.python.org/issue35755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35755] Remove current directory from posixpath.defpath to enhance security
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 compatible with all them. Also telling users that you "mimick Unix which command behavior" is unhelpful, because vast majority of users have no idea how it behaves in this corner case. -- ___ Python tracker <https://bugs.python.org/issue35755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
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.org/issue35866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35755] Remove current directory from posixpath.defpath to enhance security
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 ./python % PATH=: which python python [*] I'm aware of GNU which, which from debianutils, and zsh builtin. In addition to this, AFAICS every major BSD distro has a different implementation… -- ___ Python tracker <https://bugs.python.org/issue35755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
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 mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
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 <https://bugs.python.org/issue35866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36265] Remove ABCs from collections
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 it will stop working I was already already using Python 3.8, so I expected the import to fail, as promised in the warning message. -- components: Library (Lib) messages: 337688 nosy: jwilk priority: normal severity: normal status: open title: Remove ABCs from collections versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue36265> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1054041] Python doesn't exit with proper resultcode on SIGINT
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 tracker <https://bugs.python.org/issue1054041> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue35829> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
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. -- ___ Python tracker <https://bugs.python.org/issue35866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35431] Add a function for computing binomial coefficients to the math module
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue35431> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35866] concurrent.futures deadlock
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: open title: concurrent.futures deadlock type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48090/cf-deadlock.py ___ Python tracker <https://bugs.python.org/issue35866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35798] duplicate SyntaxWarning: "is" with a literal
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 copy of this warning, not two. Tested with git master (e9b185f2a493cc54f0d49eac44bf21e8d7de2990). -- components: Interpreter Core messages: 334143 nosy: jwilk, serhiy.storchaka priority: normal severity: normal status: open title: duplicate SyntaxWarning: "is" with a literal type: behavior versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue35798> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35755] Remove current directory from posixpath.defpath to enhance security
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue35755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?
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 <https://bugs.python.org/issue35389> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35309] Typo in urllib.request warning: cpath → cpath
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: normal status: open title: Typo in urllib.request warning: cpath → cpath ___ Python tracker <https://bugs.python.org/issue35309> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35309] Typo in urllib.request warning: cpath → capath
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/issue35309> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34867] Add mode to disable small integer and interned string caches
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue34867> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34850] Emit a syntax warning for "is" with a literal
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue34850> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32892] Remove specific constant AST types in favor of ast.Constant
Jakub Wilk added the comment: Also broke pyflakes: https://github.com/PyCQA/pyflakes/issues/367 -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue32892> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21109] tarfile: Traversal attack vulnerability
Jakub Wilk added the comment: I've tested Lars's patch against my collection of sly tarballs: https://github.com/jwilk/path-traversal-samples SafeTarFile defeated most, but not all attacks. It still allows directory traversal for these two tarfile: 1) https://github.com/jwilk/path-traversal-samples/releases/download/0/dirsymlink2a.tar lrwxrwxrwx cur -> . lrwxrwxrwx par -> cur/.. -rw-r--r-- par/moo 2) https://github.com/jwilk/path-traversal-samples/releases/download/0/dirsymlink2b.tar lrwxrwxrwx cur -> . lrwxrwxrwx cur/par -> .. -rw-r--r-- par/moo -- ___ Python tracker <https://bugs.python.org/issue21109> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34157] NamedTemporaryFile can leave temporary files behind
Jakub Wilk added the comment: I think issue29988 is unrelated, or at least not the whole story. These are samples of tracebacks I see when the file is left behind: Traceback (most recent call last): File "test-tmpfile.py", line 4, in with tempfile.NamedTemporaryFile(dir='.'): File "/opt/python/lib/python3.8/tempfile.py", line 548, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/opt/python/lib/python3.8/tempfile.py", line 258, in _mkstemp_inner fd = _os.open(file, flags, 0o600) KeyboardInterrupt Traceback (most recent call last): File "test-tmpfile.py", line 4, in with tempfile.NamedTemporaryFile(dir='.'): File "/opt/python/lib/python3.8/tempfile.py", line 548, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/opt/python/lib/python3.8/tempfile.py", line 269, in _mkstemp_inner return (fd, _os.path.abspath(file)) File "/opt/python/lib/python3.8/posixpath.py", line 371, in abspath path = os.fspath(path) KeyboardInterrupt Traceback (most recent call last): File "test-tmpfile.py", line 4, in with tempfile.NamedTemporaryFile(dir='.'): File "/opt/python/lib/python3.8/tempfile.py", line 548, in NamedTemporaryFile (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type) File "/opt/python/lib/python3.8/tempfile.py", line 269, in _mkstemp_inner return (fd, _os.path.abspath(file)) File "/opt/python/lib/python3.8/posixpath.py", line 378, in abspath return normpath(path) File "/opt/python/lib/python3.8/posixpath.py", line 355, in normpath if comp in (empty, dot): KeyboardInterrupt In all cases the interrupt happened in the NamedTemporaryFile function, so before __enter__/__exit__ would have chance to do its job. -- ___ Python tracker <https://bugs.python.org/issue34157> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34155] email.utils.parseaddr mistakenly parse an email
Jakub Wilk added the comment: You should not use decode_header() on the whole From header, because that loses information. You should parse the header first, then decode the parts that could be RFC2047-encoded. Quoting <https://tools.ietf.org/html/rfc2047#section-6.2>: > NOTE: Decoding and display of encoded-words occurs *after* a > structured field body is parsed into tokens. It is therefore > possible to hide 'special' characters in encoded-words which, when > displayed, will be indistinguishable from 'special' characters in the > surrounding text. For this and other reasons, it is NOT generally > possible to translate a message header containing 'encoded-word's to > an unencoded form which can be parsed by an RFC 822 mail reader. So I don't see a bug in parseaddr() here, except that the API is a bit of a footgun. -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue34155> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34157] NamedTemporaryFile can leave temporary files behind
New submission from Jakub Wilk : If you press Ctrl+C at the wrong moment, NamedTemporaryFile won't delete the temporary file. To reproduce, you can try this script: import tempfile while True: with tempfile.NamedTemporaryFile(dir='.'): pass I get a stray temporary file when I press Ctrl+C about 40% of the time. -- components: Library (Lib) messages: 321965 nosy: jwilk priority: normal severity: normal status: open title: NamedTemporaryFile can leave temporary files behind type: behavior versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue34157> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34066] Possible resource warning in "with open()"
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue34066> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33875] Allow dynamic password evaluation in pypirc configuration file.
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue33875> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33824] Settign LANG=C modifies the --version behavior
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/issue33824> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29788] [Security] tarfile: Add absolute_path option to tarfile, disabled by default
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue29788> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17102] tarfile extract can write files outside the destination path
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue17102> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33661] urllib may leak sensitive HTTP headers to a third-party web site
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue33661> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33557] Windows multiprocessing doesn't propagate tabcheck to children
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 Linux, as expected, it fails with TabError if you use -tt: $ python -tt test-tabcheck.py Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "test-tabcheck.py", line 6, in test_ast_parse ast.parse('if 1:\n\t1\n' + '\x20' * 8 +'1') File "/usr/lib/python2.7/ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 3 1 ^ TabError: inconsistent use of tabs and spaces in indentation But it doesn't on Windows: >python -tt test-tabcheck.py Process Process-1: Traceback (most recent call last): File "C:\Python27\lib\multiprocessing\process.py", line 267, in _bootstrap self.run() File "C:\Python27\lib\multiprocessing\process.py", line 114, in run self._target(*self._args, **self._kwargs) File "...\test-tabcheck.py", line 7, in test_ast_parse assert sys.flags.tabcheck == expected_tabcheck, 'sys.flags.tabcheck == {0} != {1}'.format(sys.flags.tabcheck, expected_tabcheck) AssertionError: sys.flags.tabcheck == 0 != 2 This was tested with Python 2.7.15. -- components: Library (Lib), Windows files: test-tabcheck.py messages: 316949 nosy: jwilk, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Windows multiprocessing doesn't propagate tabcheck to children versions: Python 2.7 Added file: https://bugs.python.org/file47598/test-tabcheck.py ___ Python tracker <https://bugs.python.org/issue33557> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19124] os.execv executes in background on Windows
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue19124> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33389] argparse redundant help string
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, --width=COLS set output width to COLS. 0 means no limit The argparse format is more accurate, but also less practical, especially for long variable names. -- ___ Python tracker <https://bugs.python.org/issue33389> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33389] argparse redundant help string
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue33389> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue7> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21314] Document '/' in signatures
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue21314> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25433] whitespace in strip()/lstrip()/rstrip()
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue25433> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33180] Flag for unusable sys.executable
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue33180> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue13475> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33053] Avoid adding an empty directory to sys.path when running a module with `-m`
Jakub Wilk added the comment: -I implies -s, which is not something I want. -- ___ Python tracker <https://bugs.python.org/issue33053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33095] Cross-reference isolated mode from relevant locations
Change by Jakub Wilk : -- nosy: -jwilk ___ Python tracker <https://bugs.python.org/issue33095> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33053] Running a module with `-m` will add empty directory to sys.path
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 yourself: python -c 'import sys; sys.path.remove(""); ...' (This works, because sys is always a builtin module, so it won't be imported from cwd.) I don't see any obvious way to make "python -m foo" secure in untrusted cwd, though. The best I could come up with is: python -c 'import sys; sys.path.remove(""); import runpy; runpy._run_module_as_main("foo")' which is quite insane. -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue33053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32490] subprocess: duplicate filename in exception message
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') Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.6/subprocess.py", line 267, in call with Popen(*popenargs, **kwargs) as p: File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__ restore_signals, start_new_session) File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent': 'nonexistent' Note that the name of the missing file is mentioned twice in the error message. (Strictly speaking it's once in the message, and once in the filename attribute, but for a casual observer, the effect is the same.) -- components: Library (Lib) messages: 309438 nosy: jwilk priority: normal severity: normal status: open title: subprocess: duplicate filename in exception message type: behavior ___ Python tracker <https://bugs.python.org/issue32490> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13420] newer() function in dep_util.py discard changes in the same second
Change by Jakub Wilk : -- nosy: -jwilk ___ Python tracker <https://bugs.python.org/issue13420> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26414] os.defpath too permissive
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 and /usr/bin (in that order) and may also include the > current working directory. On some other systems, the current > working is included after /bin and /usr/bin, as an anti-Trojan-horse > measure. The glibc implementation long followed the traditional > default where the current working directory is included at the start > of the search path. However, some code refactoring during the > development of glibc 2.24 caused the current working directory to be > dropped altogether from the default search path. This accidental > behavior change is considered mildly beneficial, and won't be > reverted. So while having cwd is os.defpath has some historical justification, now that glibc dropped it from its default PATH, it would be prudent for Python to follow the suit. -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue26414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13420] newer() function in dep_util.py discard changes in the same second
Jakub Wilk added the comment: I don't remember why I needed it. Sorry! -- ___ Python tracker <https://bugs.python.org/issue13420> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32238] Handle "POSIX" in the legacy locale detection
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue32238> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32067] Deprecate accepting unrecognized braces in regular expressions
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue32067> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31973] Incomplete DeprecationWarning for async/await keywords
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue31973> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29400] Add instruction level tracing via sys.settrace
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue29400> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31399] Let OpenSSL verify hostname and IP address
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <https://bugs.python.org/issue31399> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31301] Python 2.7 SIGSEGV
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 <http://bugs.python.org/issue31301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31301] Python 2.7 SIGSEGV
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 >>> s = open('id%3A00,sig%3A11,src%3A00,op%3Ahavoc,rep%3A32').read() >>> ast.parse(s) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) TypeError: compile() expected string without null bytes -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue31301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30062] datetime in Python 3.6+ no longer respects 'TZ' environment variable
Jakub Wilk added the comment: This is a side-effect of fixing issue #28067. -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue30062> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13312] test_time fails: strftime('%Y', y) for negative year
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue13312> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue24896> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30373] Incomplete description of re.LOCALE
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 matching locale-dependent. -- assignee: docs@python components: Documentation messages: 293726 nosy: docs@python, jwilk priority: normal severity: normal status: open title: Incomplete description of re.LOCALE ___ Python tracker <http://bugs.python.org/issue30373> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11957] re.sub confusion between count and flags args
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(). -- ___ Python tracker <http://bugs.python.org/issue11957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11957] re.sub confusion between count and flags args
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue11957> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30067] _osx_support.py: misplaced flags in re.sub()
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+\w+\s', ' ', flags, count=256) It was probably meant to be: flags = re.sub(r'-arch\s+\w+\s', ' ', flags, flags=re.ASCII) This bug was found using pydiatra: http://jwilk.net/software/pydiatra -- components: Library (Lib) messages: 291631 nosy: jwilk priority: normal severity: normal status: open title: _osx_support.py: misplaced flags in re.sub() ___ Python tracker <http://bugs.python.org/issue30067> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29857] Provide `sys._raw_argv` for host application's command line arguments
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue29857> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14208] No way to recover original argv with python -m
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue14208> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29573] NamedTemporaryFile with delete=True should not fail if file already deleted
Jakub Wilk added the comment: Deleting non-existent files in /tmp is an indicator of a security hole. This kind of error must never pass silently. -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue29573> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue14243> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29637] ast.get_docstring(): AttributeError: 'NoneType' object has no attribute 'expandtabs'
New submission from Jakub Wilk: With git master (4c78c527d215c37472145152cb0e95f196cdddc9) I get this: >>> import ast >>> ast.get_docstring(ast.parse('')) Traceback (most recent call last): File "", line 1, in File "/home/jwilk/opt/lib/python3.7/ast.py", line 203, in get_docstring text = inspect.cleandoc(text) File "/home/jwilk/opt/lib/python3.7/inspect.py", line 590, in cleandoc lines = doc.expandtabs().split('\n') AttributeError: 'NoneType' object has no attribute 'expandtabs' -- messages: 288488 nosy: inada.naoki, jwilk priority: normal severity: normal status: open title: ast.get_docstring(): AttributeError: 'NoneType' object has no attribute 'expandtabs' type: behavior versions: Python 3.7 ___ Python tracker <http://bugs.python.org/issue29637> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27839] "Python [...] calls sys.displayhook() on unhandled exceptions"
New submission from Jakub Wilk: <https://docs.python.org/3/library/asyncio-dev.html#detect-exceptions-never-consumed> reads: "Python usually calls sys.displayhook() on unhandled exceptions. If Future.set_exception() is called, but the exception is never consumed, sys.displayhook() is not called." I believe this should be s/displayhook/excepthook/g. -- assignee: docs@python components: Documentation messages: 273446 nosy: docs@python, jwilk priority: normal severity: normal status: open title: "Python [...] calls sys.displayhook() on unhandled exceptions" ___ Python tracker <http://bugs.python.org/issue27839> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18920] argparse version action should print to stdout, not stderr
Changes by Jakub Wilk : -- nosy: +jwilk title: argparse module version action -> argparse version action should print to stdout, not stderr ___ Python tracker <http://bugs.python.org/issue18920> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12806] argparse: Hybrid help text formatter
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue12806> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27349] distutils.command.upload: typo "protcol_version"
New submission from Jakub Wilk: distutils/command/upload.py reads: data = { # action ':action': 'file_upload', 'protcol_version': '1', ... } It should be of course 'protocol_version'. I checked the PyPI code, and it's spelled correctly there. This misspelling was found using mwic: http://jwilk.net/software/mwic -- components: Distutils messages: 268820 nosy: dstufft, eric.araujo, jwilk priority: normal severity: normal status: open title: distutils.command.upload: typo "protcol_version" ___ Python tracker <http://bugs.python.org/issue27349> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27327] re documentation: typo "escapes consist of"
New submission from Jakub Wilk: Documentation for the re module <https://docs.python.org/3/library/re.html> reads: Unknown escapes consist of '\' and ASCII letter now raise a deprecation warning ... This should be: ... escapes consisting of ... -- assignee: docs@python components: Documentation messages: 268630 nosy: docs@python, jwilk priority: normal severity: normal status: open title: re documentation: typo "escapes consist of" versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue27327> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13420] newer() function in dep_util.py discard changes in the same second
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue13420> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26426] email examples: incorrect use of email.headerregistry.Address
New submission from Jakub Wilk: https://docs.python.org/3/library/email-examples.html#examples-using-the-provisional-api contains the following code: from email.headerregistry import Address ... msg['From'] = Address("Pepé Le Pew", "p...@example.com") msg['To'] = (Address("Penelope Pussycat", "penel...@example.com"), Address("Fabrette Pussycat", "fabre...@example.com")) But Address takes just the username, not the whole email address, as the second argument. So this should be written as: msg['From'] = Address("Pepé Le Pew", "pepe", "example.com") ... or: msg['From'] = Address("Pepé Le Pew", addr_spec="p...@example.com") ... -- assignee: docs@python components: Documentation messages: 260796 nosy: docs@python, jwilk priority: normal severity: normal status: open title: email examples: incorrect use of email.headerregistry.Address ___ Python tracker <http://bugs.python.org/issue26426> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9253] argparse: optional subparsers
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue9253> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25127] typo in concurrent.futures.Executor.shutdown() example
New submission from Jakub Wilk: Typo in the example code in <https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor.shutdown>: in the last line, it should be "src4.txt", not "src3.txt". -- assignee: docs@python components: Documentation messages: 250774 nosy: docs@python, jwilk priority: normal severity: normal status: open title: typo in concurrent.futures.Executor.shutdown() example ___ Python tracker <http://bugs.python.org/issue25127> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15873] datetime: add ability to parse RFC 3339 dates and times
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue15873> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24924] _posixsubprocess.c: sysconf() might not be async-signal-safe
New submission from Jakub Wilk: The safe_get_max_fd() (in Modules/_posixsubprocess.c) is documented to be async-signal-safe. However, this function calls sysconf(). sysconf() was guaranteed to be async-singal-safe in SUSv3, but it's no longer in SUSv4. I don't think it's going to be a problem in practice, but it's probably worth adding a clarification comment. -- components: Extension Modules messages: 249058 nosy: jwilk priority: normal severity: normal status: open title: _posixsubprocess.c: sysconf() might not be async-signal-safe ___ Python tracker <http://bugs.python.org/issue24924> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24876] distutils.errors not wildcard-import-safe
New submission from Jakub Wilk: Docstring of the distutils.errors module reads: This module is safe to use in "from ... import *" mode; it only exports symbols whose names start with "Distutils" and end with "Error". But in reality, the module exports also names that don't start with "Distutils": >>> ns = {} >>> exec('from distutils.errors import *', {}, ns) >>> [k for k in ns.keys() if not k.startswith('Distutils')] ['LibError', 'UnknownFileError', 'LinkError', 'CompileError', 'CCompilerError', 'PreprocessError'] -- components: Distutils messages: 248680 nosy: dstufft, eric.araujo, jwilk priority: normal severity: normal status: open title: distutils.errors not wildcard-import-safe ___ Python tracker <http://bugs.python.org/issue24876> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24715] Sorting HOW TO: bad example for reverse sort stability
New submission from Jakub Wilk: https://docs.python.org/3/howto/sorting.html#odd-and-ends gives the following example for reverse sort stability: >>> data = [('red', 1), ('blue', 1), ('red', 2), ('blue', 2)] >>> assert sorted(data, reverse=True) == list(reversed(sorted(reversed(data But here all the keys are different, so the result would be the same even if the sort algorithm weren't stable. You probably wanted to pass to key=itemgetter(0) to both sorted() calls. -- assignee: docs@python components: Documentation messages: 247328 nosy: docs@python, jwilk priority: normal severity: normal status: open title: Sorting HOW TO: bad example for reverse sort stability ___ Python tracker <http://bugs.python.org/issue24715> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24568] Misc/NEWS: "free-after-use" -> "use-after-free"
Jakub Wilk added the comment: Uh, "use-after-use" is not a bug either. :) -- ___ Python tracker <http://bugs.python.org/issue24568> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24568] Misc/NEWS: "free-after-use" -> "use-after-free"
New submission from Jakub Wilk: Misc/NEWS reads: "Fix free-after-use bug" It should be "use-after-free", not "free-after-use". -- assignee: docs@python components: Documentation messages: 246310 nosy: docs@python, jwilk priority: normal severity: normal status: open title: Misc/NEWS: "free-after-use" -> "use-after-free" versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue24568> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24547] What’s New In Python 3.4: stray "("
New submission from Jakub Wilk: https://docs.python.org/3/whatsnew/3.4.html#multiprocessing reads: "On Unix two new start methods, (spawn and forkserver, have been added for starting processes using multiprocessing." This stray "(" should be removed. -- assignee: docs@python components: Documentation messages: 246043 nosy: docs@python, jwilk priority: normal severity: normal status: open title: What’s New In Python 3.4: stray "(" ___ Python tracker <http://bugs.python.org/issue24547> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24531] please document that no code preceding encoding declaration is allowed
Jakub Wilk added the comment: Right, I meant <https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations>. -- ___ Python tracker <http://bugs.python.org/issue24531> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24531] please document that no code preceding encoding declaration is allowed
New submission from Jakub Wilk: If the encoding is declared on the second line, the first line must not contain anything except comments. However, this fact is not documented. The Python Language reference says only that "the encoding declaration must appear on a line of its own"; and PEP 263 says only that "there must not be any Python statement on the line that contains the encoding declaration". For example, Python ignores this encoding declaration: spam = True # encoding=ISO-8859-2 despite the fact that it appears on a line of its own. -- assignee: docs@python components: Documentation messages: 245946 nosy: docs@python, jwilk priority: normal severity: normal status: open title: please document that no code preceding encoding declaration is allowed ___ Python tracker <http://bugs.python.org/issue24531> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7267] format method: c presentation type broken in 2.7
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue7267> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker <http://bugs.python.org/issue24305> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com