[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 84de34e39eb9e49b2ae691c6f67df8d7da3561de by Vinay Sajip in branch 'master': bpo-32934: Clarified meaning of 'capacity' for BufferingHandler and MemoryHandler. (GH-14498)

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread Eryk Sun
Eryk Sun added the comment: >> subprocess._active[0]._handle.Close() > > Why would you do that? You should not access the private _active list, > nor access the private _handle attribute. I understand that it's a way > to trigger such bug, but is it possible to trigger this bug without >

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 72cd653c4ed7a4f8f8fb06ac364b08a97085a2b5 by Victor Stinner (Miro Hrončok) in branch 'master': bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-14506)

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14326 pull_request: https://github.com/python/cpython/pull/14510 ___ Python tracker ___

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14325 pull_request: https://github.com/python/cpython/pull/14509 ___ Python tracker ___

[issue37468] Don't install wininst*.exe on non-Windows platforms

2019-07-01 Thread STINNER Victor
New submission from STINNER Victor : bdist_wininst only works on Windows: see bpo-10945 and commit 72cd653c4ed7a4f8f8fb06ac364b08a97085a2b5. So $PREFIX/lib/python3.9/distutils/command/wininst-*.exe are useless on Linux (for example). Attached PR modify "make install" to not longer install

[issue37468] Don't install wininst*.exe on non-Windows platforms

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14327 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14511 ___ Python tracker ___

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: Follow-up issue: bpo-37468 "Don't install wininst*.exe on non-Windows platforms". -- ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-07-01 Thread Nick Coghlan
Change by Nick Coghlan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> compile error ___ Python tracker ___

[issue36168] DOC: Fix capitalization in string.rst

2019-07-01 Thread Sanyam Khurana
Sanyam Khurana added the comment: Mariatta, I see it also needs a backport to 3.8 We can close it once the backport is completed. -- nosy: +CuriousLearner ___ Python tracker

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-01 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14318 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14502 ___ Python tracker ___

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/cython/cython/pull/3009 was merged. Is it part of Cython 0.29.11 released yesterday? -- ___ Python tracker ___

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > I've opened a PR thet removes the support for bdist_wininst on non-Windows. > Apparently, it was broken since the beginning of Py3k anyway. The support can > be reintroduced once it is actually fixed (or never). It would be better to use the Unicode (wide

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14323 pull_request: https://github.com/python/cpython/pull/14507 ___ Python tracker ___

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14324 pull_request: https://github.com/python/cpython/pull/14508 ___ Python tracker ___

[issue37468] Don't install wininst*.exe on non-Windows platforms

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: Debian doesn't distribute wininst*.exe binaries in their python* packages. debian/rules explicitly removes thesee files: find $(d) -name 'wininst*.exe' | xargs -r rm -f -- RHEL7 issue closed as WONTFIX: https://bugzilla.redhat.com/show_bug.cgi?id=1566459

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > The example is just emulating a problem from someone else's code that's > closing our handle. Typically this situation occurs because the code is > holding onto a handle value for a kernel object (File, Section, Job, Process, > Thread, Event, etc) that

[issue37469] Make it explicit that logging QueueHandler / QueueListener accepts a SimpleQueue.

2019-07-01 Thread Martijn Pieters
New submission from Martijn Pieters : The implementation of the logging.handler.QueueHandler and logging.handler.QueueListener does not make use of the task tracking API of queues (queue.task_done(), queue.join()) nor does it care if the queue is unbounded (queue.full(), catching the Full

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 471d785dc759eb2e9c06f077f323cf136d32506b by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-32934: Clarified meaning of 'capacity' for BufferingHandler and MemoryHandler. (GH-14498) (GH-14508)

[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-07-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 3db5c5c7630af92336a8c0a269e05607cd68f9e7 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-32934: Clarified meaning of 'capacity' for BufferingHandler and MemoryHandler. (GH-14498) (GH-14507)

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread miss-islington
miss-islington added the comment: New changeset 45c10da40912e04c0d0de02af4b23438ed0de49b by Miss Islington (bot) in branch '3.7': bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-14506) https://github.com/python/cpython/commit/45c10da40912e04c0d0de02af4b23438ed0de49b

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread miss-islington
miss-islington added the comment: New changeset be5bb52f5f2d4da4b9d6f42399f7275ab47910f3 by Miss Islington (bot) in branch '3.8': bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-14506) https://github.com/python/cpython/commit/be5bb52f5f2d4da4b9d6f42399f7275ab47910f3

