[issue42366] Use MSVC2019 and /Ob3 option to compile Windows builds

2020-11-16 Thread Christian Heimes
Christian Heimes added the comment: Could you please try again with PGO? All our official builds use PGO. -- nosy: +christian.heimes ___ Python tracker ___

[issue13888] test_builtin failure when run after test_tk

2020-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is still reproducible on Linux. I do not get a crash, just test failure and some strange output. == FAIL: test_input_tty_non_ascii (test.test_builtin.PtyTests)

[issue42238] Deprecate suspicious.py?

2020-11-16 Thread Julien Palard
Change by Julien Palard : -- keywords: +patch pull_requests: +22204 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23313 ___ Python tracker ___

[issue42102] Make builtins.callable "generic"

2020-11-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Sorry, but making builtins.callable generic looks wrong to me. It is a > predicate, not a constructor. If it would be called "iscallable" instead of > "callable" nobody would propose to make it generic, right? It's just a > coincidence that the name of

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2020-11-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2020-11-16 Thread Christian Heimes
Christian Heimes added the comment: +1 for restoring the feature +0 for Serhiy's proposal iff intermediate_mode defaults to the value of mode: def makedirs(name, mode=0o777, exist_ok=False, *, intermediate_mode=None): if intermediate_mode is None: intermediate_mode =

[issue42366] Use MSVC2019 and /Ob3 option to compile Windows builds

2020-11-16 Thread Ma Lin
Ma Lin added the comment: > Could you please try again with PGO? Please wait. BTW, this option was advised in another project. In that project, even enable `\Ob3`, it still slower than GCC 9 build. If you are interested, see: https://github.com/facebook/zstd/issues/2314 --

[issue42366] Use MSVC2019 and /Ob3 option to compile Windows builds

2020-11-16 Thread Ma Lin
New submission from Ma Lin : MSVC2019 has a new option `/Ob3`, it specifies more aggressive inlining than /Ob2: https://docs.microsoft.com/en-us/cpp/build/reference/ob-inline-function-expansion?view=msvc-160 If use this option in MSVC2017, it will emit a warning: cl : Command line warning

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2020-11-16 Thread Gregory P. Smith
New submission from Gregory P. Smith : os.makedirs used to pass its mode argument on down recursively so that every level of directory it created would have the specified permissions. That was removed in Python 3.7 as https://bugs.python.org/issue19930 as if it were a mis-feature. Maybe it

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2020-11-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: For consistency, pathlib.Path.mkdir should also gain this option. -- ___ Python tracker ___

[issue42366] Use MSVC2019 and /Ob3 option to compile Windows builds

2020-11-16 Thread Ma Lin
Ma Lin added the comment: In PGO build, the improvement is not much. (3.9 branch, with PGO, build.bat -p X64 --pgo) +-+--+--+ | Benchmark | baseline-pgo | ob3-pgo |

[issue42102] Make builtins.callable "generic"

2020-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, but making builtins.callable generic looks wrong to me. It is a predicate, not a constructor. If it would be called "iscallable" instead of "callable" nobody would propose to make it generic, right? It's just a coincidence that the name of this

[issue19930] os.makedirs('dir1/dir2', 0) always fails

2020-11-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: This API change was not strictly a bugfix, it removed a feature existing code was relying on. https://bugs.python.org/issue42367 opened to reconcile the two. -- nosy: +gregory.p.smith ___ Python tracker

[issue42367] Restore os.makedirs ability to apply mode to all directories created

2020-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Alternatively we can add an optional argument for the mode of intermediate directories. makedirs(name, mode=0o777, exist_ok=False, intermediate_mode=0o777) -- ___ Python tracker

[issue42368] Make set ordered

2020-11-16 Thread Dan Gheorghe Haiduc
New submission from Dan Gheorghe Haiduc : Now that dicts are ordered[1], would it by any chance make sense to also order sets? A use case that I ran into is trying to reproducibly get a random.choice from a set (after calling random.seed). At first I did not need reproducibility, and I

[issue42369] Reading ZipFile not thread-safe

2020-11-16 Thread Thomas
New submission from Thomas : According to https://docs.python.org/3.5/whatsnew/changelog.html#id108 bpo-14099, reading multiple ZipExtFiles should be thread-safe, but it is not. I created a small example where two threads try to read files from the same ZipFile simultaneously, which crashes

[issue42309] BUILD: AIX-64-bit segmentation fault using xlc

2020-11-16 Thread Michael Felt
Michael Felt added the comment: Added "using xlc" to description. When I have a system that has 64-bit support for gcc - I'll verify that it works, or does not work, for me using gcc. -- title: BUILD: AIX-64-bit segmentation fault -> BUILD: AIX-64-bit segmentation fault using xlc

