[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-05-16 Thread Chris AtLee
Chris AtLee added the comment: Is there anything I can do to help get this landed? The PR in github works for me. -- nosy: +catlee ___ Python tracker ___

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49158/new_merge.py ___ Python tracker ___ ___ Python-bugs-list

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49157/new_merge.py ___ Python tracker ___ ___ Python-bugs-list

[issue26329] os.path.normpath("//") returns //

2020-05-16 Thread Furkan Onder
Change by Furkan Onder : -- pull_requests: +19444 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20138 ___ Python tracker ___

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
New submission from Dongfang Qu : class:`OrderedDict` Examples: LRU implementation has a bug. Details: The calls to the `__setitem__` method should also count as usages. -- assignee: docs@python components: Documentation messages: 369083 nosy: Dongfang Qu, docs@python priority: normal

[issue26329] os.path.normpath("//") returns //

2020-05-16 Thread Furkan Onder
Furkan Onder added the comment: PR has been sent! -- nosy: +furkanonder ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-16 Thread Minmin Gong
Change by Minmin Gong : -- keywords: +patch pull_requests: +19443 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20137 ___ Python tracker ___

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
Dongfang Qu added the comment: Document of `collections`. https://docs.python.org/3/library/collections.html -- ___ Python tracker ___

[issue38870] Expose ast.unparse in the ast module

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

[issue40646] Builtins in doc show signature in documentation

2020-05-16 Thread Eric V. Smith
Eric V. Smith added the comment: It's a common convention to show a function with parens, even if it can't be called with no arguments. I don't think we want to make that table visually more complex by including all of the message signatures. open() has 8 params, min() and max() have

[issue34556] Add --upgrade-deps to venv module

2020-05-16 Thread Shantanu
Change by Shantanu : -- nosy: +hauntsaninja nosy_count: 4.0 -> 5.0 pull_requests: +19440 pull_request: https://github.com/python/cpython/pull/20135 ___ Python tracker ___

[issue40644] Text representation of Windows' file attributes similar to stat.filemode()

2020-05-16 Thread Eryk Sun
Eryk Sun added the comment: There's no reason this can't be generalized to file attributes/flags on other platforms such as st_flags on BSD/macOS and st_attributes on Linux (depending on bpo-39533 -- but statx only returns a small subset of attributes that are available via chattr and

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e966af7cff78e14e1d289db587433504b4b53533 by Batuhan Taskaya in branch 'master': bpo-38870: Correctly handle empty docstrings in ast.unparse (GH-18768) https://github.com/python/cpython/commit/e966af7cff78e14e1d289db587433504b4b53533

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Glenn Travis added the comment: I think that there is something odd going on with his python install. He just tried to run a very simple python script that I made for him, print('Hello there python interperter') And he got the same error message again. I do not know what more information

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-16 Thread miss-islington
miss-islington added the comment: New changeset d5b3f6b7f9fc74438009af63f1de01bd77be9385 by Christian Heimes in branch 'master': bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049) https://github.com/python/cpython/commit/d5b3f6b7f9fc74438009af63f1de01bd77be9385 -- nosy:

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ce4a753dcb3eef3d68e892a6515490b1aa219651 by Batuhan Taskaya in branch 'master': bpo-38870: Do not separate factor prefixes in ast.unparse (GH-20133) https://github.com/python/cpython/commit/ce4a753dcb3eef3d68e892a6515490b1aa219651

[issue39740] Select module fails to build on Solaris 11.4

2020-05-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: @RobHammann it should be resolved now, please feel free to re-open issue if you get into trouble (I manually tested on solaris) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue40645] Use OpenSSL's HMAC API

2020-05-16 Thread Christian Heimes
Christian Heimes added the comment: New changeset 837f9e42e3a1ad03b340661afe85e67d2719334f by Christian Heimes in branch 'master': bpo-40645: Deprecated internal details of hmac.HMAC (GH-20132) https://github.com/python/cpython/commit/837f9e42e3a1ad03b340661afe85e67d2719334f --

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset dff92bb31f7db1a80ac431811f8108bd0ef9be43 by Batuhan Taskaya in branch 'master': bpo-38870: Implement round tripping support for typed AST in ast.unparse (GH-17797)

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: > The >else"#fca"< code was added 6 years ago (commit > 8b95d5e0bf00d9d0098579d29fd6bb9322071879) That was my typo in turtledemo.__main__ (similar lines before had the space) and I wish that it had been caught then. Why did compileall in the test suite

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Change by Glenn Travis : Added file: https://bugs.python.org/file49159/errormessage.jpg ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36264] os.path.expanduser should not use HOME on windows

