[issue40686] Compiler warnings in _zoneinfo.c on Windows build in 64-bit

2020-05-31 Thread Dong-hee Na
Dong-hee Na added the comment: @pablogsal GH-20342 looks like related to this issue. Can you update the current status? -- nosy: +corona10, pablogsal ___ Python tracker ___

[issue40828] shared memory problems with multiprocessing.Pool

2020-05-31 Thread SilentGhost
Change by SilentGhost : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-31 Thread Anthony Sottile
Anthony Sottile added the comment: pre-commit uses this to do deterministic shuffling, please don't remove this https://github.com/pre-commit/pre-commit/issues/1479 -- nosy: +Anthony Sottile ___ Python tracker

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Raymond, could you please add an entry in What's New? -- ___ Python tracker ___ ___

[issue40832] hi param in bisect module should not accept negative values

2020-05-31 Thread Vikash Raja Samuel Selvin
New submission from Vikash Raja Samuel Selvin : >>> bisect.bisect_right(l, 5.1, -1) Traceback (most recent call last): File "", line 1, in ValueError: lo must be non-negative >>> l [0, 1, 2, 3, 4, 5, 5, 5, 6, 7, 8, 9] >>> bisect.bisect_right(l, 5.1, 0, -2) 0 In order to be consistent with

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-05-31 Thread Steve Dower
Steve Dower added the comment: That's correct, though I thought PEP 528 and 529 applied earlier than that? Around 3.6, I thought. Feel free to make a doc update though. That reference is definitely out of date. -- ___ Python tracker

[issue40832] hi param in bisect module should not accept negative values

2020-05-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue25782] CPython hangs on error __context__ set to the error itself

2020-05-31 Thread Chris Jerdonek
Chris Jerdonek added the comment: I think this issue needs deeper discussion to know how to proceed. > If there is a chain A -> B -> C -> D -> E, after assignment C.__context__ = A > we will get a chain C -> A -> B -> D -> E. No exception is lost. I understand not wanting to lose exceptions

[issue40832] hi param in bisect module should not accept negative values

2020-05-31 Thread SilentGhost
Change by SilentGhost : -- nosy: +rhettinger versions: +Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue40830] Certain uses of dictionary unpacking raise TypeError

2020-05-31 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +19796 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20553 ___ Python tracker

[issue36464] Python 2.7 build install fails intermittently with -j on MacOS

2020-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: Even though this mentions Python 2, the pull request is against master. -- nosy: +cheryl.sabella ___ Python tracker ___

[issue1706039] Added clearerr() to clear EOF state

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue15952] format(value) and value.__format__() behave differently with unicode format

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue15276] unicode format does not really work in Python 2.x

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue2481] locale.strxfrm does not work with Unicode strings

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue12886] datetime.strptime parses input wrong

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.6, Python 2.7 ___ Python tracker ___

[issue17420] bdist_wininst does not play well with unicode descriptions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue17387] Error in C API documentation of PySequenceMethods

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue11767] Maildir iterator leaks file descriptors by default

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue20686] Confusing statement about unicode strings in tutorial introduction

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue16700] Document that bytes OS API can returns unusable results on Windows

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue33491] mistype of method's name

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35151] Python 2 xml.etree.ElementTree documentation tutorial uses undocumented arguments

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue1724366] cPickle module doesn't work with universal line endings

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue21889] https://docs.python.org/2/library/multiprocessing.html#process-and-exceptions doesn't explain exception

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue8387] use universal newline mode in csv module examples

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue16891] Fix docs about module search order

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40833] Clarify docstring of Path.rename

2020-05-31 Thread Ram Rachum
Change by Ram Rachum : -- keywords: +patch pull_requests: +19797 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20554 ___ Python tracker ___

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

2020-05-31 Thread Jim Fasarakis-Hilliard
Change by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-05-31 Thread Eric L.
Eric L. added the comment: The question is if only the statement that bytes are deprecated is wrong, but also if the long path feature is supported with bytes or not. As written, I'm a Linux guy, I don't feel like I have the pre-requisites to check this properly. --