[issue40939] Remove the old parser

2020-11-16 Thread Miro Hrončok
Miro Hrončok added the comment: Could the removal of the parser module be documented in https://docs.python.org/3.10/whatsnew/3.10.html please? -- nosy: +hroncok ___ Python tracker

[issue42369] Reading ZipFile not thread-safe

2020-11-16 Thread Thomas
Change by Thomas : -- components: +Library (Lib) type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-16 Thread mattip
mattip added the comment: Over at NumPy we are getting reports that some python built for macOSx 11 is not accepting wheels with the `macosx_10_9_x86_64` platform tag. Could it be related to this issue, another open issue, or some other provider's python? xref

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-16 Thread Max Desiatov
Change by Max Desiatov : -- nosy: -MaxDesiatov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3df5c68487df9d1d20ab0cd06e7942a4f96d40a4 by Victor Stinner in branch 'master': bpo-37205: time.perf_counter() and time.monotonic() are system-wide (GH-23284) https://github.com/python/cpython/commit/3df5c68487df9d1d20ab0cd06e7942a4f96d40a4

[issue42369] Reading ZipFile not thread-safe

2020-11-16 Thread Ma Lin
Change by Ma Lin : -- nosy: +malin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-16 Thread Michael Felt
Michael Felt added the comment: I have been experimenting with different hardware and AIX versions. When building on AIX 5.3 - and the oldest libraries - test_math passes. When I run the test on POWER8, using either xlc or gcc test_math fails with just one element of the test. When I run

[issue42368] Make set ordered

2020-11-16 Thread Dan Gheorghe Haiduc
Dan Gheorghe Haiduc added the comment: Oops. The reference number [2] in the previous message should instead be https://stackoverflow.com/q/6614447/235463 . -- ___ Python tracker

[issue41100] Support macOS 11 and Apple Silicon Macs

2020-11-16 Thread Ned Deily
Ned Deily added the comment: @mattip, it could also be due to https://github.com/pypa/packaging/pull/319. I’m away from the keyboard fir the moment and can’t investigate further. -- ___ Python tracker

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22205 pull_request: https://github.com/python/cpython/pull/23314 ___ Python tracker ___

[issue42368] Make set ordered

2020-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://mail.python.org/pipermail/python-dev/2019-February/156466.html -- nosy: +methane, rhettinger, xtreak ___ Python tracker

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: Michael Felt, David Eldelsohn: are you ok to drop support for AIX 5.3 and older? -- nosy: +David.Edelsohn, aixto...@gmail.com ___ Python tracker

[issue42371] datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
Change by Bengt Lüers : -- title: Missing colon in timezone suffix raises ValueError -> datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError ___ Python tracker

[issue42371] datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
Change by Bengt Lüers : -- title: datetime.fromisoformat(): Missing colon in timezone suffix raises ValueError -> datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError ___ Python tracker

[issue42350] Calling os.fork() at Python exit logs: AttributeError: 'NoneType' object has no attribute '_at_fork_reinit'

2020-11-16 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42372] A crash in do_richcompare

2020-11-16 Thread Alexander Kurakin
New submission from Alexander Kurakin : Sometimes test.py causes a crash in 3.7.9 (and lower to 2018 year or more) on Linux. See also: https://github.com/pandas-dev/pandas/issues/21968 -- components: Interpreter Core files: issue.zip messages: 381113 nosy: kuraga priority: normal

[issue42178] failed pickle hangs python on exit in CMD.exe only

2020-11-16 Thread Eryk Sun
Change by Eryk Sun : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42350] Calling os.fork() at Python exit logs: AttributeError: 'NoneType' object has no attribute '_at_fork_reinit'

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5909a494cd3ba43143b28bd439773ed85a485dfc by Victor Stinner in branch 'master': bpo-42350: Fix Thread._reset_internal_locks() (GH-23268) https://github.com/python/cpython/commit/5909a494cd3ba43143b28bd439773ed85a485dfc --

[issue42350] Calling os.fork() at Python exit logs: AttributeError: 'NoneType' object has no attribute '_at_fork_reinit'

2020-11-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +22206 pull_request: https://github.com/python/cpython/pull/23315 ___ Python tracker

[issue42371] Missing colon in timezone suffix raises ValueError

