[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka versions: -Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue27397] email.message.Message.get_payload(decode=True) raises AssertionError that "should never happen"

2018-06-10 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +7205 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Tal Einat
Tal Einat added the comment: New changeset 1b85c71a2136d3fa6a1da05b27b1fe4e4b8ee45e by Tal Einat in branch 'master': bpo-33770: improve base64 exception message for encoded inputs of invalid length (#7416) https://github.com/python/cpython/commit/1b85c71a2136d3fa6a1da05b27b1fe4e4b8ee45e --

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Tal Einat
Tal Einat added the comment: New changeset 4ab4695388fb9ec03a14d93e90ce50d832a920ec by Tal Einat in branch 'master': bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) https://github.com/python/cpython/commit/4ab4695388fb9ec03a14d93e90ce50d832a920ec -- ___

[issue32400] inspect.isdatadescriptor false negative

2018-06-10 Thread Dong-hee Na
Dong-hee Na added the comment: @Serhiy Storchaka This issue can be closed due to PR 1959 -- keywords: +patch nosy: +corona10, serhiy.storchaka pull_requests: +7206 stage: -> patch review ___ Python tracker

[issue32400] inspect.isdatadescriptor false negative

2018-06-10 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: -7206 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread Tal Einat
Tal Einat added the comment: Is this a bug? Are passwords containing non-ASCII characters supposed to be supported? If so, which encoding should be assumed for the password? Since it needs to be base64-encoded, it must be encoded into bytes. -- nosy: +taleinat __

[issue32561] Add API to io objects for non-blocking reads/writes

2018-06-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: os.preadv() and os.pwritev() are great but to my understanding one essential piece is still missing in order to effectively do non-blocking file IO and avoid using a thread pool: being notified when the file fd is readable/writable. select() and epoll() o

[issue32400] inspect.isdatadescriptor false negative

2018-06-10 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread STINNER Victor
STINNER Victor added the comment: It seems like the change broke compilation on Windows, but I'm not sure: http://buildbot.python.org/all/#/builders/12/builds/959 (Link target) -> python3.def : error LNK2001: unresolved external symbol PyExceptionClass_Name [D:\buildarea\3.

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-06-10 Thread Martin Panter
Martin Panter added the comment: What is your use case, Poul-Henning? It looks like the module has never set the file mode, at least since it was added to Python in 1994. I suggest just remove the dead code and fix the documentation. At least you shouldn’t make this change in bug fix releases

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-10 Thread STINNER Victor
STINNER Victor added the comment: > pause_reading and resume_reading became idempotent only in 3.7 Do you consider that it's a new feature or a bugfix? Should we backport this change to 3.6? Currently, race.py fails with an error because of the 3.6 behaviour. (I modified asyncio to be able

[issue32493] UUID Module - FreeBSD build failure

2018-06-10 Thread STINNER Victor
STINNER Victor added the comment: > As noted on PR 7511 and PR 7567, I have merged Michael's configure.ac fixes > for testing for uuid_enc_be availability (independent of platform) that were > incorrect in earlier commits for this issue. Merged for 3.7.0rc1 and master > (3.8). Thanks, every

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-06-10 Thread STINNER Victor
STINNER Victor added the comment: > It looks like the module has never set the file mode, at least since it was > added to Python in 1994. I suggest just remove the dead code and fix the > documentation. You cannot just remove the mode parameter without a deprecation period. Right now, the