2020-05-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: > I thought it might be useful for testing purposes if os.path (i.e. ntpath and > posixpath) had a way to set the home directory that it uses in way that > wouldn't affect other libraries and child processes. I was thinking about this, and I'd argue that

[issue38597] C Extension import limit

2020-05-16 Thread P12 Pfx
Change by P12 Pfx : -- nosy: +P12 Pfx ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32893] ast.literal_eval() shouldn't accept booleans as numbers in AST

2020-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No longer reproduced. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: For comparison, I'm attaching an iterative version that manipulates the tree nodes with all local variables. Try it out and see what you think. -- Added file: https://bugs.python.org/file49157/new_merge.py ___

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 25160cdc4775a1ddb4e37c8bf5a6e31ad9c146ed by Batuhan Taskaya in branch 'master': bpo-38870: Don't put unnecessary parentheses on class declarations in ast.parse (GH-20134)

[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-16 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40651] class:`OrderedDict` Examples: LRU implementation has a bug.

2020-05-16 Thread Dongfang Qu
Change by Dongfang Qu : -- keywords: +patch pull_requests: +19445 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20139 ___ Python tracker ___

[issue40645] Use OpenSSL's HMAC API

2020-05-16 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19437 pull_request: https://github.com/python/cpython/pull/20132 ___ Python tracker ___

[issue40275] test.support has way too many imports

2020-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that there is no much benefit in avoiding to import modules which are imported in libregrtest. In particular threading, subprocess, tempdir, os, fnmatch, etc. You should minimize import of test.libregrtest + test.support, not just test.support.

[issue40649] [Errno 1}

2020-05-16 Thread Glenn Travis
New submission from Glenn Travis : A fellow on the X-Plane forum reported getting this: cd desktop/Ortho4XP-130 ianrobertson@Ians-iMac Ortho4XP-130 % python3 Ortho4XP_v130.py /Library/Frameworks/Python.framework/Versions/3.8/bin/python3: can't open file 'Ortho4XP_v130.py': [Errno 1]

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Change by Glenn Travis : -- title: [Errno 1} -> [Errno 1] ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19439 pull_request: https://github.com/python/cpython/pull/20134 ___ Python tracker ___

[issue40165] Hide stderror from the user if command failes

2020-05-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40165] Hide stderror from the user if command failes

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d5a980a60790571ec88aba4e011c91e099e31e98 by Batuhan Taskaya in branch 'master': bpo-40165: Suppress stderr when checking if test_stty_match should be skipped (GH-19325)

[issue40211] Clarify preadv and pwritev is supported AIX 7.1 and newer.

2020-05-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39740] Select module fails to build on Solaris 11.4

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 31245d19f2de03e57fd93c5169f00a36d7410fcf by Batuhan Taskaya in branch 'master': bpo-39740: Early declare devpoll_methods to support old compilers (GH-19281)

[issue40211] Clarify preadv and pwritev is supported AIX 7.1 and newer.

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cae2275949157490b469d79ef250387eca324b9e by Batuhan Taskaya in branch 'master': bpo-40211: Clarify os.preadv and os.pwritev are supported on AIX 7.1+ (GH-19401)

[issue35890] Cleanup some non-consistent API callings

2020-05-16 Thread Minmin Gong
Change by Minmin Gong : -- pull_requests: +19442 pull_request: https://github.com/python/cpython/pull/19974 ___ Python tracker ___

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-16 Thread Minmin Gong
New submission from Minmin Gong : Python/pytime.c includes windows.h for timeval. But it's not necessary to include the full header, because timeval is defined in winsock headers. -- messages: 369082 nosy: Minmin.Gong priority: normal severity: normal status: open title: Pytime.c

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Glenn Travis added the comment: I think that I will ask him to reinstall Python. Which can be a scary process for him. -- ___ Python tracker ___

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-16 Thread Minmin Gong
Change by Minmin Gong : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> enhancement versions: +Python 3.9 ___ Python tracker ___

[issue40275] test.support has way too many imports

2020-05-16 Thread hai shi
Change by hai shi : -- pull_requests: +19436 pull_request: https://github.com/python/cpython/pull/20131 ___ Python tracker ___ ___

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19438 pull_request: https://github.com/python/cpython/pull/20133 ___ Python tracker ___