2020-11-16 Thread Bengt Lüers
New submission from Bengt Lüers : I am trying to parse ISO8601-formatted datetime strings with timezones. This works fine when there is a colon separating the hour and minute digits: >>> import datetime >>> datetime.datetime.fromisoformat('2020-11-16T11:00:00+00:00') >>>

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-11-16 Thread David Edelsohn
David Edelsohn added the comment: I think that it is reasonable to drop support for AIX 5.3. -- ___ Python tracker ___ ___

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: David Edelsohn: "I think that it is reasonable to drop support for AIX 5.3." Good. Thanks Kevin Adler, I merged your PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-16 Thread David Edelsohn
David Edelsohn added the comment: I investigated another problem with nextafter() in 2015 and opened an internal IBM AIX PMR. At the time it was not using decimal float code. The earlier problem was the handling of -0.0. At the time, the code was hand-written assembly language that did

[issue40939] Remove the old parser

2020-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will submit a PR today -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42373] PEP 626 does not specify behavior of tracing for keywords.

2020-11-16 Thread Mark Shannon
New submission from Mark Shannon : PEP 626 doesn't cover which keywords are to be traced if they occur on a line by themselves. Some keywords, like `break`, in Python have behavior associated with them. Others, like `else` are just syntax and don't do anything. Currently, it is not clear

[issue42368] Make set ordered

2020-11-16 Thread Dan Gheorghe Haiduc
Dan Gheorghe Haiduc added the comment: rhettinger wrote [1]: > The existing setobject code has been finely tuned and micro-optimized over > the years, giving it excellent performance on workloads we care about. This worries me also. But I suppose the tuning should make itself visible in

[issue42370] test_ttk_guionly: test_to() fails on the GitHub Ubuntu job

2020-11-16 Thread STINNER Victor
New submission from STINNER Victor : Seen on the Ubuntu job on a GitHub PR: https://github.com/python/cpython/pull/23315/checks?check_run_id=1406797840 == FAIL: test_to (tkinter.test.test_ttk.test_widgets.SpinboxTest)

[issue42309] BUILD: AIX-64-bit segmentation fault using xlc-v11

2020-11-16 Thread Michael Felt
Michael Felt added the comment: For now, I am going to suggest closing this - as a bug in the xlc-v11 compiler - and not worth researching. I am able to build the 3.9 distribution as well as the 3.10 master using the xlC-v13-1.3.2 (Try and Buy) version. Thanks for thinking together!

[issue40939] Remove the old parser

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: Please also document the removal of the node.h header file. The removal of this file broke the build of the two following packages. mod_wsgi: https://bugzilla.redhat.com/show_bug.cgi?id=1898158 In file included from src/server/mod_wsgi.c:22:

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset ae6cd7cfdab0599139002c526953d907696d9eef by Victor Stinner in branch 'master': bpo-37205: time.time() cannot fail with fatal error (GH-23314) https://github.com/python/cpython/commit/ae6cd7cfdab0599139002c526953d907696d9eef --

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: I close the issue, it's now fixed in master. Thanks for the bug report Ken Healy. While Python 3.8 and 3.9 are also affected, I prefer to leave them unchanged to avoid bad surprises during a minor update (3.x.y bugfix release). If you disagree, please

[issue42350] Calling os.fork() at Python exit logs: AttributeError: 'NoneType' object has no attribute '_at_fork_reinit'

2020-11-16 Thread miss-islington
miss-islington added the comment: New changeset cf70854f10096446115408b5a94030b30594a459 by Miss Islington (bot) in branch '3.9': bpo-42350: Fix Thread._reset_internal_locks() (GH-23268) https://github.com/python/cpython/commit/cf70854f10096446115408b5a94030b30594a459 --

[issue42087] Remove pre-AIX 6.1 dead code paths

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset c79667ff7921444911e8a5dfa5fba89294915590 by Kevin Adler in branch 'master': bpo-42087: Remove support for AIX 5.3 and below (GH-22830) https://github.com/python/cpython/commit/c79667ff7921444911e8a5dfa5fba89294915590 --

[issue42202] Optimize function annotation

2020-11-16 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 3.0 -> 4.0 pull_requests: +22207 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23316 ___ Python tracker

[issue42373] PEP 626 does not specify behavior of tracing for keywords.

2020-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Mark, could you kindly create a proposed update to the PEP in the form of a PR so I can evaluate it and we can iterate directly over the final specification? -- ___ Python tracker

[issue42371] datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError

2020-11-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: How can we fix the buildbot? Add #ifdef in mathmodule.c to implement the special cases, but only on AIX? Skip the test? -- ___ Python tracker

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Guido van Rossum
Change by Guido van Rossum : -- versions: -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42370] test_ttk_guionly: test_to() fails on the GitHub Ubuntu job

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the failure locally. -- ___ Python tracker ___ ___ Python-bugs-list