[issue11722] mingw64 does not link when building extensions

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue15951] string.Formatter returns str for empty unicode template

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue14978] distutils Extension fails to be created with unicode package names

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue8893] file.{read,readlines} behaviour on Solaris

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue17112] Some doctest-based tests fail when run with python -OO

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue25511] multiprocessing pool blocks SIGTERM from being handled

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue25377] Mention octal format of mode argument of os.chmod

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue22052] Comparison operators called in reverse order for subclasses with no override.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26433] urllib.urlencode() does not explain how to handle unicode

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue24256] threading.Timer is not a class

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue27037] Universal newline support for zipFile.ZipExtFile.read() is not working (deprecated?), and the missing functionality not documented

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue29323] Wrong documentation (Library) for unicode and str comparison

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue28403] Porting guide: disabling & warning on implicit unicode conversions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue8502] support plurals in pygettext

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue29882] Add an efficient popcount method for integers

2020-05-31 Thread Mark Dickinson
Mark Dickinson added the comment: A couple of other data points: - Swift has nonzeroBitCount: https://developer.apple.com/documentation/swift/int/2886050-nonzerobitcount - Rust has count_ones: https://doc.rust-lang.org/std/primitive.u64.html - Go's math/bits package has OnesCount - The

[issue34249] Full set of format codes applies to strftime only

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

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

2020-05-31 Thread Jim Fasarakis-Hilliard
Change by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40832] hi param in bisect module should not accept negative values

2020-05-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm -0 on this one. Originally, there were no range checks at all. This kept the code small and fast which was important because bisect() is a building block sometimes used in tight loops, random.choices() for example. Later, a test for negative lo

[issue40825] Add a "strict" parameter to csv.writer and csv.DictWriter

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is PyNumber_Check(). It is not direct analog of isinstance(obj, numbers.Number), it checks that the object can be explicitly converted to the real number (int or float). UUID and IPv4Address pass this check. As a narrow check we can use

[issue40830] Certain uses of dictionary unpacking raise TypeError

2020-05-31 Thread Mark Shannon
Change by Mark Shannon : -- keywords: -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13171] Bug in file.read(), can access unknown data.

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5184] Add -3 warning for extension types that implement tp_compare but not tp_richcompare

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue1294232] Error in metaclass search order

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue23557] Misc/SpecialBuilds.txt contains outdated information about PYMALLOC_DEBUG

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue29236] 'an ASCII string of one or more PEM-encoded certificates' needs to be unicode

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue35228] Index search in CHM help crashes viewer

2020-05-31 Thread Keelung Yang
Keelung Yang added the comment: It's reoccurable in Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)] on windows version 10.0.19041.264 Just need to open "Python 3.8 Manuals (64-bit)" --> index --> input 'p' on keyboard. -- nosy: +Keelung Yang

[issue13649] termios.ICANON is not documented

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue31743] Proportional Width Font on Generated Python Docs PDFs

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue29882] Add an efficient popcount method for integers

2020-05-31 Thread Mark Shannon
Mark Shannon added the comment: Why are calling a population count method "bit_count()"? That seems likely to cause confusion with "bit_length()". I might reasonable expect that 0b1000.bit_count() be 4, not 1. It does have 4 bits. Whereas 0b1000.population_count() is clearly 1. I have no

[issue36464] Python 2.7 build install fails intermittently with -j on MacOS

2020-05-31 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.10 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9326] Error message for incorrect number of (function) args is incorrect

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 3: TypeError: f() missing 1 required positional argument: 'a' -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue9329] freeze tool cannot handle JSON module properly

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: .decode('hex') no longer used in Python 3. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue15918] subprocess.Popen reads errpipe_read incorrectly, can result in short read

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue17191] pdb list shows unexpected code when stack frame includes a try / finally block

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue15276] unicode format does not really work in Python 2.x

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21547] '!s' formatting documentation bug

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue9196] Improve docs for string interpolation "%s" re Unicode strings

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue23514] multiprocessing documentation - little more examples for parallel computing

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> multiprocessing doc organization impedes understanding ___ Python tracker

[issue20296] PyArg_ParseTuple 2.X docs mention int for "t#", but "Py_ssize_t" for "w#", etc.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue24921] Operator precedence table in 5.15 should be highest to lowest precedence

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue29257] Possible error in discussion of Abstract Base Classes and abstract properties

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue29882] Add an efficient popcount method for integers

