[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36535] Windows build failure when use the code from the GitHub master branch

2019-04-05 Thread Manjusaka
Change by Manjusaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36535] Windows build failure when use the code from the GitHub master branch

2019-04-05 Thread Manjusaka
Manjusaka added the comment: Done,thx -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36521] Consider removing docstrings from co_consts in code objects

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: There is idea about reading docstring lazily, when func.__doc__ is accessed. I don't think the idea can be implemented by 3.8. But if we change code object now, I want new API can be used to implement this idea. One breaking change is better than two.

[issue36541] Make lib2to3 grammar more closely match Python

2019-04-05 Thread Tim Hatch
Change by Tim Hatch : -- pull_requests: +12627 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36541] Make lib2to3 grammar more closely match Python

2019-04-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12626 stage: -> patch review ___ Python tracker ___ ___

[issue36541] Make lib2to3 grammar more closely match Python

2019-04-05 Thread Tim Hatch
New submission from Tim Hatch : The grammar in lib2to3 is out of date and can't parse `:=` nor `f(**not x)` from running on real code. I've done a cursory `diff -uw Grammar/Grammar Lib/lib2to3/grammar.txt`, and would like to fix lib2to3 so we can merge into both fissix and blib2to3, to

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-05 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12625 stage: -> patch review ___ Python tracker ___ ___

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-05 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : This issue will serve to track development and PRs for the implementation of PEP 570: Python Positional-Only Parameters. -- assignee: pablogsal components: Interpreter Core messages: 339521 nosy: pablogsal priority: normal severity: normal

[issue32280] Expose `_PyRuntime` through a section name

2019-04-05 Thread Eric Snow
Change by Eric Snow : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36539] Distutils VC 6.0 Errors When Using mingw-w64 GCC

2019-04-05 Thread Dan Yeaw
New submission from Dan Yeaw : I am using the mingw-w64-x86_64-python3 in MSYS2 on Windows to package a PyGObject app. When I try to pip install the app, I am getting errors about the VC 6.0 isn't supported. It looks like setuptools is trying to patch distutils msvc. The msvc9compiler

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-04-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I realized that there is a nasty interaction between the trashcan and __del__: if you're very close to the trashcan limit and you're calling __del__, then objects that should have been deallocated in __del__ (in particular, an object involving self) might

[issue36538] _thread.interrupt_main() no longer interrupts Lock.wait

2019-04-05 Thread Gregory P. Smith
New submission from Gregory P. Smith : In Python 2.7 our threading implementation was so poor that a thread join ultimately called our lock wait implementation that busy looped polling and sleeping to check for a lock acquisition success. calling thread.interrupt_main() which is just

[issue36495] Out-of-bounds array reads in Python/ast.c

2019-04-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36529] Python from WindowsStore: can't install package using "-m pip"

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-05 Thread SilentGhost
SilentGhost added the comment: Can confirm also on 3.6, but this seems to be something particular to set_trace, when pdb is entered via post_mortem, the variable is available in locals(). -- nosy: +SilentGhost, barry ___ Python tracker

[issue36523] Add docstring to io.IOBase.writelines

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I assume that this can be backported even though it touches .c rather than .rst. -- versions: +Python 3.7 ___ Python tracker ___

[issue36523] Add docstring to io.IOBase.writelines

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified. >>> import io >>> io.IOBase.writelines.__doc__ >>> -- nosy: +terry.reedy title: missing docs for IOBase writelines -> Add docstring to io.IOBase.writelines ___ Python tracker

[issue36521] Consider removing docstrings from co_consts in code objects

2019-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: So we have the same issue with f.__name__ and f.__code__.co_name becoming unsynchronized. FWIW, I would prefer that the code docstring be co_doc, rather than hidden in co_constants, so that 'name' and 'doc' follow the same pattern. -- nosy:

[issue36532] Example of logging.formatter with new str.format style

2019-04-05 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Good catch, Vinay! Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36535] Windows build failure when use the code from the GitHub master branch

2019-04-05 Thread Steve Dower
Steve Dower added the comment: We added a new dependency. Run a build using PCbuild/build.bat and it will download it for you. Then building through VS should work again. -- ___ Python tracker

[issue36488] os.sendfile() on BSD, macOS don't return bytes sent on EINTR