[issue41741] test_peg_generator timed out (25 min) on x86 Gentoo Non-Debug with X 3.9

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: https://buildbot.python.org/all/#/builders/51 is green for 2 months, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue42369] Reading ZipFile not thread-safe

2020-11-16 Thread Eric V. Smith
Eric V. Smith added the comment: I'm changing from "crash" to "behavior". We use "crash" for a segfault or equivalent. I realize that most people are unlikely to know this, but we consider "crash" to be more alarming, so I want to make sure it's correct. Also: when this happens, is it

[issue42371] datetime.fromisoformat(): Omitted colon in timezone suffix raises ValueError

2020-11-16 Thread Paul Ganssle
Paul Ganssle added the comment: This is the expected behavior of `.fromisoformat()`. A similar issue is https://bugs.python.org/issue35829, which asks for the "Z" suffix to be supported. There is a note about this in the documentation:

[issue42372] A crash in do_richcompare

2020-11-16 Thread Christian Heimes
Christian Heimes added the comment: The Pandas bug links to a traceback: Program received signal SIGSEGV, Segmentation fault. 0x5589b0a0 in PyUnicode_Type () (gdb) bt #0 0x5589b0a0 in PyUnicode_Type () #1 0x5567d8b3 in do_richcompare (op=2, w=0x777a4b20,

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: It's cosmetic in the sense that it *only* affect usability, and not correctness. If it had no impact at all, I'd be calling it "pointless" ;) -- ___ Python tracker

[issue42374] Unparenthesized walrus is not allowed in genexps

2020-11-16 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : While a walrus is valid withing generator expressions in 3.8, it's not in 3.9 and onward. ➜ cpython git:(master) ✗ python3.8 Python 3.8.6 (default, Oct 3 2020, 16:26:47) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license"

[issue12726] explain that locale.getlocale() does not read system's locales

2020-11-16 Thread Irit Katriel
Irit Katriel added the comment: I tried "import locale; locale.getlocale()" on macOS and windows (3.10) and linux (3.7) and in all cases I got non-None values. Can we close this as out of date? -- nosy: +iritkatriel status: open -> pending ___

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: > The earlier problem was the handling of -0.0. At the time, the code was > hand-written assembly language that did not check for IEEE floating point > corner cases. I'm quite happy that my hand written tests detect bugs in nextafter() implementations ;-)

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: We can backport it, but the latest version always wins. I deliberately designed the installer (which has multiple embedded MSIs in it) to make sure this worked, so that earlier versions won't overwrite the launcher (anymore). Besides, this is a purely cosmetic

[issue42231] test_zipimport failure

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: The 3 mentionned buildbot workers are back to green, so I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue42173] Drop Solaris support

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. Thanks for the constructive discussion and I hope that more and more downstream patches will be merged in Python upstream ;-) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: For the signal module, see bpo-41713. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38261] Tkinter CheckButton default label white in macOS dark mode

2020-11-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The same behaviour can be observed with Tk 8.6.10 build on macOS 11. IMHO the problem is not so much that the default text color changes, but that the background color of the window does not change, it stays the same light color as in light mode.

[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2020-11-16 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-16 Thread Michael Felt
Michael Felt added the comment: There seems to be a lot of interaction of OS level and compiler used. * Waiting for the next bot run to get a different compiler. +++ AIX 6.1.6 and older libraries - no test errors reported AIX 7.1.4 and newer libraries - when using the binary built on 6.1.6

[issue13561] os.listdir documentation should mention surrogateescape

2020-11-16 Thread Irit Katriel
Irit Katriel added the comment: I think this was added in another section of this doc. See the second paragraph in https://docs.python.org/3/library/os.html#file-names-command-line-arguments-and-environment-variables -- nosy: +iritkatriel ___

[issue42316] Walrus Operator in list index

2020-11-16 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- nosy: +lys.nikolaou nosy_count: 3.0 -> 4.0 pull_requests: +22208 pull_request: https://github.com/python/cpython/pull/23317 ___ Python tracker

[issue1178136] cgitb.py support for frozen images

2020-11-16 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12956] builds fail when installing to --prefix with space in path name

2020-11-16 Thread Irit Katriel
Irit Katriel added the comment: LMO, if you are still interested in this issue, could you be more specific about where you think this should be documented? If you want to create a patch, go for it. -- nosy: +iritkatriel status: open -> pending

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22209 pull_request: https://github.com/python/cpython/pull/23318 ___ Python tracker ___

[issue13892] distutils handling of windows manifest isn't optimal