[issue37630] Investigate replacing SHA3 code with OpenSSL

2020-05-16 Thread Christian Heimes
Christian Heimes added the comment: I'll add a whatsnew later. -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue40503] PEP 615: Add zoneinfo module

2020-05-16 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset b17e49e0def23238b9e7f48c8a02e2d7bbf1f653 by Paul Ganssle in branch 'master': bpo-40503: Add documentation and what's new entry for zoneinfo (GH-20006) https://github.com/python/cpython/commit/b17e49e0def23238b9e7f48c8a02e2d7bbf1f653 --

[issue40649] [Errno 1]

2020-05-16 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Glenn, this is probably not a bug in Python and more information about the error and the context would be needed if it was. Bugs must be reproducible to be looked at and fixed and your post does not contain enough information to do so. You should redirect

[issue39959] Bug on multiprocessing.shared_memory

2020-05-16 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +19441 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20136 ___ Python tracker

[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-16 Thread Kyle Stanley
Change by Kyle Stanley : -- pull_requests: +19448 pull_request: https://github.com/python/cpython/pull/20143 ___ Python tracker ___

[issue38870] Expose ast.unparse in the ast module

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6341fc7257d89d798675ad6e425f7eb0b6f2b4bb by Pablo Galindo in branch 'master': bpo-38870: Use subTest in test_unparse for better error reporting (GH-20141) https://github.com/python/cpython/commit/6341fc7257d89d798675ad6e425f7eb0b6f2b4bb

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49158/new_merge.py ___ Python tracker ___ ___ Python-bugs-list

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-16 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49160/new_merge.py ___ Python tracker ___ ___ Python-bugs-list

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-05-16 Thread Chris Jerdonek
Change by Chris Jerdonek : -- pull_requests: +19447 pull_request: https://github.com/python/cpython/pull/20142 ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-05-16 Thread Chris Jerdonek
Chris Jerdonek added the comment: I posted a draft PR for this issue: https://github.com/python/cpython/pull/20142 -- ___ Python tracker ___

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-16 Thread Minmin Gong
New submission from Minmin Gong : _dirnameW is defined inside #ifdef HAVE_SYMLINK/#endif, but it's used in os__getdiskusage_impl, which is outside HAVE_SYMLINK. So if HAVE_SYMLINK is not defined (e.g., on UWP), it'll have compiling issues. -- components: Windows messages: 369089

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-16 Thread Minmin Gong
Change by Minmin Gong : -- keywords: +patch pull_requests: +19449 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20144 ___ Python tracker ___

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : In https://github.com/jaraco/path/issues/186, the Path project discovered a regression with Python 3.8. It seems that if one creates a symlink with an absolute path. I used `shutil.copytree('temp', 'temp2', True)` and it produced this result: ``` ~ #

[issue40652] Test test_locale failed when running cpython test on Windows 10 x64 for version 3.9.0a6+

2020-05-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue37945 -- nosy: +xtreak ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-05-16 Thread Chris Jerdonek
Change by Chris Jerdonek : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

2020-05-16 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +19450 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20145 ___ Python tracker

[issue40652] Test test_locale failed when running cpython test on Windows 10 x64 for version 3.9.0a6+

2020-05-16 Thread kpysoze
New submission from kpysoze : Test test_locale failed when running cpython test on Windows 10 x64 python.bat -m test -j3 on version Python 3.9.0a6+ 0:19:51 load avg: 0.00 [209/423/2] test_locale failed test test_locale failed -- Traceback (most recent call last): File

[issue40334] PEP 617: new PEG-based parser

2020-05-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2c8cd06afe8e0abb52367f85978f19b88e2df53e by Lysandros Nikolaou in branch 'master': bpo-40334: Improvements to error-handling code in the PEG parser (GH-20003)

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-05-16 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset d7184d3dbd249444ec3961641dc08a9ad3c1ac34 by Chris Jerdonek in branch 'master': bpo-29587: Add another test for the gen.throw() fix. (GH-19859) https://github.com/python/cpython/commit/d7184d3dbd249444ec3961641dc08a9ad3c1ac34 --

[issue33797] json int encoding incorrect for dbus.Byte

2020-05-16 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue33797] json int encoding incorrect for dbus.Byte