[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread Lars Pötter
Lars Pötter added the comment: I wanted to login to an existing account so the password works OK in Thunderbird. Here in Germany it is recommended for safe passwords to use the German umlauts(ßÄÖÜäöü). So code page 437 vs 850 or UTF-8 ? If I could pass in the bytes then I could figure out th

[issue33587] inspect.getsource performs unnecessary filesystem stat call

2018-06-10 Thread Tal Einat
Tal Einat added the comment: Moving the linecache check up before the two others seems like a simple and safe optimization. On the other hand, I'm not sure calling getmodule() before checking if the file exists would be faster in many cases. Pankaj, could you also include the script you ran

[issue32561] Add API to io objects for non-blocking reads/writes

2018-06-10 Thread Nathaniel Smith
Nathaniel Smith added the comment: The idea here is *not* to avoid using a thread pool in general. When the data is on disk, using a thread pool is (a) unavoidable, because of how operating system kernels are written, and (b) basically fine anyway, because the overhead added by threads is sw

[issue32561] Add API to io objects for non-blocking reads/writes

2018-06-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Gotcha. Thanks for clarifying. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread Tal Einat
Tal Einat added the comment: We definitely need an expert to weigh in on this. -- nosy: +giampaolo.rodola ___ Python tracker ___ __

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Christian Tismer
Change by Christian Tismer : -- pull_requests: +7207 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Christian Tismer
Christian Tismer added the comment: @Victor I cannot test on Windows because I'm in vacation. But it is very likely similar to bpo-33614 . The three missing symbols which are listed in python3.def do clearly come into existence when the limited API is active. -- __

[issue33819] Mention "ordered mapping" instead of "ordered dictionary" in email module

2018-06-10 Thread Andrés Delfino
New submission from Andrés Delfino : IMHO, we should replace the "ordered dictionary" with "ordered mapping" now that regular dictionaries are ordered. I'm proposing "ordered mapping" instead of "dictionary" because there's no actual dictionary behind; it's just a "conceptual model". PR chang

[issue33819] Mention "ordered mapping" instead of "ordered dictionary" in email module

2018-06-10 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7208 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-10 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +7209 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-10 Thread Tal Einat
Tal Einat added the comment: PR ready for review. -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-10 Thread Yury Selivanov
Yury Selivanov added the comment: Since it a minor change we can reconsider it as s bug fix. Feel free to make a pr. -- ___ Python tracker ___ ___

[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread R. David Murray
R. David Murray added the comment: Duplicate of #29750. TLDR: smtplib needs to be fixed to handle binary passwords, and probably to use utf-8 as the default encoding for unicode passwords. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed

[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray
Change by R. David Murray : -- nosy: +JustAnother1, giampaolo.rodola, taleinat ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray
R. David Murray added the comment: Note: it is definitely the case, regardless of what the RFC says, that binary passwords need to be supported. utf-8 should probably be used as the default encoding for string passwords, rather than ascii. See also #33741. -- _

[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray
Change by R. David Murray : -- stage: -> needs patch versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue32108] configparser bug: section is emptied if you assign a section to itself

2018-06-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +7210 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy
New submission from Terry J. Reedy : Master issue for future IDLE entries in Doc/whatsnew/3.6.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE' with subsubsections 'New in 3.6.z:'. This issue starts with 3.6.6. It will close after the last 3.6 maintenance re

[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #33820, master issue for future IDLE entries in Doc/whatsnew/3.7.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since 3.6.0. This

[issue33822] IDLE subsection of What's New 3.8

2018-06-10 Thread Terry J. Reedy
New submission from Terry J. Reedy : Following #33821, master issue for IDLE entries in Doc/whatsnew/3.8.rst. This doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'. The initial unlabeled subsubsection includes important enhancements to IDLE since 3.7.0. Because of

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey
Tey added the comment: For the record, it does not fail on 3.x because _PyBytes_Resize() checks if the "string" needs to be resized (and returns if not) before checking its ref count. Maybe something similar should be done in _PyString_Resize() for 2.x. -- __

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7211 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey
Tey added the comment: BTW, problem does appear in 3.4 as it's only been fixed in 3.5+ as a fix for issue #25270 -- ___ Python tracker ___ ___

[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7212 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e226eb71575ad22a6779b02941377665831cfff2 by Terry Jan Reedy in branch 'master': bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589) https://github.com/python/cpython/commit/e226eb71575ad22a6779b02941377665831cfff2 --

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7213 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Python++
New submission from Python++ : ProcessPoolExecutor cannot specify the number of cores when running the Muti-Sub Event Loops, which results in the resulting statistics of the last code run cannot be promised to be separated. I'm deep hoping some genius can propose a solution and fix these prob

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7214 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Python++
Change by Python++ : Added file: https://bugs.python.org/file47637/BUG for concurrent.futures(Found by william).py ___ Python tracker ___ _

[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 222f7f40339238b3d2c803849c75e682725449d7 by Terry Jan Reedy in branch 'master': bpo-33821: Update idlelib subsection of What's New 3.7 (#7590) https://github.com/python/cpython/commit/222f7f40339238b3d2c803849c75e682725449d7 -- __

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- stage: patch review -> commit review versions: +Python 3.6 ___ Python tracker ___ ___ Python-bug

[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7215 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Yury Selivanov
Yury Selivanov added the comment: > which results in the resulting statistics of the last code run cannot be > promised to be separated. I'm sorry but I cannot parse your message and the attached code snippet. Please try to formulate the actual bug/feature request more clearly. --

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 953d300ffad108b036f483307b04b09872b162d9 by Miss Islington (bot) in branch '3.7': bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589) https://github.com/python/cpython/commit/953d300ffad108b036f483307b04b09872b162d9 -- nos

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 8ecd7f6d528703242b3c77aba5c91df13abe863c by Miss Islington (bot) in branch '3.6': bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589) https://github.com/python/cpython/commit/8ecd7f6d528703242b3c77aba5c91df13abe863c -- __

[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 1ed8294924a9a47fb6f98f88cc7340a5512c75c3 by Miss Islington (bot) in branch '3.7': bpo-33821: Update idlelib subsection of What's New 3.7 (GH-7590) https://github.com/python/cpython/commit/1ed8294924a9a47fb6f98f88cc7340a5512c75c3 -- nos

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7216 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 820c53ac612e9c4b3cb3e831537a15d5e953bbc0 by Terry Jan Reedy in branch 'master': bpo-33820: Fix IDLE What's New typo (#7594) https://github.com/python/cpython/commit/820c53ac612e9c4b3cb3e831537a15d5e953bbc0 -- _

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7217 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7218 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +7219 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 3da01813c83d23922798b398bc00f465593c80da by Miss Islington (bot) in branch '3.7': bpo-33820: Fix IDLE What's New typo (GH-7594) https://github.com/python/cpython/commit/3da01813c83d23922798b398bc00f465593c80da -- _

[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 969759e11ecfbd662642ba4fb23159faf56ee859 by Miss Islington (bot) in branch '3.6': bpo-33820: Fix IDLE What's New typo (GH-7594) https://github.com/python/cpython/commit/969759e11ecfbd662642ba4fb23159faf56ee859 -- _

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Miro Hrončok
New submission from Miro Hrončok : On 3.6, setting LANG to C did not affect the --version behavior: $ python3.6 --version Python 3.6.5 $ LANG=C python3.6 --version Python 3.6.5 On 3.7.0b5 it does. $ python3.7 --version Python 3.7.0b5 $ LANG=C python3.7 --version Python 3.7.0b5 (default, Jun

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Ned Deily
Ned Deily added the comment: Odd. I see the same behavior with the python.org macOS builds so it's not just Fedora. -- nosy: +ned.deily ___ Python tracker ___ ___

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset af4b0130d44bf8a1ff4f7b46195d1dc79add444a by Terry Jan Reedy in branch 'master': bpo-33610: Update IDLE Code Context doc entry (GH-7597) https://github.com/python/cpython/commit/af4b0130d44bf8a1ff4f7b46195d1dc79add444a --

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7221 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7220 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: General Update: We have done 1, 3, 7, 8, 9, 11, 17, 21. Very nice. A re-organized list of the remainder (with old numbers). Docs: D1: idle.rst subsection on Code Context (19, see #33642). D2: What's New in 3.6.6 and 3.7.0 (20). Menu M1: put Code Context an

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 2adfeef1853262b207a1993e523f0f3ba708dd9f by Miss Islington (bot) in branch '3.7': bpo-33610: Update IDLE Code Context doc entry (GH-7597) https://github.com/python/cpython/commit/2adfeef1853262b207a1993e523f0f3ba708dd9f -- nosy: +miss-

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington
miss-islington added the comment: New changeset 08a1b133925f50903691c77fa9c23b618abc89f2 by Miss Islington (bot) in branch '3.6': bpo-33610: Update IDLE Code Context doc entry (GH-7597) https://github.com/python/cpython/commit/08a1b133925f50903691c77fa9c23b618abc89f2 -- ___

[issue23831] tkinter canvas lacks of moveto method.

2018-06-10 Thread Matthias Kievernagel
Change by Matthias Kievernagel : -- nosy: +mkiever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32493] UUID Module - FreeBSD build failure

2018-06-10 Thread Michael Felt
Michael Felt added the comment: I was not aware that _uuid was new to python3-3.7. I thought it had been around for a long time. Bpo-28009 goes back two years and i was unaware of uuid_create(). Would it be easier to split it into 3 issues? One for unixdll, one for netstat, and one for te

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 877b23202b7e7d4f57b58504fd0eb886e8c0b377 by Alexander Belopolsky in branch 'master': bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) https://github.com/python/cpython/commit/877b23202b7e7d4f57b58504fd0eb886e8c0b377 ---

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7222 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33462] reversible dict

2018-06-10 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi INADA thanks for the benchmark, I did both of them too and got the same results (though I had to apply https://github.com/python/performance/pull/41 to get the performance module working). Should I apply your patch in PR 6827? -- __

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7223 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue13153] IDLE 3.x on Windows crashes when pasting non-BMP unicode

2018-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: AFAIK, the big new feature of tcl/tk 9.0 is intended to be full unicode support. We can hope that 9.0 appears in time to be included in the 3.8 installers. Until then, I think filenames, user program output, and clipboard content should be checked for the

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7225 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7224 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7226 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 053d6c5ce246e6ba9c046467b02a0b6ba4abb8bf by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33770: improve base64 exception message for encoded inputs of invalid length (GH-7416) (GH-7602) https://github.com/python/cpython/commit/053d6c5ce246e

[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Ned Deily
Ned Deily added the comment: I backported Tal's fix for 3.7.0rc1. I am less certain about backporting to 3.6 and 2.7 at this stage of their lives but I don't have a strong feeling about it so I'll leave the issue open for that. -- ___ Python trac

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 298eb07faa66da9c588bd82db14a6eef64167ede by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (#7604) https://github.com/python/cpython/commit/298eb07faa66da9c588bd82db14a6eef64167ede

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 040d4a7b5899b9635c6997c5ecb91f8299f0b352 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (GH-7603) https://github.com/python/cpython/commit/040d4a7b5899b9635c6997c5ecb91f8299f0b352

[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily
Ned Deily added the comment: Backported for 3.7.0rc1 and 3.6.6rc1. Thanks, all! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 037e9125527d4a55af566f161c96a61b3c3fd998 by Alexander Belopolsky (Miss Islington (bot)) in branch '3.7': bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7600) https://github.com/python/cpython/commit/037e9125527d4a55af56

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 1d4089b5d208ae6f0bd256304fd77f04c0b4fd41 by Alexander Belopolsky (Miss Islington (bot)) in branch '3.6': bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7601) https://github.com/python/cpython/commit/1d4089b5d208ae6f0bd2

[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33818] Make PyExceptionClass_Name returning a const string

2018-06-10 Thread Ned Deily
Ned Deily added the comment: While I think the change makes sense aesthetically, I do not see a compelling reason why such a user interface change should be introduced to 3.7 at literally the last moment. Let's do it for 3.8, please. -- versions: -Python 3.7 __

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7227 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 8398713cea0eb17b013f25f86bef47c7e5e63139 by Ned Deily (Christian Tismer) in branch 'master': bpo-33738: Address review comments in GH #7477 (GH-7585) https://github.com/python/cpython/commit/8398713cea0eb17b013f25f86bef47c7e5e63139 --

[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7228 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue33462] reversible dict

2018-06-10 Thread INADA Naoki
INADA Naoki added the comment: My patch was quick and dirty. Please read _collections_abc module and follow the style. (you need to use temporary variables.) And new reviter types can be registered to Iterator ABC too. -- INADA Naoki -- ___ Pytho

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 2487f30d5529948ace26559e274d7cac6abcd1a8 by Ned Deily (Steve Weber) in branch 'master': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) https://github.com/python/cpython/commit/2487f30d5529948ace26559e274d7cac6abcd1a8 --

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7229 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7230 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Ned Deily
Ned Deily added the comment: Sigh! I was hoping we could get this in for 3.7.0 but I think we have run out of time and we really should not be making potential user-visible API changes at this last minute. I did notice the new compile warning for the Windows non-debug build but I overlooke

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset ec4343c3b4c0e0a7500122fac616e6488c0ab842 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) (GH-7606) https://github.com/python/cpython/commit/ec4343c3b4c0e0a7500122fac616

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 3e121581d008a780b8a9f1bcda5966cf0c06f6d5 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) (GH-7607) https://github.com/python/cpython/commit/3e121581d008a780b8a9f1bcda59

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: As I noted in the discussion on PR 6731, I think there should be a test for this so we don't break it again. But, since it seems that the problem has affected a number of users and projects and since the fix is easy and easily testable manually, I decided to mer

[issue33825] Change mentions of "magic" attributes to "special"

2018-06-10 Thread Andrés Delfino
New submission from Andrés Delfino : PR makes all documentation use the same term. -- assignee: docs@python components: Documentation messages: 319263 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Change mentions of "magic" attributes to "special" vers

[issue33825] Change mentions of "magic" attributes to "special"

2018-06-10 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7231 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue26510] [argparse] Add required argument to add_subparsers

2018-06-10 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7233 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-06-10 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +7232 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

  1   2   >