2020-11-16 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: You may call it cosmetic, but for me it's a matter of usability. Nevertheless, given how you designed the installer, we can drop the backport. -- ___ Python tracker

[issue1178136] cgitb.py support for frozen images

2020-11-16 Thread Barry Alan Scott
Barry Alan Scott added the comment: Ok. I'll add this to my todo list. -- status: pending -> open ___ Python tracker ___ ___

[issue42374] Unparenthesized walrus is not allowed in genexps

2020-11-16 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +22210 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23319 ___ Python tracker

[issue9640] Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE

2020-11-16 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted into a github PR. Trevor, are you interested in doing that? -- nosy: +iritkatriel ___ Python tracker ___

[issue11604] Have type(n,b,d) check for type(b[i]) is module

2020-11-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Special cases aren't special enough to break the rules. I think this issue should be closed. This is not common user error, especially in Python 3. I can even imagine that you can subclass module, if it is an instance of special ModuleType subclass. It is

[issue13561] os.listdir documentation should mention surrogateescape

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: > I think this was added in another section of this doc. See the second > paragraph in > https://docs.python.org/3/library/os.html#file-names-command-line-arguments-and-environment-variables Right, this section now explains encodings and the error handler.

[issue7955] TextIOWrapper Buffering Inconsistent Between _io and _pyio

2020-11-16 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___

[issue5405] There is no way of determining which ABCs a class is registered against

2020-11-16 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: +Python 3.10, Python 3.9 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue14643] Security page out of date

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: No. I close the issue :) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue42374] Unparenthesized walrus is not allowed in genexps

2020-11-16 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset 2b800ef809eefbc96a536e4b43a8285f2353f64d by Lysandros Nikolaou in branch '3.9': bpo-42374: Allow unparenthesized walrus in genexps (GH-23319) (GH-23329) https://github.com/python/cpython/commit/2b800ef809eefbc96a536e4b43a8285f2353f64d

[issue42374] Unparenthesized walrus is not allowed in genexps

2020-11-16 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41625] Add splice() to the os module

2020-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41625] Add splice() to the os module

2020-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a57b3d30f66c90f42da751bf82256b9b22961ed0 by Pablo Galindo in branch 'master': bpo-41625: Expose the splice() system call in the os module (GH-21947) https://github.com/python/cpython/commit/a57b3d30f66c90f42da751bf82256b9b22961ed0

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: Let’s make sure this is all written up in whatsnew. -- ___ Python tracker ___ ___

[issue42102] Make builtins.callable "generic"

2020-11-16 Thread Shantanu
Shantanu added the comment: My implementation in PR 22848 turns callable into a type and uses `__new__`. It isn't too bad. It does appear to affect performance of callable though. Here's some data on how often typing imports are used. This is the number of files in which `from typing import

[issue42379] Optional List Args Persist Across Objects

2020-11-16 Thread Eric V. Smith
Eric V. Smith added the comment: This is defined behavior in the language, so it's not a bug. The "pythonic" way to deal with this is usually: def funct(self, array = None): if array is None: array = [] -- components: +Interpreter Core -ctypes nosy: +eric.smith

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch, Zackery! -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18838] The order of interactive prompt and traceback on Windows

2020-11-16 Thread Adam Bartoš
Adam Bartoš added the comment: So far I could reproduce the issue on Python 3.7, Windows Vista 64bit. I'll try with newer versions. The output I got: >>> from subprocess import * >>> Popen("py -i foo.py", stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() (b'', b'>>> Traceback (most recent

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +22215 pull_request: https://github.com/python/cpython/pull/23325 ___ Python tracker ___

[issue42316] Walrus Operator in list index

2020-11-16 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset cae60187cf7a7b26281d012e1952fafe4e2e97e9 by Lysandros Nikolaou in branch 'master': bpo-42316: Allow unparenthesized walrus operator in indexes (GH-23317) https://github.com/python/cpython/commit/cae60187cf7a7b26281d012e1952fafe4e2e97e9

[issue42120] Depreciated MACRO of copysign for MSVC

2020-11-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +22218 pull_request: https://github.com/python/cpython/pull/23330 ___ Python tracker

[issue42120] Depreciated MACRO of copysign for MSVC

2020-11-16 Thread Steve Dower
Steve Dower added the comment: New changeset 9cc9e277254023c0ca08e1a9e379fd89475ca9c2 by Steve Dower in branch 'master': bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326) https://github.com/python/cpython/commit/9cc9e277254023c0ca08e1a9e379fd89475ca9c2 --

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +1 pull_request: https://github.com/python/cpython/pull/2 ___ Python tracker ___

  1   2   >