2020-05-16 Thread Ned Deily
Change by Ned Deily : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-16 Thread Christian Heimes
Christian Heimes added the comment: Fixes have landed in 3.7 to 3.9. Thanks for the report! :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-16 Thread Christian Heimes
Christian Heimes added the comment: New changeset 43b355e53fd0796990a8810cd3461c197e20a3b9 by Miss Islington (bot) in branch '3.7': [3.7] bpo-40457: Support OpenSSL without TLS 1.0/1.1 (GH-19862) (GH-20126) https://github.com/python/cpython/commit/43b355e53fd0796990a8810cd3461c197e20a3b9

[issue36264] os.path.expanduser should not use HOME on windows

2020-05-16 Thread Steve Dower
Steve Dower added the comment: Really, we shouldn't be using any environment variables on Windows here, because they open up too many security risks. There are API calls that are canonical, but the environment vars are compatibility helpers. Breakage due to HOME being overridden is serious

[issue40055] test___all__ and test_distutils alters the enviroinment: pkg_resources.PEP440Warning

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

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-05-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 45410862321ae509e8753f239b0ea28fdcef5bad by Batuhan Taskaya in branch 'master': bpo-40192: Use thread_cputime for time.thread_time to improve resolution (GH-19381)

[issue40640] Tutorial for Continue missing ... line

2020-05-16 Thread Chas Belov
New submission from Chas Belov : The tutorial code for Continue at https://docs.python.org/3.7/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops is missing a ... null statement. Actual code/result: >>> for num in range(2, 10): ... if num % 2 == 0: ...

[issue40639] Strange behavior in changing nested dictionaries

2020-05-16 Thread Jacob Underwood
Jacob Underwood added the comment: I know this post is closed, but I just wanted to say thank you for the reply and the help, and being so understanding of my many mistakes Have a good day/night!! -- ___ Python tracker

[issue40641] Reserved word pair used in lambda tutorial without being noted as a reserved word

2020-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: `pair` isn't a reserved word here; it's just the formal parameter name. Think of the lambda here as being equivalent to a function def second(pair): return pair[1] You can replace the word "pair" here with any other valid Python identifier, and

[issue40629] Error MSB4086 (numeric comparison)

2020-05-16 Thread Steve Dower
Steve Dower added the comment: Haven't looked at your logs yet (on my phone), but make sure you have as recent an install of the Windows SDK as you can handle. That's typically what our build files check version numbers on. -- ___ Python tracker

[issue40641] Reserved word pair used in lambda tutorial without being noted as a reserved word

2020-05-16 Thread Chas Belov
New submission from Chas Belov : In the tutorial for lambda expressions at https://docs.python.org/3.7/tutorial/controlflow.html#lambda-expressions the reserved word pair is introduced without noting that it is a reserved word. In the example given, I wasn't sure whether pair was a reserved

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2020-05-16 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-05-16 Thread Isa
Isa added the comment: Thank you, Terry J. Reedy I'll do that eventhough I don't like writing script... As far as the title is concerned: that is the error message I receive ;)... sorry, my PC speaks french ;D... -- ___ Python tracker

[issue40642] Cpython "pystate.h" subdirectory wrong

2020-05-16 Thread jpelizza
New submission from jpelizza : Line 9 of pystate.h is: #include "cpython/initconfig.h" should be: #include "./initconfig.h" since pystate.h is already inside cpython dir. -- components: C API messages: 369019 nosy: jpelizza priority: normal severity: normal status: open title: Cpython

[issue40503] PEP 615: Add zoneinfo module

2020-05-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 62972d9d73e83d6eea157617cc69500ffec9e3f0 by Paul Ganssle in branch 'master': bpo-40503: PEP 615: Tests and implementation for zoneinfo (GH-19909) https://github.com/python/cpython/commit/62972d9d73e83d6eea157617cc69500ffec9e3f0 --

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +19432 pull_request: https://github.com/python/cpython/pull/20127 ___ Python tracker ___

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-16 Thread miss-islington
miss-islington added the comment: New changeset a669443dfb79fc6aca2544b885895814798db15b by Miss Islington (bot) in branch '3.8': bpo-40457: Support OpenSSL without TLS 1.0/1.1 (GH-19862) https://github.com/python/cpython/commit/a669443dfb79fc6aca2544b885895814798db15b --

[issue40275] test.support has way too many imports

2020-05-16 Thread hai shi
hai shi added the comment: OK, I continue to reduce the import module in test.supports. -- ___ Python tracker ___ ___

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2020-05-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The macOS test checks if the binary targets macOS 10.4 or earlier. Those versions of macOS have been out of support for a very long time, and we haven't had installers targeting those versions of macOS for a long time as well. 2.7 and 3.5 had installers