2019-04-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: sendfile() on BSD/OSX is complicated by the headers/trailers args. You'll have to take that into account in the retry logic, adding unnecessary complexity. Since sendfile() may already return fewer bytes than requested (e.g. non-blocking sockets or big

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-05 Thread Saim Raza
New submission from Saim Raza : If pdb.set_trace() is the last statement in the first code snippet, variable 'err' is (wrongly?) excluded from locals(). Adding any code after the pdb.set_trace() statement makes 'err' available in locals. In [2]: try: ...: raise ValueError("I am

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented -> str.isspace() for U+00A0 and U+202F differs from document versions: -Python 3.5, Python 3.6 ___ Python tracker

[issue36490] Modernize function signature in Archiving section of shutil doc

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch title: Modernize function signature format in Archiving section of shutil doc -> Modernize function signature in Archiving section of shutil doc ___ Python tracker

[issue36488] os.sendfile() on BSD, macOS don't return bytes sent on EINTR

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: os.sendfile() on BSD and macOS does not return bytes sent on EINTR -> os.sendfile() on BSD, macOS don't return bytes sent on EINTR type: -> behavior ___ Python tracker

[issue36486] Bugs and inconsistencies in unicodedata

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36484] Can't reorder TLS 1.3 ciphersuites

2019-04-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-04-05 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Thanks for this feedback. Let me see how I can incorporate this in the PR. -- ___ Python tracker ___

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-04-05 Thread Eric Snow
Eric Snow added the comment: I should have added something like this earlier, but here are key points to consider covering: * "main" interpreter is the original, created when the runtime initializes * historically almost always the only Python interpreter in a process * this is changing

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Hugh Redelmeier
Change by Hugh Redelmeier : -- nosy: +hugh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6721] Locks in the standard library should be sanitized on fork

2019-04-05 Thread Hugh Redelmeier
Change by Hugh Redelmeier : -- nosy: +hugh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36525] Deprecate instancemethod

2019-04-05 Thread Christian Heimes
Christian Heimes added the comment: After some discussion we came to the conclusion that the API is still useful for some people. https://mail.python.org/pipermail/python-dev/2019-April/156986.html -- components: +Interpreter Core resolution: -> rejected stage: patch review ->

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg339506 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Ebizz Infotech
Ebizz Infotech added the comment: The best-recommended method is hiring php web development services. https://www.ebizzinfotech.com/php-web-development/ -- nosy: +ebizzinfotech ___ Python tracker

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread cagney
cagney added the comment: On Fri, 5 Apr 2019 at 05:02, Gregory P. Smith wrote: > > > Gregory P. Smith added the comment: > > A stdlib alternative to this whole mess would be to avoid acquiring the > logging locks before fork() as we currently do and just blindly re-initialize > all of them

[issue36532] Example of logging.formatter with new str.format style

2019-04-05 Thread Vinay Sajip
Vinay Sajip added the comment: But there is an example in the cookbook already: https://docs.python.org/3/howto/logging-cookbook.html#use-of-alternative-formatting-styles It's right there in the first code sample in that section. You might want to amend your change to point to this section

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread cagney
cagney added the comment: On Fri, 5 Apr 2019 at 04:15, Gregory P. Smith wrote: > > > New submission from Gregory P. Smith : > > I'm spawning a dicussion buried in the way too long thread of > https://bugs.python.org/issue6721 over here into its own specific issue to > treat as a 3.7 release

[issue18748] libgcc_s.so.1 must be installed for pthread_cancel to work

2019-04-05 Thread Zack Weinberg
Zack Weinberg added the comment: I have observed this problem in a production application using Python 3.5 and 3.6 (system-packaged interpreters from Ubuntu) and I would like to mention that this is an effective workaround: ``` import ctypes libgcc_s = ctypes.CDLL("libgcc_s.so.1") ```

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-04-05 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +12624 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33533] Provide an async-generator version of as_completed

2019-04-05 Thread Roman Evstifeev
Change by Roman Evstifeev : -- nosy: +Roman.Evstifeev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36534] tarfile: handling Windows (path) illegal characters in archive member names

2019-04-05 Thread Eryk Sun
Eryk Sun added the comment: _sanitize_windows_name() fails to translate the reserved control characters (0x01-0x1F) and backslash in names. What I've seen done in some cases (e.g. Unix network shares mapped to SMB) is to translate names using the private use area block, e.g. 0xF001 -

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35551] Encoding and alias issues

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- assignee: -> lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36536] is there a python implementation of the cpython commandline interpretor?