2020-05-31 Thread Mark Dickinson
Mark Dickinson added the comment: > Why are calling a population count method "bit_count()"? Naming things is hard, but I don't think this is an unreasonable name, and it's not without precedent. Java similarly has Integer.bitCount and BigInteger.bitCount. MySQL has BIT_COUNT. --

[issue19670] SimpleCookie Generates Non-RFC6265-Compliant Cookies

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue11315] unicode support in Cookie module

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40833] Clarify docstring of Path.rename

2020-05-31 Thread Ram Rachum
New submission from Ram Rachum : Writing the PR now. -- assignee: docs@python components: Documentation messages: 370459 nosy: brandtbucher, cool-RR, docs@python priority: normal severity: normal status: open title: Clarify docstring of Path.rename type: enhancement versions: Python

[issue33740] PyByteArray_AsString C-API description lacks the assurance, that the trailing null-byte is appended.

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue23019] pyexpat.errors wrongly bound to message strings instead of message codes

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: wont fix -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue37602] nonzero fixer problem

2020-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 -Python 2.7 ___ Python tracker ___

[issue17544] regex code re-raises exceptions on success

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When function sets an exception, it should return NULL. Otherwise the behavior of the interpreter is undefined, it can crash in debug build or developing mode. See for example

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2020-05-31 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, yeah. Perhaps we can add some buffering so that for directories with a small number of files (say < 1000) the FD is closed before recursing into it, while for large directories it keeps the FD open until the last block of 1000 DirEntries is read? It's

[issue40686] Compiler warnings in _zoneinfo.c on Windows build in 64-bit

2020-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Can you update the current status? Sorry, what do you mean by "current status"? Do you meant this issue or the status of that PR? -- ___ Python tracker

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is an interesting idea, but I afraid it will complicate the code too much, destroying the remnants of the initial elegant design. I am going to try to experiment with this idea after implementing other features, so it will not block them. For now we

[issue40788] Build issue Solaris 10 Sparc

2020-05-31 Thread Warren Hardy
Change by Warren Hardy : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17005] Add a topological sort algorithm

2020-05-31 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: It does seem out of place in functools, intensified by it's odd interjection among the other functools objects. Considering heapq and bisect exist as standalone modules, the idea that topological sorting could go in its own module wouldn't be

[issue40834] sending str via channel caused truncate on last character

2020-05-31 Thread SilentGhost
Change by SilentGhost : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22167] iglob() has misleading documentation (does indeed store names internally)

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, for the pattern 'a*/b*/c*' you will have an open file descriptor for every component with metacharacters: for a in scandir('.'): if fnmatch(a.name, 'a*'): for b in scandir(a.path): if fnmatch(b.name, 'b*'):

[issue4356] Add "key" argument to "bisect" module functions

2020-05-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +19799 pull_request: https://github.com/python/cpython/pull/20556 ___ Python tracker ___

[issue23885] urllib.quote horribly mishandles unicode as second parameter

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

[issue17005] Add a topological sort algorithm

2020-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Any suggestions for the new module? I assume we can move this to a new topsort/topological_sort or similar... What do people think? -- ___ Python tracker

[issue24048] remove_module() needs to save/restore exception state

2020-05-31 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that Serhiy backported the fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17005] Add a topological sort algorithm

2020-05-31 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Could it make sense to have this in the often proposed imath module? It's integers per se but Both number theory and graph theory are part of discrete mathematics so it may feel more at home there? -- ___ Python

[issue40825] Add a "strict" parameter to csv.writer and csv.DictWriter

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, converting Decimal to float can lose precision, so we cannot require this. PyNumber_Check() is already used for QUOTE_NONNUMERIC, so it would be logical to use it in determining that the object is a number in the cvs module. But now the problem is

[issue33618] Support TLS 1.3

2020-05-31 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue17005] Add a topological sort algorithm

2020-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: If we move it, I would prefer a new module that somehow makes clear the scope, something like graphutils or graphtheory or graph (although this las one will probably collide with many existing things). --

[issue40835] Incorrect handling for msgctxt in msgfmt.py

2020-05-31 Thread Doug Addy
New submission from Doug Addy : Running msgfmt.py with the attached po file will produce an incorrect context for the entry "test". Looking at the script, we require a comment to follow a contexted section for the context to be cleared. The gettext documentation makes clear that all

[issue17005] Add a topological sort algorithm

2020-05-31 Thread gaborbernat
gaborbernat added the comment: I like graphutils for what it's worth. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   >