[issue37461] email.parser.Parser hang

2019-07-01 Thread Marcin Niemira
Marcin Niemira added the comment: Sounds like there is an infinite loop here: ``` Pdb) > /usr/lib/python3.7/email/_header_value_parser.py(2370)get_parameter() -> v.append(token) (Pdb) > /usr/lib/python3.7/email/_header_value_parser.py(2365)get_parameter() -> while value: ``` the

[issue37470] Make it explicit what happens when using a bounded queue with QueueHandler

2019-07-01 Thread Martijn Pieters
New submission from Martijn Pieters : The documentation doesn't make it explicit what happens if you use a bounded queue together with logging.handlers.QueueHandler. If the queue is bounded in size and attempts are made to add logrecords faster than a queue listener removes them, then the

[issue33234] Improve list() pre-sizing for inputs with known lengths

2019-07-01 Thread Nicholas Musolino
Change by Nicholas Musolino : -- pull_requests: +14316 pull_request: https://github.com/python/cpython/pull/14432 ___ Python tracker ___

[issue37406] Disable runtime checks in release mode

2019-07-01 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Python's exception mechanism is a much better way to signal and handle such > errors at the application level. I disagree. There is a difference between exceptions which are possible in normal usage of the code and real bugs, which shouldn't ever happen.

[issue37467] print_exception() crash when lxml 4.2.5 raises a parser error

2019-07-01 Thread STINNER Victor
New submission from STINNER Victor : Using attached sf.py and sf.xml, I can crash Python. lxml builds a fake traceback to inject the XML filename the XML line number where the parsing error occurs. The problem is that the filename is a bytes object, whereas print_exception() expects the