2019-04-05 Thread Larry Hastings
Larry Hastings added the comment: The Python bug tracker is not your personal resource for answering programming questions. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue36536] is there a python implementation of the cpython commandline interpretor?

2019-04-05 Thread wis
New submission from wis : this algorithm: https://github.com/python/cpython/blob/34ef64fe5947bd7e1b075c785fc1125c4e600cd4/Python/coreconfig.c#L1644 I need a python library that does that to fix this answer https://stackoverflow.com/a/55413882/4178053 I need to get the correct path of the

[issue36050] Why does http.client.HTTPResponse._safe_read use MAXAMOUNT

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +12623 stage: -> patch review ___ Python tracker ___ ___

[issue36050] Why does http.client.HTTPResponse._safe_read use MAXAMOUNT

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: Additionally, _safe_read calls fp.read() multiple times to handle EINTR. But EINTR is handled by socket module now (PEP 475). Now the function can be very simple. -- ___ Python tracker

[issue36256] parser module fails on legal input

2019-04-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: 3.6 only accepts security fixes at this point. -- ___ Python tracker ___ ___

[issue36050] Why does http.client.HTTPResponse._safe_read use MAXAMOUNT

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: issue1296004 is too old (512MB RAM machine!) and I can not confirm it. But I think it was caused by inefficient realloc() in CRT. See https://github.com/python/cpython/blob/6c52d76db8b1cb836c136bd6a1044e85bfe8241e/Lib/socket.py#L298-L303 _fileobject called

[issue14841] os.get_terminal_size() should check stdin as a fallback

2019-04-05 Thread daniel hahler
daniel hahler added the comment: Created a PR at https://github.com/python/cpython/pull/12697. It prefers stdin and stderr over stdout. I think stdin is most likely connected to a terminal, and wondered why ncurses uses stderr/stdout first, and only then stdin. stdin handling was added

[issue14841] os.get_terminal_size() should check stdin as a fallback

2019-04-05 Thread daniel hahler
Change by daniel hahler : -- keywords: +patch pull_requests: +12622 stage: -> patch review ___ Python tracker ___ ___

[issue36535] Windows build failure when use the code from the GitHub master branch

2019-04-05 Thread Manjusaka
New submission from Manjusaka : I use Visual Studio 2017 to build the source code from the master branch. But it failed. The output message shows that I lose my ffi.h. I find that the developer had removed the libffi_module directory under cpython/modules/_ctypes since

[issue36050] Why does http.client.HTTPResponse._safe_read use MAXAMOUNT

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36256] parser module fails on legal input

2019-04-05 Thread A. Skrobov
A. Skrobov added the comment: Is it intentional that the fix is not backported to 3.6 as well? -- ___ Python tracker ___ ___

[issue25451] tkinter: PhotoImage transparency methods

2019-04-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34090] Python function call optimization: avoid temporary tuple to pass **kwargs

2019-04-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: This might be solvable using PEP 580 by using METH_VARARGS instead of METH_FASTCALL for such functions. This would still require a temporary tuple for the positional args but no additional dict would need to be allocated. -- nosy: +jdemeyer

[issue25451] tkinter: PhotoImage transparency methods

2019-04-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 50866e9ed3e4e0ebb60c20c3483a8df424c02722 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406)

[issue35459] Use PyDict_GetItemWithError() instead of PyDict_GetItem()

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: Serhiy, can this issue be closed? -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list

[issue36534] tarfile: handling Windows (path) illegal characters in archive member names

2019-04-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +lars.gustaebel, paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue29209] Remove old-deprecated ElementTree features

2019-04-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: This should be closed. -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29202] Improve dict iteration

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29202] Improve dict iteration

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: New changeset f66e336f455b5a6bb0ca857d61c43be410d0df13 by Inada Naoki (Cheryl Sabella) in branch 'master': bpo-29202: improve dict iteration (GH-11900) https://github.com/python/cpython/commit/f66e336f455b5a6bb0ca857d61c43be410d0df13 --

[issue14017] Make it easy to create a new TextIOWrapper based on an existing

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: TextIOWrapper now has reconfigure() method. Can this issue be closed? -- nosy: +inada.naoki ___ Python tracker ___

[issue36534] tarfile: handling Windows (path) illegal characters in archive member names

2019-04-05 Thread Cristi Fati
New submission from Cristi Fati : Although tar is a Nix based (and mostly used) format, it gains popularity on Win too. As tarfile is running on Win, I think it should handle (work around) path incompatibilities, as zipfile (`ZipFile._sanitize_windows_name`) does. Applies to all branches.

