[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

2018-09-10 Thread Tal Einat
Tal Einat added the comment: New changeset d53f1cabe8837697df4acb70c9c6537461b5eeda by Tal Einat in branch '3.7': [3.7] bpo-34621: fix uuid.UUID (un)pickling compatbility with older Python versions (<3.7) (GH-9133)

[issue34588] traceback formatting can drop a frame

2018-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +8588 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34588] traceback formatting can drop a frame

2018-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d545869d084e70d4838310e79b52a25a72a1ca56 by Benjamin Peterson in branch 'master': bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) https://github.com/python/cpython/commit/d545869d084e70d4838310e79b52a25a72a1ca56

[issue34588] traceback formatting can drop a frame

2018-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +8587 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34616] implement "Async exec"

2018-09-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > I think the first thing is to add async "modes" to compile: in particular > "async-exec" and "async-single". These would be like the current "exec" and > "single" modes respectively, except that they act like the code is inside an > "async def", so

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-10 Thread William Grzybowski
William Grzybowski added the comment: I can do it if you feel the need. Can this same issue be used? Will the new PR require another NEWS entry? -- ___ Python tracker ___

[issue30977] reduce uuid.UUID() memory footprint

2018-09-10 Thread Tal Einat
Tal Einat added the comment: New changeset 54752533b2ed1c898ffe5ec2e795c6910ee46a39 by Tal Einat in branch 'master': bpo-30977: rework code changes according to post-merge code review (GH-9106) https://github.com/python/cpython/commit/54752533b2ed1c898ffe5ec2e795c6910ee46a39 --

[issue30977] reduce uuid.UUID() memory footprint

2018-09-10 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

2018-09-10 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +8585 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2018-09-10 Thread Ben Spiller
Ben Spiller added the comment: Hi it's been a few years now since this was reported and it's still a problem, any chance of a fix for this? The API gives the impression that if you pass python strings to the XML API then the library will generate valid XML. It takes care of the

[issue34421] Cannot install package with unicode module names on Windows

2018-09-10 Thread Julien Malard
Julien Malard added the comment: Thanks! Will give it a try and reference this conversation here as background. -- ___ Python tracker ___

[issue22807] uuid.uuid1() should use uuid_generate_time_safe() if available

2018-09-10 Thread Tal Einat
Tal Einat added the comment: The fix for issue30977 did fix the unpickling in older versions. It was only applied to the master (i.e. 3.8) branch, though. I've created issue34621 to deal with this separately. -- ___ Python tracker

[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

2018-09-10 Thread Tal Einat
New submission from Tal Einat : This affects only 3.7, where the new SafeUUID enum was introduced. This was fixed on the master branch (3.8) while implementing issue30977. Fixing this should simply require defining similar __getstate__ and __setstate__ methods as in 3.8. --

[issue34620] Octal byte literals with a decimal value > 255 are silently truncated

2018-09-10 Thread Dan Snider
New submission from Dan Snider : >>> b'\542\571\564\545\563', b'\142\171\164\145\163' (b'bytes', b'bytes') All the C compilers I know of at the very least generate a warning when one tries to assign an oct literal >= '\400' to a byte. And that's because it's nonsense when bytes have 8 bits,

[issue18233] SSLSocket.getpeercertchain()

2018-09-10 Thread chaen
chaen added the comment: There is another very valid use case which is even described by an RFC: https://www.ietf.org/rfc/rfc3820.txt And openssl supports this RFC. These proxy certificates are heavily used in the world of high energy physics computing, and having the get_peer_cert_chain

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-10 Thread MatteoL
Change by MatteoL : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34600] python3 regression ElementTree.iterparse() unable to capture comments

2018-09-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34619] Typo in docs.python.jp

2018-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I think translations use Github issues (https://github.com/python/python-docs-ja/issues). https://www.python.org/dev/peps/pep-0545/#language-team tells me "Redirect issues posted on b.p.o to the correct GitHub issue tracker

[issue34616] implement "Async exec"

2018-09-10 Thread Nathaniel Smith
Nathaniel Smith added the comment: I think the first thing is to add async "modes" to compile: in particular "async-exec" and "async-single". These would be like the current "exec" and "single" modes respectively, except that they act like the code is inside an "async def", so "await" is

[issue34475] functools.partial objects have no __qualname__ attribute

2018-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems __repr__ call to partial object has qualname but I think it always returns "partial". Ref : https://github.com/python/cpython/blob/0afada163c7ef25c3a9d46ed445481fb69f2ecaf/Lib/functools.py#L276 >>> import functools >>> int.__qualname__

[issue26093] __qualname__ different when calling generator object w/ functions.partial

2018-09-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34475] functools.partial objects have no __qualname__ attribute

2018-09-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2