[issue37467] print_exception() crash when lxml/xmlsec raises a parser error

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: The bug can be reproduced on the master branch of Python. I tested with versions: * lxml 4.3.4 * xmlsec 1.3.3 The filename comes from a lxml.etree.XMLSyntaxError exception which inherits from SyntaxError. The bug can be reproduced without lxml nor

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread aeros167
aeros167 added the comment: For any future issues, is it more appropriate to leave the issue status on pending until the proposal is approved? This may not apply if the issue was specifically mentioned or requested by a core developer, but it may be better to use pending for any original

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: Hi Kyle, First off, thanks for bringing this up, and for taking our feedback so well! > Before attempting to create any more original issues, I'll work on existing > issues and the suggestions of others to develop a better practical > understanding of the

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: >> one would expect passing prompt=None to result in no prompt displayed > I wouldn't. That's not how getpass works now, or input. Ah, thanks for the input, Steve. In that case, this should likely not be changed. --

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-01 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cb083f7cdf604c1d9d264f387f9e8846bc953eb3 by Łukasz Langa (Miss Islington (bot)) in branch '3.8': bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959) (#14505)

[issue37199] Test suite fails when Ipv6 is unavailable

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7 is still supported, if it's a bugfix, 3.7 should be fixed as well: https://devguide.python.org/#status-of-python-branches Christian Heimes asked for a change after the PR was merged:

[issue36390] IDLE: Refactor formatting methods from editor

2019-07-01 Thread Tal Einat
Tal Einat added the comment: Looking at the code yet again, there are several places where replacing classifyws() as I suggested would make it clunkier. So let's leave it there, at least in editor.py. Still, the classifyws() implementation can be greatly simplified. See PR GH-14500 (with

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread Eryk Sun
Eryk Sun added the comment: >> If one of the processes in that list is gone, then (...) "The handle >> is invalid" (...) will prevent you from creating any new processes >> with Popen after that > > It's the first time that I see such bug report. IIRC it's the second time I've seen that

[issue36390] IDLE: Refactor formatting methods from editor

2019-07-01 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +14317 pull_request: https://github.com/python/cpython/pull/14500 ___ Python tracker ___

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-01 Thread Petr Viktorin
Petr Viktorin added the comment: > https://github.com/cython/cython/pull/3009 was merged. (to master, so far) > Is it part of Cython 0.29.11 released yesterday? It should be, see: https://cython.readthedocs.io/en/latest/src/changes.html#id2 --

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread Miro Hrončok
Miro Hrončok added the comment: I've opened a PR thet removes the support for bdist_wininst on non-Windows. Apparently, it was broken since the beginning of Py3k anyway. The support can be reintroduced once it is actually fixed (or never). https://github.com/python/cpython/pull/14506

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: I started a discussion on the Packaging list: "Deprecate bdist_wininst" https://discuss.python.org/t/deprecate-bdist-wininst/1929 -- ___ Python tracker

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-07-01 Thread Enrico Zini
New submission from Enrico Zini : In https://docs.python.org/3.9/c-api/arg.html, in the documentation for parsing argument, there is: s# (str, read-only bytes-like object) [const char *, int or Py_ssize_t] In my amd64 system, `Py_ssize_t` is a different type than `int`, and passing a

[issue37464] multiple comparison

2019-07-01 Thread Chandan Kumar
New submission from Chandan Kumar : a=1.0 b=0.0 c=0.0 if (a> d and b): print('hi') else: print("bye") its going to else part a=1.0 b=0.1 c=0.2 then its going to if part a==1.0 b=0 c=0.1 then again its going to else part -- assignee: docs@python components: Documentation

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > To me, it doesn't seem dangerous to backport that, but I would love to hear > what Eryk and others think :) In my experience, any change is dangerous :-) The initial bug doesn't contain any reproducer. I'm talking about: > If one of the processes in that

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-07-01 Thread Inada Naoki
Inada Naoki added the comment: See note in https://docs.python.org/3.9/c-api/arg.html#strings-and-buffers """ Note: For all # variants of formats (s#, y#, etc.), the type of the length argument (int or Py_ssize_t) is controlled by defining the macro PY_SSIZE_T_CLEAN before including

[issue37464] multiple comparison

2019-07-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: a=1.0 b=0.0 c=0.0 if (a> d and b): print('hi') else: print("bye") d is not defined here and it throws a NameError for me. Can you please attach the full scripts that can be used to reproduce the behavior in the report. -- nosy:

[issue37464] multiple comparison

2019-07-01 Thread SilentGhost
SilentGhost added the comment: Your issue seems to be related to evaluation of 0.0 as falsy value. See documentation at https://docs.python.org/3/library/stdtypes.html#truth-value-testing -- assignee: docs@python -> nosy: +SilentGhost -docs@python resolution: -> not a bug stage:

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > It's a potential security bug although low severity. What is the worst that can happen with this issue? Other the client doesn't validate the cert at all, and so this issue has no impact, or the client validates the cert and trusts the CA, but the host

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-01 Thread myungsekyo
New submission from myungsekyo : I think it is more efficient to cast `variable prompt` into string after its validation in _raw_input(). Because If it is None or empty string then it is not used. ``` import timeit MAX = 1000 start = timeit.default_timer() for i in range(MAX):

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: This is a subtle change with the potential to affect more than just performance. Also, in this case, the performance is likely negligible in every actual use-case. This might actually be more correct, though. For example, one would expect passing prompt=None to

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-01 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 4a2edc34a405150d0b23ecfdcb401e7cf59f4650 by Petr Viktorin (Pablo Galindo) in branch 'master': bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959)

[issue37406] Disable runtime checks in release mode

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: FYI I'm finishing an article to explain the problem that I am trying to solve here. Sorry for the delay, I will reply later :-) -- ___ Python tracker

[issue37464] multiple comparison

2019-07-01 Thread Chandan Kumar
Change by Chandan Kumar : -- type: enhancement -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37458] ast: Different FormattedValue expressions have same col_offset information

2019-07-01 Thread Eric V. Smith
Eric V. Smith added the comment: I'm working on overhauling how these are calculated. But it's complex, and is taking a while. -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-07-01 Thread Enrico Zini
Enrico Zini added the comment: Oh! Fair enough, I had missed it. Does the note also involve `Py_BuildValue`? If so, the documentation of `Py_BuildValue` should probably be updated; if not, I think it would be clearer if the note mentioned that it only applies to parsing, not building,

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread Tal Einat
Tal Einat added the comment: I agree with Serhiy: In this case, it seems to me that "explicit is better than implicit" should be the guiding principle. -- nosy: +taleinat ___ Python tracker

[issue37467] print_exception() crash when lxml 4.2.5 raises a parser error

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48450/sf.xml ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread Pierre Glaser
Change by Pierre Glaser : -- keywords: +patch pull_requests: +14319 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14503 ___ Python tracker

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-01 Thread Steven D'Aprano
Steven D'Aprano added the comment: I don't think that will work. If the user passes a non-string which is falsey, your patch will attempt to write it directly to the stream without converting it to a string. Try ``_raw_input(0)`` as an example. Tal Einat: > one would expect passing

[issue37462] Default starting directory for os.walk()

2019-07-01 Thread aeros167
aeros167 added the comment: Oh okay, that's fair enough. I can definitely understand that assigning the current directory as the default does not provide a significant change in improved functionality, and it is not implicit that os.walk() would use the current directory as the default

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : -- title: print_exception() crash when lxml/xmlsec raises a parser error -> sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename ___ Python tracker

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14320 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14504 ___ Python tracker ___

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14321 pull_request: https://github.com/python/cpython/pull/14505 ___ Python tracker ___

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > subprocess._active[0]._handle.Close() Why would you do that? You should not access the private _active list, nor access the private _handle attribute. I understand that it's a way to trigger such bug, but is it possible to trigger this bug without

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-01 Thread Miro Hrončok
Change by Miro Hrončok : -- keywords: +patch pull_requests: +14322 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14506 ___ Python tracker

[issue37470] Make it explicit what happens when using a bounded queue with QueueHandler

2019-07-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37469] Make it explicit that logging QueueHandler / QueueListener accepts a SimpleQueue.

2019-07-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-07-01 Thread Nick Coghlan
Nick Coghlan added the comment: ImportError sounds right to me. We already raise that just above this for the "no dots at all" case, so also raising it for the "not enough dots" case makes more sense than leaving them different. -- ___ Python

[issue37454] Clarify docs for math.log1p()

2019-07-01 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37471] mmap module, add MAP_ALIGNED_SUPER FreeBSD constant

2019-07-01 Thread Kubilay Kocak
Change by Kubilay Kocak : -- title: mmap module, adding new constant -> mmap module, add MAP_ALIGNED_SUPER FreeBSD constant ___ Python tracker ___

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > Say a library calls CreateEventW and gets handle 32. It passes this handle to > some other library, which uses the event and closes the handle when it no > longer needs it. But due to a miscommunication in the documentation, the > first library thinks the

[issue37471] mmap module: add MAP_ALIGNED_SUPER FreeBSD constant

2019-07-01 Thread Kubilay Kocak
Kubilay Kocak added the comment: Thanks for clarifying Victor -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37471] mmap module: add MAP_ALIGNED_SUPER FreeBSD constant

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: > Can this be backported to earlier 3.x's and 2.7? No, a new constant is a new feature. If we add it to Python 3.7.4, it would mean that an application written with 3.7.4 will fail on 3.7.3 which would be surprising and bad. -- nosy: +vstinner

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14331 pull_request: https://github.com/python/cpython/pull/14515 ___ Python tracker ___

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread miss-islington
miss-islington added the comment: New changeset 2683ded568b24fff1139edd9127a349f432292a6 by Miss Islington (bot) in branch '3.8': bpo-37467: Fix PyErr_Display() for bytes filename (GH-14504) https://github.com/python/cpython/commit/2683ded568b24fff1139edd9127a349f432292a6 -- nosy:

[issue37471] mmap module, adding new constant

2019-07-01 Thread Kubilay Kocak
New submission from Kubilay Kocak : Thanks David! Can this be backported to earlier 3.x's and 2.7? -- ___ Python tracker ___ ___

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset f9b7457bd7f438263e0d2dd1f70589ad56a2585e by Victor Stinner in branch 'master': bpo-37467: Fix PyErr_Display() for bytes filename (GH-14504) https://github.com/python/cpython/commit/f9b7457bd7f438263e0d2dd1f70589ad56a2585e --

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-07-01 Thread Eryk Sun
Eryk Sun added the comment: > Without accessing private attributes, I don't see how someone can > discover the private handle. So for me, it's more a serious bug in an > application, no? Blindly closing random handles doesn't sound like a > good idea to me. Say a library calls CreateEventW

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ec6c1bd0491590f3c0e2908a7b2dfb91b6acdae9 by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503) https://github.com/python/cpython/commit/ec6c1bd0491590f3c0e2908a7b2dfb91b6acdae9

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14328 pull_request: https://github.com/python/cpython/pull/14512 ___ Python tracker ___

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset e224d2865aa0f021b25d68de9a6c2be617341f4c by Antoine Pitrou (Miss Islington (bot)) in branch '3.8': bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503) (GH-14512)

[issue37471] mmap module, adding new constant

2019-07-01 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules, FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 14329 severity: normal status: open title: mmap module, adding new constant versions: Python 3.9 ___ Python tracker

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2019-07-01 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewing the thread, we never actually commented on thautwarm's proposal in https://bugs.python.org/issue12782#msg327875 that aims to strip out any INDENT, NEWLINE, and DEDENT tokens that appear between the opening "with" keyword and the statement header

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14330 pull_request: https://github.com/python/cpython/pull/14514 ___ Python tracker ___

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is not affected: const char *filename, *text; int lineno, offset; if (!parse_syntax_error(value, , , , , )) PyErr_Clear(); else {

[issue37472] Remove Lib/test/outstanding_bugs.py

2019-07-01 Thread STINNER Victor
New submission from STINNER Victor : Lib/test/outstanding_bugs.py was created by: commit c4e2a9b70ac49cdd8bcc9ca60afac20162f84f24 Author: Georg Brandl Date: Sun Jan 8 14:32:19 2006 + Add a test file (which isn't run by regrtest) for bugs which aren't fixed yet.

[issue37472] Remove Lib/test/outstanding_bugs.py

2019-07-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14332 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14516 ___ Python tracker ___

[issue37473] importlib: Remove libregrtest hack: "We import importlib *ASAP* in order to test #15386"

2019-07-01 Thread STINNER Victor
New submission from STINNER Victor : Lib/test/regrtest.py starts with: # We import importlib *ASAP* in order to test #15386 import importlib If there is a bug to test, would it be possible to write a dedicated test, rather than putting the test... in the code of the test runner? Code added

[issue36924] Simplify implementation of classmethod_descriptor.__call__

2019-07-01 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37454] Clarify docs for math.log1p()

2019-07-01 Thread Tim Peters
Tim Peters added the comment: Mark's analysis is spot-on - good eye :-) Here under 3.7.3 [MSC v.1916 64 bit (AMD64)] on win32, in the original script it makes no difference at all for negative "small x" (where, as Mark said, `1 - random.random()` is exactly representable):

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8cbffc4d96d1da0fbc38da6f34f2da30c5ffd601 by Victor Stinner in branch '3.7': bpo-37467: Fix PyErr_Display() for bytes filename (GH-14504) (GH-14515) https://github.com/python/cpython/commit/8cbffc4d96d1da0fbc38da6f34f2da30c5ffd601 --

[issue37369] Issue with pip in venv on Powershell in Windows

2019-07-01 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37412] os.getcwdb() doesn't implement PEP 528 (UTF-8) on Windows

2019-07-01 Thread Steve Dower
Steve Dower added the comment: This is fixed now, right? The buildbots seem happy at least. I'll close. -- assignee: -> vstinner resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33408] Enable AF_UNIX support in Windows

2019-07-01 Thread Steve Dower
Change by Steve Dower : -- title: AF_UNIX is now supported in Windows -> Enable AF_UNIX support in Windows ___ Python tracker ___

[issue37199] Test suite fails when Ipv6 is unavailable

2019-07-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: Victor, backporting to 3.7 makes merge conflicts. Do you think that I should backport manually? -- ___ Python tracker ___

[issue37472] Remove Lib/test/outstanding_bugs.py

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: I removed the file in the master branch. I don't think that it's worth it to remove it from other branches, so I just close the issue. FYI I found this file while working on PR 14518: commit 8f4ef3b019ce380022018587571b0f970e668de3 (upstream/master,

[issue37231] Optimize calling special methods

2019-07-01 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36926] Implement methoddescr_call without _PyMethodDef_RawFastCallDict

2019-07-01 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Superseded by PR 13781 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37467] sys.excepthook (PyErr_Display) does crash with SyntaxError which has a bytes filename

2019-07-01 Thread STINNER Victor
STINNER Victor added the comment: Ok, it's not fixed in all affected maintained branches, I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36904] Implement _PyStack_UnpackDict() with a single allocation

2019-07-01 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +14333 pull_request: https://github.com/python/cpython/pull/14517 ___ Python tracker ___

[issue36168] DOC: Fix capitalization in string.rst

2019-07-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +14334 pull_request: https://github.com/python/cpython/pull/14519 ___ Python tracker ___

  1   2   3   >