[issue36264] os.path.expanduser should not use HOME on windows

2020-05-16 Thread Paul Moore
Paul Moore added the comment: > Perhaps the best approach for the sake of POSIX compatibility is to set HOME > on startup to the correct value? If Python starts setting `HOME`, that has the potential to affect programs called in a subprocess, possibly breaking them (making them not find

[issue39305] Merge nntplib._NNTPBase and nntplib.NNTP

2020-05-16 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset aa92a7cf210c98ad94229f282221136d846942db by Dong-hee Na in branch 'master': bpo-39305: Update nntplib to merge nntplib.NNTP and nntplib._NNTPBase (GH-19817) https://github.com/python/cpython/commit/aa92a7cf210c98ad94229f282221136d846942db

[issue40643] Improve doc-strings for datetime.strftime & strptime

2020-05-16 Thread Edison Abahurire
New submission from Edison Abahurire : The docstring for strftime is: ```def strftime(self, fmt): "Format using strftime()." ``` And that of strptime: def strptime(cls, date_string, format): 'string, format -> new datetime parsed from a string (like

[issue40163] multissl doesn't support tarballs in /source/old/

2020-05-16 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-05-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Should we mention about AIX support in availability section @vstinner? https://docs.python.org/3/library/time.html#time.thread_time -- ___ Python tracker

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-05-16 Thread STINNER Victor
STINNER Victor added the comment: I close the issue, since the commit was merged. "Availability: Windows, Linux, Unix systems supporting CLOCK_THREAD_CPUTIME_ID." covers AIX. But you can add AIX if you consider that it's not explicit enough. -- resolution: -> fixed stage: patch

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-05-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > "Availability: Windows, Linux, Unix systems supporting > CLOCK_THREAD_CPUTIME_ID." covers AIX. That was my thought too, thanks again! -- ___ Python tracker

[issue40644] Text representation of Windows' file attributes similar to stat.filemode()

2020-05-16 Thread Pavol Babinčák
New submission from Pavol Babinčák : I'm using Windows and lets' say I have this directory structure listed with cmd: > dir /A ... 16.05.20 11:15 directory 16.05.20 10:47 0 hidden 16.05.20 11:25 link [regular] 16.05.20 10:47 0 readonly

[issue40275] test.support has way too many imports

2020-05-16 Thread hai shi
Change by hai shi : -- pull_requests: +19433 pull_request: https://github.com/python/cpython/pull/20128 ___ Python tracker ___ ___

[issue40275] test.support has way too many imports

2020-05-16 Thread hai shi
hai shi added the comment: After PR20128, the import modules from 132 to 123. -- ___ Python tracker ___ ___ Python-bugs-list

[issue40275] test.support has way too many imports

2020-05-16 Thread miss-islington
miss-islington added the comment: New changeset 372fa3ead584876a975a61936b376259be636d27 by Hai Shi in branch 'master': bpo-40275: lazy import modules in test.support (GH-20128) https://github.com/python/cpython/commit/372fa3ead584876a975a61936b376259be636d27 -- nosy:

[issue40641] Reserved word pair used in lambda tutorial without being noted as a reserved word

2020-05-16 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2020-05-16 Thread STINNER Victor
STINNER Victor added the comment: > I'd drop this code instead of fixing it. Hum, FreeBSD, OpenBSD and NetBSD versions which require the fix also look very old. So I agree that it became safe to remove the fix. Would it make sense to only fix it on Python 3.10 and leave other versions with

[issue40445] compileall.compile_dir docs aren't updated for bpo-38112

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

[issue39305] Merge nntplib._NNTPBase and nntplib.NNTP

2020-05-16 Thread Dong-hee Na
Dong-hee Na added the comment: I am no closing this issue :) Thank you for the suggestion, Victor. And also thank you for the interest in this issue, Luciana :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue37496] Support annotations in signature strings.

2020-05-16 Thread Eric Wieser
Eric Wieser added the comment: This seems somewhat related to https://bugs.python.org/issue31939 -- nosy: +Eric Wieser ___ Python tracker ___

[issue40633] json.dumps() should encode float number NaN to null

2020-05-16 Thread Haoyu SUN
Haoyu SUN added the comment: About using null in JSON to represnet NaN value of a float type, I prefer this logic: float is a numeric type that expecting a number as its value, "Not a Number" on a numeric type is equivalent to None (¬Number ∩ NumericValues = Empty). If we need to capture an

  1   2   >