[issue36851] Frame stack is not cleaned after execution is finished with return

2019-05-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f00828a742d2e88c910bdfd00f08fcd998554ba5 by Pablo Galindo in branch 'master': bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191) https://github.com/python/cpython/commit/f00828a742d

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread Matt Martz
New submission from Matt Martz : The behavior of how SSL certificate validation is handled was changed in https://bugs.python.org/issue31399 This introduced a new exception, ssl.SSLCertVerificationError, which is raised for any certificate validation error, instead of the previous exception

[issue36854] GC operates out of global runtime state.

2019-05-09 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +13130 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36310] pygettext3.7 Does Not Recognize gettext Calls Within fstrings

2019-05-09 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Eric, I'm CC'ing you on this issue because I'm not sure if you've considered f-strings and gettext and figured out a way to make them work together. If you have, I can look into adding support for extracting the strings to pygettext but at the moment, I'm

[issue24554] GC should happen when a subinterpreter is destroyed

2019-05-09 Thread Eric Snow
Eric Snow added the comment: FYI, issue #36854 is about moving GC runtime state from _PyRuntimeState to PyInterpreterState. However, that doesn't trigger any collection when the interpreter is finalized. So there is more to be done here. -- ___

[issue32679] concurrent.futures should store full sys.exc_info()

2019-05-09 Thread Brian Quinlan
Brian Quinlan added the comment: My understanding is that tracebacks have a pretty large memory profile so I'd rather not keep them alive. Correct me if I'm wrong about that. -- ___ Python tracker _

[issue36239] gettext: GNUTranslations doesn't parse properly comments in description

2019-05-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +13129 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36239] gettext: GNUTranslations doesn't parse properly comments in description

2019-05-09 Thread Julien Palard
Julien Palard added the comment: New changeset afd1e6d2f0f5aaf4030d13342809ec0915dedf81 by Julien Palard in branch 'master': bpo-36239: Skip comments in gettext infos (GH-12255) https://github.com/python/cpython/commit/afd1e6d2f0f5aaf4030d13342809ec0915dedf81 -- ___

[issue36864] Double Spaces in the documentation

2019-05-09 Thread Julien Palard
Julien Palard added the comment: Some people are liking the double space thing. Some are not. It's in the documentation style guide [1] and there's arond 20k use of it. I don't think we want to change it: modifing 18900 lines in the docs will make most opened PRs conflict, we don't want that

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-09 Thread Michael Blahay
Michael Blahay added the comment: For those that are wondering what is going on with PR 13181 and PR 13203, those are both for back porting the change to 3.7. The auto generated PR 13181 failed for an unknown reason and then the bot deleted the branch so the PR could not be taken any further

[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-05-09 Thread Nathaniel Gaertner
New submission from Nathaniel Gaertner : While looking at https://bugs.python.org/issue5758 I noticed that 'rt' support had been added to gzip and bz2 in 3.3, but FileInput still limited its mode options to 'r', 'rb', 'rU', and 'U'. It seems like 'rt' should be just fine here as well, and wou

[issue36859] sqlite3 dml statement detection does not account for CTEs

2019-05-09 Thread Ma Lin
Change by Ma Lin : -- nosy: +Ma Lin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue36864] Double Spaces in the documentation

2019-05-09 Thread Jules Lasne
Change by Jules Lasne : -- nosy: +matrixise, mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-09 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36864] Double Spaces in the documentation

2019-05-09 Thread Jules Lasne
New submission from Jules Lasne : Hello, I've come to open this issue today because of the apparent split there is in the documentation about double spaces after a period. Here is a link to an article explaining some of the issue https://www.writing-skills.com/one-space-two-full-stop Anyway,

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

2019-05-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13128 stage: -> patch review ___ Python tracker ___ ___ Python-bu

[issue30271] Make sqlite3 statement cache optional

2019-05-09 Thread Aviv Palivoda
Aviv Palivoda added the comment: I think we can close this issue and open a different one that will disable the cache implicitly on `set_authorizer()`. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30271] Make sqlite3 statement cache optional

2019-05-09 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue12178] csv writer doesn't escape escapechar

2019-05-09 Thread Alex Shpilkin
Change by Alex Shpilkin : -- nosy: +Alex Shpilkin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue36551] Optimize list comprehensions with preallocate size and protect against overflow

2019-05-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We can return to this issue if make the invocation of __length_hint__ much much faster. For example by adding the tp_length_hint slot. But currently it is too large change and his has negative effects. -- ___ Py

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-09 Thread rhubarbdog x
rhubarbdog x added the comment: This is when running is a shell which inherits from cmd.Cmd -- ___ Python tracker ___ ___ Python-bu

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-09 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) -Argument Clinic stage: -> test needed type: -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker ___ __

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-09 Thread rhubarbdog x
New submission from rhubarbdog x : I've found a bug with argparse and reported it upstream. `command --option source destination` works `command soucre destination --option` works but `command source --option destination` doesn't outputting the usage text block associated `do_command` method an

[issue25541] Wrong usage of sockaddr_un struct for abstract namespace unix sockets

2019-05-09 Thread anthony shaw
anthony shaw added the comment: The existing tests in place add the null-termination bytes in the test string: def testLinuxAbstractNamespace(self): address = b"\x00python-test-hello\x00\xff" with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as s1: s1.bind(

[issue25541] Wrong usage of sockaddr_un struct for abstract namespace unix sockets

2019-05-09 Thread anthony shaw
Change by anthony shaw : -- versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list ma

[issue25541] Wrong usage of sockaddr_un struct for abstract namespace unix sockets

2019-05-09 Thread anthony shaw
anthony shaw added the comment: thanks, your code example zero-pads the socket address, and looking at the socketmodule.c code it does some padding under certain circumstances. https://github.com/python/cpython/blob/master/Modules/socketmodule.c#L1318-L1330 The Unix man page specify the same

[issue36860] Inconsistent/Undocumented behavior with pathlib resolve and absolute on Windows

2019-05-09 Thread Eryk Sun
Eryk Sun added the comment: Windows resolve() is based on ntpath._getfinalpathname, which requires that the file exists and is accessible. resolve() defaults to non-strict behavior, which tries to resolve as much as possible by traversing the path in reverse and trying _getfinalpathname unti

<    1   2