[issue36496] Local variables can be used uninitialized in _PyPreConfig_Read()

2019-04-05 Thread STINNER Victor
STINNER Victor added the comment: Fixed by commit 6a8c3139ae9ada89d4a95985ec7cf8bb7d03bc01. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36496] Local variables can be used uninitialized in _PyPreConfig_Read()

2019-04-05 Thread STINNER Victor
STINNER Victor added the comment: Thanks for your bug report and fix Brad Larsen ;-) -- ___ Python tracker ___ ___

[issue36301] Add _Py_PreInitialize() function

2019-04-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6a8c3139ae9ada89d4a95985ec7cf8bb7d03bc01 by Victor Stinner in branch 'master': bpo-36301: Fix _PyPreConfig_Read() compiler warning (GH-12695) https://github.com/python/cpython/commit/6a8c3139ae9ada89d4a95985ec7cf8bb7d03bc01 --

[issue36404] Document PendingDeprecationWarning is not so useful.

2019-04-05 Thread miss-islington
miss-islington added the comment: New changeset 86fbe0287dd774022fd2b6c2dcbfbb5573a0b874 by Miss Islington (bot) in branch '3.7': bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning (GH-12505)

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Now to back up: Why was this application using fork() in a threaded application at all? That is a fundamental flaw. Should we be doing work to support things that so far merely _happen_ to work on such broken designs? Another alternative for the

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: A stdlib alternative to this whole mess would be to avoid acquiring the logging locks before fork() as we currently do and just blindly re-initialize all of them afterwards under the assumption that they "can't" be protecting anything in a newly forked

[issue36404] Document PendingDeprecationWarning is not so useful.

2019-04-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +12621 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36404] Document PendingDeprecationWarning is not so useful.

2019-04-05 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36404] Document PendingDeprecationWarning is not so useful.

2019-04-05 Thread Inada Naoki
Inada Naoki added the comment: After discussion on ML, I just recommend DeprecationWarning over PendingDeprecationWarning in this time. PendingDeprecationWarning is not deprecated for now. -- title: Document PendingDeprecationWarning as deprecated -> Document

[issue36404] Document PendingDeprecationWarning as deprecated

2019-04-05 Thread Inada Naoki
New submission from Inada Naoki : New changeset 176d26364bb67801fa522f52f20cbe44420d6942 by Inada Naoki in branch 'master': bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning (GH-12505) https://github.com/python/cpython/commit/176d26364bb67801fa522f52f20cbe44420d6942

[issue34396] Certain methods that heap allocated subtypes inherit suffer a 50-80% performance penalty

2019-04-05 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: OK, makes sense. Also super() calls I guess: you can write super().__getitem__(x) but not super()[x] (although the latter *could* be implemented if we wanted to). I see two ways of fixing this: 1. Make wrapper descriptors faster, removing the need for the

[issue36301] Add _Py_PreInitialize() function

2019-04-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12620 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2019-04-05 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue in Python 3.8 with bpo-36443: commit d929f1838a8fba881ff0148b7fc31f6265703e3d Author: Victor Stinner Date: Wed Mar 27 18:28:46 2019 +0100 bpo-36443: Disable C locale coercion and UTF-8 Mode by default (GH-12589) I'm not sure if it

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Within the logging module we could go beyond using a WeakSet and maintain an ordering. But we'd need to allow a way for Handler subclasses to indicate what order matters; that'd require a new API (not suitable for 3.7) An ordering itself may be

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2019-04-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12619 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: That custom DebugHandler's emit() implementation that calls into one or more sub-handlers suggests that libreswan _might_ be able to fix it in the custom DebugHandler by implementing custom acquire() and release() methods... BUT that is a fundamentally

[issue6721] Locks in the standard library should be sanitized on fork

2019-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks for the debugging details! I've filed https://bugs.python.org/issue36533 to specifically track this potential regression in the 3.7 stable branch. lets carry on there where the discussion thread isn't too long for bug tracker sanity. --

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-05 Thread Gregory P. Smith
New submission from Gregory P. Smith : I'm spawning a dicussion buried in the way too long thread of https://bugs.python.org/issue6721 over here into its own specific issue to treat as a 3.7 release blocker for a rollback or repair decision before 3.7.4.

[issue36532] Example of logging.formatter with new str.format style

2019-04-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip versions: -Python 3.5, Python 3.6, Python 3.9 ___ Python tracker ___