[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread Ned Deily
Ned Deily added the comment: New changeset 19b2890014d3098147d16475c492a47a43893768 by Ned Deily (Dong-hee Na) in branch '3.5': [3.5] [security] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2887) https://github.com/python/cpython/commit/19b2890014d30981

[issue30616] Cannot use functional API to create enum with zero values

2017-07-26 Thread Dong-hee Na
Changes by Dong-hee Na : -- pull_requests: +2941 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2017-07-26 Thread Naotoshi Seo
Naotoshi Seo added the comment: Any progress here? I want `%:z` strftime. By the way, ruby strptime works as: ``` irb(main):008:0* Time.strptime('2015-01-01T01:01:01+09:00', '%Y-%m-%dT%H:%M:%S%z') => 2015-01-01 01:01:01 +0900 irb(main):009:0> Time.strptime('2015-01-01T01:01:01+0900', '%Y-%m-%

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2017-07-26 Thread Wonsup Yoon
Wonsup Yoon added the comment: Any updates? I need this fix for my project. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue31025] io.BytesIO: no way to get the length of the underlying buffer without copying data

2017-07-26 Thread Arthur Darcet
Arthur Darcet added the comment: BytesIO is heavily optimised to avoid copying bytes when it can. For case (1), if you want to modify the data, then there is no need to actually copy it before overwriting it, because no-one else is using it For case (2), if you want to change something, then yo

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2942 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31036] building the python docs requires the blurb module

2017-07-26 Thread Matthias Klose
Matthias Klose added the comment: > I'm not sure I understand your position. External tools are only > permissible if Debian packages exist for them? for a package build to use them, yes. > And, it's not "core python", it's the Python documentation, which has > always depended on external tool

[issue30576] http.server should support HTTP compression (gzip)

2017-07-26 Thread Pierre Quentel
Pierre Quentel added the comment: @martin.panter For HTTP/1.0, since chunked transfer is not supported, and storage in a temporary file is also not an option, I see 2 possible solutions : - give up compressing big files - it would be a pity, compression is actually made for them... - compress

[issue31043] Tests running twice.

2017-07-26 Thread Utkarsh Upadhyay
New submission from Utkarsh Upadhyay: Due to a rebase artifact (sorry!), the tests for the datetime module are being run twice: test_datetime.py: [...] cls.tearDownClass = tearDownClass all_test_classes.extend(test_classes) all_test_classes.extend(test_classes) def test_main(

[issue31043] Tests running twice.

2017-07-26 Thread Utkarsh Upadhyay
Changes by Utkarsh Upadhyay : -- pull_requests: +2943 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31043] Tests running twice.

2017-07-26 Thread INADA Naoki
INADA Naoki added the comment: New changeset ede9084476f88f5a86c7eaaac33cdd938e4cce93 by INADA Naoki (Utkarsh Upadhyay) in branch 'master': bpo-31043: fixed test_datetime run twice. (GH-2891) https://github.com/python/cpython/commit/ede9084476f88f5a86c7eaaac33cdd938e4cce93 -- nosy: +i

[issue31043] Tests running twice.

2017-07-26 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x

2017-07-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x

2017-07-26 Thread STINNER Victor
New submission from STINNER Victor: The test failed in the build 632 (Wed Jul 26 10:47:01 2017) for the first time. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/632/steps/test/logs/stdio == CPython 3.7.0a0 (heads/master:ede9084476, Jul 26 2017, 20:49:3

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset c52cea49544621b612c7f17f45a0c2b8b61a6c67 by Victor Stinner (Utkarsh Upadhyay) in branch '3.6': [3.6] bpo-30822: Fix testing of datetime module. (GH-2530) (GH-2783) (#2816) https://github.com/python/cpython/commit/c52cea49544621b612c7f17f45a0c2b8b6

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: Ok, I merged the change in the 3.6 branch. I decided to not merge the 3.5 change, since it's now too late: 3.5 slowly enters a new security-only fixes: https://github.com/python/cpython/pull/2815 Thanks Utkarsh Upadhyay for your work on datetime, not only this

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-26 Thread Utkarsh Upadhyay
Utkarsh Upadhyay added the comment: Thanks Victor! \o/ Secretly, I'm just happy that my legacy will not be a commit which broke all (?) the build-bots and had to be reverted. :P W.r.t. the docs; in retrospect, that'll probably have a larger impact on the end-users and is less likely to cause

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: > Secretly, I'm just happy that my legacy will not be a commit which broke all > (?) the build-bots and had to be reverted. :P Reverting is a new policy that we decided last June: https://mail.python.org/pipermail/python-committers/2017-June/004588.html Sorry

[issue30188] test_nntplib: random EOFError in setUpClass()

2017-07-26 Thread INADA Naoki
Changes by INADA Naoki : -- pull_requests: +2944 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8c2d4cf092c5f0335e7982392a33927579c4d512 by Victor Stinner (Dong-hee Na) in branch '3.6': [3.6] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2886) https://github.com/python/cpython/commit/8c2d4cf092c5f0335

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: @corona10: Cool, 3.3, 3.5, 3.6 and master are fixed. Would you mind to create also backports for 2.7 and 3.4, please? -- ___ Python tracker ___

[issue31044] FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: The test fails on Debug but also Non-Debug buildbots, master and 3.6 branches. It looks more like a change on the buildbot, maybe a FreeBSD upgrade? -- title: FAIL: test_makedev (test.test_posix.PosixTester) on AMD64 FreeBSD CURRENT Debug 3.x -> FAIL:

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > What about rejecting also NUL byte? I don't it would make any difference at this point. -- ___ Python tracker ___

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread Dong-hee Na
Changes by Dong-hee Na : -- pull_requests: +2945 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread Dong-hee Na
Changes by Dong-hee Na : -- pull_requests: +2946 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: Victor> What about rejecting also NUL byte? Giampaolo Rodola'> I don't it would make any difference at this point. I asked because I read that filenames containing newlines can be escaped using \n\0. So it seems like "embedded" NUL bytes have a special semantic

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: AFAIK its only use case is to escape \r and \n. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue30876] SystemError on importing module from unloaded package

2017-07-26 Thread Dmitry K
Dmitry K added the comment: test_concurrency (test.test_import.ImportTests) seems to fail, too, with a similar error: ModuleNotFoundError: No module named 'package' Apparently, this happens because the LIBSUBDIRS variable in Makefile doesn't include all the subdirectories of test/test_imp

[issue31021] Clarify programming faq.

2017-07-26 Thread Marco Buttu
Marco Buttu added the comment: Terry thanks for opening this issue. The title of the FAQ makes me think that the section wants to clarify why -22 // 10 returns -3. I am a bit confused, maybe because -22//10 == -3 does not surprise me, and so I do not understand the point :( This seems to me

[issue31045] Add a language switch to the Python documentation

2017-07-26 Thread Julien Palard
New submission from Julien Palard: A language switch, like the actual version switch, should allow to change from a translation to another. I mean jumping from docs.python.org/3/ to docs.python.org/fr/3/ and so on. It's already discussed in PEP 545. -- messages: 299234 nosy: mdk prior

[issue31025] io.BytesIO: no way to get the length of the underlying buffer without copying data

2017-07-26 Thread R. David Murray
R. David Murray added the comment: So you are saying that BytesIO has code that checks that its argument only has a single reference and modifies the string in place when it can if so? You can't depend on that in any other implementation of Python, and shouldn't depend on it in CPython either

[issue30188] test_nntplib: random EOFError in setUpClass()

2017-07-26 Thread INADA Naoki
INADA Naoki added the comment: New changeset 067931dd95ddfa34297be9c602a796d9f8d9bea3 by INADA Naoki in branch 'master': bpo-30188: fix TypeError in test_nntplib (GH-2892) https://github.com/python/cpython/commit/067931dd95ddfa34297be9c602a796d9f8d9bea3 -- nosy: +inada.naoki

[issue31038] test_runpy causes running all Python tests when run directly

2017-07-26 Thread Nick Coghlan
Nick Coghlan added the comment: This is a result of a known quirk in the way sys.path entry execution works: the search for "__main__.py" isn't constrained specifically to sys.path[0]. That's almost entirely a bad thing, but I'd been ignoring it because I hadn't thought of a nice way of fixing

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2017-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: Alexander, can you summarize the status of this issue? Maybe we can move forward for 3.7? -- ___ Python tracker ___ _

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-07-26 Thread Nick Coghlan
Nick Coghlan added the comment: Checking how we do it elsewhere, `NB_SLOT(nb_rshift)` looks like the right replacement. That's a compiler-dependent struct field offset calculation, so a discrepancy there could easily be the cause of a Windows-only failure. --

[issue31040] mimetypes.add_type should complain when you give it an undotted ext

2017-07-26 Thread Daniel Watkins
Changes by Daniel Watkins : -- pull_requests: +2948 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2017-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This issue is waiting for the final decision on #5288. If sub-minute offsets support is accepted, I still don't think we need %::z because %:z can simply add non-zero :seconds as needed. There are also some review comments on the latest patch that have

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: I haven't reviewed the code, but given Tim Peters' response (which matches my own gut feeling) we should just allow/support tz offsets with second-precision (and deal with the default formatting issues in a backwards compatible way, of course). Hope the patc

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2017-07-26 Thread Guido van Rossum
Guido van Rossum added the comment: Please do! I have no opinion on %::z but maybe you can find inspiration in the Zen of Python. :-) -- ___ Python tracker ___ _

[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset e5eae474c431af2880a68f6329840b9288fc4bc1 by Victor Stinner (Dong-hee Na) in branch '2.7': [2.7] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2894) https://github.com/python/cpython/commit/e5eae474c431af288

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset ec9a7127b8196dc5ef27c5ee2772ecea7cbb32df by Victor Stinner in branch '2.7': [3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881) (#2883) https://github.com/python/cpython/commit/ec9a7127b8196dc5ef27c5ee2772ecea7cbb32df ---

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: I fixed multiprocessing.Queue.get(timeout) in 2.7, 3.6 and master. I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31019] multiprocessing.Pool should join "dead" processes

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: I fixed multiprocessing.Process.is_alive() in 2.7, 3.6 and master. I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31019] multiprocessing.Pool should join "dead" processes

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset b65cb8a35641675d44af84c9b18c40c6094f03ef by Victor Stinner in branch '2.7': bpo-31019: Fix multiprocessing.Process.is_alive() (#2875) (#2882) https://github.com/python/cpython/commit/b65cb8a35641675d44af84c9b18c40c6094f03ef -- _

[issue30778] test_bsddb3 crash on x86 Windows XP 2.7

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0cba38d207dc233707b09787e6618cfca44cc2b7 by Victor Stinner in branch '2.7': bpo-30778: Skip test_bsddb3 on Windows XP (#2877) https://github.com/python/cpython/commit/0cba38d207dc233707b09787e6618cfca44cc2b7 -- _

[issue30778] test_bsddb3 crash on x86 Windows XP 2.7

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: test_bsddb3 is now skipped on Windows XP (on Python 2.7). -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset e7bc7aac3d4a7d92aa5913006b0198820882ca59 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fix a warning in Python/getargs.c (#2890) https://github.com/python/cpython/commit/e7bc7aac3d4a7d92aa5913006b0198820882ca59 --

[issue30916] Pre-build OpenSSL and Tcl/Tk for Windows

2017-07-26 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: -2894 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30916] Pre-build OpenSSL and Tcl/Tk for Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: That buildbot has recovered with other changes, so I'm closing this. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker __

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- priority: low -> versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue30876] SystemError on importing module from unloaded package

2017-07-26 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: Please ignore my last message, I didn't notice the existing pull request... Sorry. -- ___ Python tracker ___ __

[issue31046] ensurepip does not honour the value of $(prefix)

2017-07-26 Thread Xavier de Gaye
New submission from Xavier de Gaye: When cross-compiling, the local Python interpreter that is used to run ensurepip may not have the same value of sys.prefix as the value of the 'prefix' variable that is set in the Makefile. With the following values used to install Python locally for a later

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2017-07-26 Thread Christoph Reiter
New submission from Christoph Reiter: On Windows os.path.abspath(" ") == " " While that's not a valid Windows path, similar invalid paths like "" or "?" etc all produce an absolute path. Tested on 2.7 and 3.6 -- components: Windows messages: 299253 nosy: lazka, paul.moore, steve.dower

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- pull_requests: +2949 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Most of the code supporting arbitrary offsets has already been committed. The only part left was to remove the checks and implement printing. -- ___ Python tracker _

[issue30778] test_bsddb3 crash on x86 Windows XP 2.7

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: Reopen since we got a similar issue on Windows 7: http://buildbot.python.org/all/builders/x86%20Windows7%202.7/builds/242/steps/test/logs/stdio (...) 0:35:07 [398/403] test_generators passed -- running: test_bsddb3 (1233 sec) 0:35:07 [399/403] test_MimeWriter p

[issue31048] ResourceWarning in test_asyncio.test_events..ProactorEventLoopTests.test_create_server_ssl_verify_failed

2017-07-26 Thread Segev Finer
New submission from Segev Finer: >python -X tracemalloc=30 -m unittest >test.test_asyncio.test_events.ProactorEventLoopTests.test_create_server_ssl_verify_failed Running Debug|x64 interpreter... lib\asyncio\sslproto.py:330: ResourceWarning: unclosed transport source=self) Object allocated at

[issue31049] macOS Python package receipts do not have version numbers

2017-07-26 Thread Shea Craig
New submission from Shea Craig: The Python installer package for macOS is versioned, however, the included sub packages have no version information. This results in the receipts having no version. Many enterprise software management tools rely on the receipt information to determine whether so

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread Nir Soffer
Changes by Nir Soffer : -- pull_requests: +2950 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread Nir Soffer
Changes by Nir Soffer : -- pull_requests: +2951 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread Nir Soffer
Changes by Nir Soffer : -- pull_requests: +2952 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31004] IDLE, configdialog: Factor out FontTab class from ConfigDialog

2017-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE: configdialog -- factor out Tracer subclass ___ Python tracker ___ ___ Python-bugs-

[issue31004] IDLE, configdialog: Factor out FontTab class from ConfigDialog

2017-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +csabella ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue31049] macOS Python package receipts do not have version numbers

2017-07-26 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Issue24502 has already reported this issue. Feel free to add yourself to the Nosy List there. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> OS X installer provides flat sub-packages with no v

[issue24502] OS X installer provides flat sub-packages with no version numbers

2017-07-26 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue31050] IDLE, configdialog: Factor out GenTab class from ConfigDialog

2017-07-26 Thread Terry J. Reedy
New submission from Terry J. Reedy: Followup to 31003, tests, and 30853, tracers, similar to 31004, FontTab. After creating new class, we can change names without worry about clashing with names elsewhere in ConfigDialog. -- messages: 299259 nosy: csabella, terry.reedy priority: normal

[issue31050] IDLE, configdialog: Factor out GenTab class from ConfigDialog

2017-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy components: +IDLE stage: -> needs patch type: -> enhancement versions: +Python 3.6, Python 3.7 ___ Python tracker ___ _

[issue31036] building the python docs requires the blurb module

2017-07-26 Thread Larry Hastings
Larry Hastings added the comment: We changed *revision control systems* "within subminor version updates". If your argument is "you mustn't add a new tool used to build the documentation until 3.7", you're not going to win that argument, you should try another tactic. -- ___

[issue31036] building the python docs requires the blurb module

2017-07-26 Thread Larry Hastings
Larry Hastings added the comment: And, in the past, I'm not aware that the availability of tools in the Debian ecosystem has been a strong determining factor in the choice of tooling for CPython. In particular, I'm not aware of any tool in the Debian package ecosystem that would solve the pro

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-07-26 Thread Terry J. Reedy
New submission from Terry J. Reedy: Fix bugs and enhance the page. The three little frames are too much, and in the wrong order. Proposal: Window to open at startup: O Shell O Editor Initial size:Width [_] Height [] When run code in editor: ... (see bpo-19042 for possibl

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In comment for 31003, Cheryl pointed to https://stackoverflow.com/questions/4140437/interactively-validating-entry-widget-content-in-tkinter#4140988 That prompted me to grep for 'validatecommand'. "validatecommand=is_int" is used on the extension tab. The fu

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 31003, Cheryl pointed out that loading helplist could use enumerate. https://github.com/python/cpython/pull/2859#pullrequestreview-52461722 -- ___ Python tracker ___

[issue31051] IDLE, configdialog, General tab: re-arrange, test user entries

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Common code in tests: test_helplist_item_actions functions have common code that could be factored out into a non-test_ method (especially if settings not needed for one of them is added, like setting anchor). The listbox simulated click code in test_source_se

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2017-07-26 Thread Eryk Sun
Eryk Sun added the comment: The generic abspath implementation could be moved into the genericpath module, where it will be common to both posixpath and ntpath: def abspath(path): """Return an absolute path.""" path = os.fspath(path) if not isabs(path): i

[issue30916] Pre-build OpenSSL and Tcl/Tk for Windows

2017-07-26 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2953 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 679b566622ec811c5e5d580f6a538f7a43006e05 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fix some Windows x64 compiler warnings (#2492) https://github.com/python/cpython/commit/679b566622ec811c5e5d580f6a538f7a43006e05 -- ___

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 5cff6379797967faabbb834a9eb154c3f0839489 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fixed _ssl module warnings (#2495) https://github.com/python/cpython/commit/5cff6379797967faabbb834a9eb154c3f0839489 -- ___

[issue31003] IDLE: Add tests for help sources on configdialog general tab

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Coverage up to 63%. Will update on another issue as update here will require another CI round. -- ___ Python tracker ___ _

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-07-26 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue30853] IDLE: configdialog -- factor out Tracer subclass

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 45bf723c6c591ec56a18dad8150ae89797450d8b by Terry Jan Reedy (csabella) in branch 'master': bpo-30853: IDLE: Factor a VarTrace class from configdialog.ConfigDialog. (#2872) https://github.com/python/cpython/commit/45bf723c6c591ec56a18dad8150ae897

[issue30853] IDLE: configdialog -- factor out Tracer subclass

2017-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2954 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30853] IDLE: configdialog -- factor out Tracer subclass

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will include new blurb with PR that uses this with font vars. I might do this tonight. Test coverage of class is 100%. -- stage: test needed -> needs patch versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2955 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 29094cec7cddd561cac16ce93443ca72d740de4d by Victor Stinner (Nir Soffer) in branch '2.7': bpo-30980: Fix double close in asyncore.file_wrapper (#2789) (#2900) https://github.com/python/cpython/commit/29094cec7cddd561cac16ce93443ca72d740de4d -

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 25de5baf3eaebddbf879aacf49c0f614f922dc42 by Victor Stinner (Nir Soffer) in branch '3.6': bpo-30980: Fix double close in asyncore.file_wrapper (#2789) (#2898) https://github.com/python/cpython/commit/25de5baf3eaebddbf879aacf49c0f614f922dc42 -

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-26 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Library (Lib) resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: -Python 3.5 ___ Python tracker __

[issue30853] IDLE: configdialog -- factor out Tracer subclass

2017-07-26 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks! I can try the font vars if you like. One question I keep forgetting to ask -- I can't figure out how remove_var_callbacks gets called. I've grepped for the name and didn't find it anywhere. I don't know what I'm missing. -- ___

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 679b566622ec811c5e5d580f6a538f7a43006e05 by Steve Dower (Segev > Finer) in branch 'master': > bpo-9566: Fix some Windows x64 compiler warnings (#2492) > https://github.com/python/cpython/commit/679b566622ec811c5e5d580f6a538f7a43006e05 This chang

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread STINNER Victor
STINNER Victor added the comment: Two other broken buildbots: http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/967/steps/test/logs/stdio http://buildbot.python.org/all/builders/AMD64%20Windows10%203.x/builds/997/steps/test/logs/stdio -- _

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Segev Finer
Segev Finer added the comment: @haypo https://github.com/python/cpython/pull/2904 -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue31052] smtplib not honoring bcc header

2017-07-26 Thread zoof
New submission from zoof: When I try sending an email, using smtplib, with the bcc header set, the bcc header is included in messages send to the "to" and "cc" addresses. According to section 4.5.3 of rfc 822: > The contents of this field are not included in copies of the message sent to

[issue31004] IDLE, configdialog: Factor out FontTab class from ConfigDialog

2017-07-26 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2956 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31004] IDLE, configdialog: Factor out FontTab class from ConfigDialog

2017-07-26 Thread Cheryl Sabella
Cheryl Sabella added the comment: PR is for step 1 since VarTrace is needed for step 2. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30853] IDLE: configdialog -- factor out Tracer subclass

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0243bea55dc340067247e635442f2a227705315a by Terry Jan Reedy in branch '3.6': [3.6] bpo-30853: IDLE: Factor a VarTrace class from configdialog.ConfigDialog. (GH-2872) (#2903) https://github.com/python/cpython/commit/0243bea55dc340067247e635442f2a

[issue31003] IDLE: Add tests for help sources on configdialog general tab

2017-07-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2bc8f0e6867f59e5e8444b2bde99bb0fa3dbefc8 by Terry Jan Reedy in branch 'master': bpo-31003: IDLE - Add more tests for General tab (#2859) https://github.com/python/cpython/commit/2bc8f0e6867f59e5e8444b2bde99bb0fa3dbefc8 -- __

[issue31003] IDLE: Add tests for help sources on configdialog general tab

2017-07-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2957 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31053] Unnecessary argument in command example

2017-07-26 Thread KINEBUCHI Tomohiko
New submission from KINEBUCHI Tomohiko: The command example running venv module for Windows has an unnecessary argument. The following two command examples should be equivalent:: :: c:\>c:\Python35\python -m venv c:\path\to\myenv :: c:\>python -m venv myenv c:\path\to\myenv (from http

[issue31053] Unnecessary argument in command example

2017-07-26 Thread KINEBUCHI Tomohiko
Changes by KINEBUCHI Tomohiko : -- pull_requests: +2958 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29256] Windows select() errors out when given no fds to select on, which breaks SelectSelector

2017-07-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

  1   2   >