[issue34789] Make xml.sax.make_parser accept iterables

2018-10-26 Thread Tal Einat
Tal Einat added the comment: New changeset 1487b651caa62647f8f8c9e8432e475e3566130c by Tal Einat (Andrés Delfino) in branch '3.7': [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542)

[issue34789] Make xml.sax.make_parser accept iterables

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

[issue34789] Make xml.sax.make_parser accept iterables

2018-10-26 Thread Tal Einat
Tal Einat added the comment: New changeset a6dc531063efe3a8d47ff4639729060c72a3688c by Tal Einat (Andrés Delfino) in branch 'master': bpo-34789: make xml.sax.make_parser accept iterables of all types (GH-9576) https://github.com/python/cpython/commit/a6dc531063efe3a8d47ff4639729060c72a3688c

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 24702044afb1d4ad7568bf6aa7450b14dc44a38f by Victor Stinner in branch 'master': bpo-9263: Use _PyObject_ASSERT() in object.c (GH-10110) https://github.com/python/cpython/commit/24702044afb1d4ad7568bf6aa7450b14dc44a38f --

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread Denis Ledoux
Change by Denis Ledoux : -- pull_requests: +9461 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9460 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3b1cba3701fd1321a9bdafa9e683f891369f0cfd by Victor Stinner in branch 'master': bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) https://github.com/python/cpython/commit/3b1cba3701fd1321a9bdafa9e683f891369f0cfd --

[issue35044] Use the :exc: role for the exceptions in the doc

2018-10-26 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___

[issue34789] Make xml.sax.make_parser accept iterables

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 38d7620baab96c702243cfa193377a3ec10f by Miss Islington (bot) in branch '3.6': [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542)

[issue34789] Make xml.sax.make_parser accept iterables

2018-10-26 Thread Tal Einat
Tal Einat added the comment: Thanks for reporting the issue and making the PRs, Andrés! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32173] linecache.py add lazycache to __all__ and use dict.clear to clear the cache

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- pull_requests: +9462 ___ Python tracker ___ ___

[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Since the two PRs are merged as part of triaging I am closing this as fixed. Feel free to reopen this if needed. Thanks Tilman for the PR :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue35076] FAIL: test_min_max_version (test.test_ssl.ContextTests) with libressl-2.8.2

2018-10-26 Thread jean-michel
New submission from jean-michel : Hi. Python-3.7.1 with LibreSSL-2.8.2 and patches from https://github.com/python/cpython/pull/8055 and https://github.com/python/cpython/pull/8050 Compilation failed because of test_ssl failed. A detailed list of all the patches that I use for my

[issue34789] Make xml.sax.make_parser accept iterables

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

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset a05bef4f5be1bcd0df63ec0eb88b64fdde593a86 by Victor Stinner in branch 'master': bpo-35059, PCbuild: Expand inline funcs in Debug (GH-10094) https://github.com/python/cpython/commit/a05bef4f5be1bcd0df63ec0eb88b64fdde593a86 --

[issue35058] Unable to Install Python on Windows

2018-10-26 Thread Alex Bach
Alex Bach added the comment: Hi Sorry for replying so late, I couldn't find the right method to use on this website. Also Steve, if I download some old version of python, would it support the latest functions that I need to learn this semester. --

[issue26979] The danger of PyType_FromSpec()

2018-10-26 Thread Christian Tismer
Christian Tismer added the comment: The default of PyType_FromSpec for tp_dealloc is wrong! --- After a long struggle with crashes and leaks, the situation was finally clarified: When a type is converted from a static type to a heaptype via

[issue35065] Reading received data from a closed TCP stream using `StreamReader.read` might hang forever

2018-10-26 Thread Vincent Michel
Vincent Michel added the comment: I found the culprit: https://github.com/python/cpython/blob/a05bef4f5be1bcd0df63ec0eb88b64fdde593a86/Lib/asyncio/streams.py#L350 The call to `_untrack_reader` is performed too soon. Closing the transport causes `protocol.connection_lost()` to be "called

[issue34789] Make xml.sax.make_parser accept iterables

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 9dcb517f8ebba16a46ec2a6a97bb3e4a97daeae9 by Miss Islington (bot) in branch '2.7': [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542)

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 8b1f52b5a93403acd7d112cd1c1bc716b31a418a by Miss Islington (bot) in branch '3.6': bpo-35017, socketserver: don't accept request after shutdown (GH-9952) https://github.com/python/cpython/commit/8b1f52b5a93403acd7d112cd1c1bc716b31a418a

[issue35072] re.sub does not play nice with chr(92)

2018-10-26 Thread Matthew Barnett
Matthew Barnett added the comment: @Ezio: the value of stringy_thingy is irrelevant because it never gets that far; it fails when it tries to parse the replacement, which occurs before attempting any matching. I can't reproduce the difference either. -- status: pending -> open

[issue33944] Deprecate and remove pth files

2018-10-26 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: The primary motivation behind the suggestion seems to be the fact that the feature is abused. However, the documentation has no info whatsoever on what is the intended use -- thus what constitutes abuse. Without that, the accusations are kind of baseless --

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Is this related using older version of GCC? Searching the bug tracker tells me a related issue (https://bugs.python.org/issue34112) where --enable-optimizations caused build error on 3.7.0 for older compiler toolchain like

[issue35017] socketserver accept a last request after shutdown

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

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 10cb3760e8631a27f5db1e51b05494e29306c671 by Victor Stinner (Denis Ledoux) in branch 'master': bpo-35017, socketserver: don't accept request after shutdown (GH-9952)

[issue35017] socketserver accept a last request after shutdown

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

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 908082451382b8b3ba09ebba638db660edbf5d8e by Miss Islington (bot) in branch '3.7': bpo-35017, socketserver: don't accept request after shutdown (GH-9952) https://github.com/python/cpython/commit/908082451382b8b3ba09ebba638db660edbf5d8e

[issue34897] distutils test errors when CXX is not set

2018-10-26 Thread Tal Einat
Tal Einat added the comment: I'm not sure that the resolution currently suggested, changing compiler.set_executables(), is the right way to go. This change to distutils is a break of backwards compatibility. Though it is a minor change, it could still break existing code. Fixing

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread Denis Ledoux
Denis Ledoux added the comment: The pleasure is all mine. Thanks to you and the other contributors involved. For my first contribution to Python, I am glad everything went smoothly :). -- ___ Python tracker

[issue33944] Deprecate and remove pth files

2018-10-26 Thread Ivan Pozdeev
Change by Ivan Pozdeev : -- keywords: +patch pull_requests: +9463 stage: -> patch review ___ Python tracker ___ ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset b4435e20a92af474f117b78b98ddc6f515363af5 by Victor Stinner in branch 'master': bpo-35059: Convert PyObject_INIT() to function (GH-10077) https://github.com/python/cpython/commit/b4435e20a92af474f117b78b98ddc6f515363af5 --

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: Thanks Denis Ledoux for your bug report and your fix! It's nice to see this bug fixed in all branches ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35017] socketserver accept a last request after shutdown

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6f97a50c86737458c6bed9970c8dc31a465eff22 by Victor Stinner (Denis Ledoux) in branch '2.7': bpo-35017, socketserver: don't accept request after shutdown (GH-9952) (GH-10129)

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread coyot linden
New submission from coyot linden : The TypeError message: TypeError: string indices must be integers is ambiguously written. While some may understand the intent, others will read it as confusingly saying that strings must be integers since dicts among other things do have string indices.

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 8be1c043a6d10d375f7a73c681cb2d7ec2f2d361 by Senthil Kumaran in branch '3.6': [3.6] - bpo-34576 : Backport eeab510 3.6 (GH-10113) https://github.com/python/cpython/commit/8be1c043a6d10d375f7a73c681cb2d7ec2f2d361 --

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset bb1876acd815a05744cea4a7d4098231ef499e52 by Senthil Kumaran in branch '3.7': [3.7] bpo-34576 : Backport eeab510 (#10114) https://github.com/python/cpython/commit/bb1876acd815a05744cea4a7d4098231ef499e52 --

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread Dave Malcolm
Dave Malcolm added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset a4b2bc70f69d93d8252861b455052c051b7167ae by Victor Stinner in branch 'master': bpo-9263: Use _PyObject_ASSERT() in gcmodule.c (GH-10112) https://github.com/python/cpython/commit/a4b2bc70f69d93d8252861b455052c051b7167ae --

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: We're wondering if it could be a weird interaction with Active Directory. This is my work laptop, so it's all integrated with LDAP and whatnot. I don't have Mojave on my personal laptop yet (maybe this weekend). I'm guessing that whatever corporate

[issue35076] FAIL: test_min_max_version (test.test_ssl.ContextTests) with libressl-2.8.2

2018-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1 ___ Python tracker

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) added the comment: +1. In my early days of python programming i was confused of this message. -- nosy: +thatiparthy ___ Python tracker

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0862505a0377c12e8004b2eb8de0555f26ce9530 by Victor Stinner in branch 'master': bpo-9263: Use _PyObject_ASSERT() in typeobject.c (GH-10111) https://github.com/python/cpython/commit/0862505a0377c12e8004b2eb8de0555f26ce9530 --

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

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

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

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

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: I pushed the change and even more, so I consider that the issue can now be closed... 8 years later! Thank you very much Dave Malcolm for this nice idea, and for its implementation. Thanks Bohuslav "Slavek" Kabrda for the rebase in 2013, and thanks to my

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is resolved. Thank you, all. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 7eac88afd2e39d05a0ed3bc8c0787a2e755a6072 by Miss Islington (bot) in branch '3.6': bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) https://github.com/python/cpython/commit/7eac88afd2e39d05a0ed3bc8c0787a2e755a6072

[issue35078] Allow customization of css class name of a month in calendar module

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- keywords: +patch pull_requests: +9467 stage: -> patch review ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Also, I'm assuming you've tried rebooting your system? :) -- ___ Python tracker ___ ___

[issue35035] Documentation for email.utils is named email.util.rst

2018-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread coyot linden
coyot linden added the comment: You're welcome. I filed against 3.5 because that's what I have in our env at the moment and I couldn't test and thus assert the issue in later versions. Happy to see the problem addressed more generally. The abstraction of the problem is the ambiguity in

[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 9e14e49f13ef1a726f31efe6689285463332db6e by Miss Islington (bot) (Quentin Agren) in branch 'master': bpo-35024: Remove redundant and possibly incorrect verbose message after writing '.pyc' (GH-9998)

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2018-10-26 Thread Michael Saah
Michael Saah added the comment: Appologies, will do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9459 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: > bpo-35059, PCbuild: Expand inline funcs in Debug (GH-10094) > https://github.com/python/cpython/commit/a05bef4f5be1bcd0df63ec0eb88b64fdde593a86 Too bad: this change broke the compilation on AMD64 Windows7 SP1 3.x, AMD64 Windows8 3.x and AMD64 Windows10

[issue32173] linecache.py add lazycache to __all__ and use dict.clear to clear the cache

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since all proposed PRs just change formatting, I suggest to close this issue. -- ___ Python tracker ___

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sometime we starts with deprecating just in the documentation, if it is hard to add deprecation in the code or adding it will break a lot of working code. But this is not the case. lgettext() was inherently broken in Python 3. --

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 50fe3f8913c503e63f4cfb8ddcf8641ef7ad0722 by Victor Stinner in branch 'master': bpo-9263: _PyXXX_CheckConsistency() use _PyObject_ASSERT() (GH-10108) https://github.com/python/cpython/commit/50fe3f8913c503e63f4cfb8ddcf8641ef7ad0722 --

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 95cfb818eaffba41333d4bc93253f4e0c6237ca8 by Miss Islington (bot) in branch '3.7': bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) https://github.com/python/cpython/commit/95cfb818eaffba41333d4bc93253f4e0c6237ca8

[issue18114] Update PyImport_ImportFrozenModuleObject() to set __package__

2018-10-26 Thread Brett Cannon
Brett Cannon added the comment: I'm not sure if it's still relevant. :) Feel free to look at the code and come back here with a recommendation as to whether this is still necessary or not. -- ___ Python tracker

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have a mixed opinion of this. On the one hand, 'string index', taken out of context, *is* ambiguous. (In the context of the TypeError message, it took me a minute to see the string-index interpretation.) On the other hand, dicts do not have indices.

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- keywords: +patch pull_requests: +9464 stage: -> patch review ___ Python tracker ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: > Too bad: this change broke the compilation on AMD64 Windows7 SP1 3.x, AMD64 > Windows8 3.x and AMD64 Windows10 3.x: (...) I checked buildbots: my PR 10128 fixed all Windows buildbots, good. -- ___ Python

[issue35078] Allow customization of css class name of a month in calendar module

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- components: Library (Lib) nosy: thatiparthy priority: normal severity: normal status: open title: Allow customization of css class name of a month in calendar module versions: Python 3.8

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Error message changes are generally done on master and not back ported. I am removing 3.5 which is security fixes only mode and adding 3.8 . There are other errors of similar format but indicate the wrong type in the error

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It includes three parts: * Add the code that emits a DeprecationWarning when corresponding functions and arguments are used. It is important to specify the correct stacklevel argument. * Add tests and/or modify existing test for catching or silencing a

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #35076 as a duplicate of this. The distribution was not specified. The version is 3.7.1 plus additional patches. A build log is attached. -- nosy: +terry.reedy ___ Python tracker

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Tim Peters
Tim Peters added the comment: Sorry, I find this too hard to follow. At the end: > ['TA', 'CA'] # Missing the substring 'CA' the comment claims it's missing 'CA', while the output plainly shows it's _not_ missing 'CA'. If your complaint is that's missing 'AC', yes, it is. It's not

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: It very well could have something to do with Active Directory support. Here's a little getgroups test I used a while back for a previous getgroups issue. You should see something similar in the output depending on the number of groups in your id. If it fails,

[issue35078] Allow customization of css class name of a month in calendar module

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

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9468 stage: -> patch review ___ Python tracker ___ ___

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The deprecation notice is added to the docs and deprecation warnings are raised during usage of the functions. As per the PR some of them are deprecated with 3.8 (master) and will be removed by 3.10. But this depends on the discussion over the

[issue34160] ElementTree not preserving attribute order

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is an easy issue and I left it for beginning contributors. The PR should include the following changes: * Add an optional sort_attrs parameter (True by default) in the write() method. * Make the dump() function passing sort_attrs=False to write(). *

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Michael Saah, when you reply by email, *please* delete the quoted post you are replying to (except possibly for a relevant line or two.). The quotation duplicates what is already on the web page and makes it harder to scroll through posts on the web page.

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Springem Springsbee
New submission from Springem Springsbee : Hello, I'm using difflib's SequenceMatcher to locate common substrings. It seems like the matcher is missing a common substrings. I'm guessing this is a rather low-level issue in difflib. The autojunk parameter has no effect for obvious reasons.

[issue35045] test_min_max_version (test.test_ssl.ContextTests) fails on Fedora 29+ and openssl 1.1.1

2018-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +jean-michel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. The C implementation should be same as Python implementation which in this case differs as per your analysis if I am understanding it right and IIRC there is a PEP (PEP 399 I think) to enforce that C and Python

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Aside from the effort of making a change correct and consistent across our code, error message changes often breaks user code and tests that depend on the current wording. So there must be sufficient benefit to overcome the cost. (The user breakage cost

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I checked a bit. All the 'index' entries in the index are about sequences. However, https://docs.python.org/3/reference/datamodel.html has this abstract (non-Python) description: "Mappings These represent finite sets of objects indexed by arbitrary

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: % gcc -v gg.c Apple LLVM version 10.0.0 (clang-1000.11.45.2) Target: x86_64-apple-darwin18.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I really have no idea what's going on. I've looked at posixmodule.c and tried to reproduce as best I can in a standalone C program. In both cases getgroups(0, NULL) returns 15. In the standalone version, when I then call getgroups(15, grouplist), I again

[issue35081] Rename Include/internals/ to Include/pycore/

2018-10-26 Thread STINNER Victor
New submission from STINNER Victor : Currently, #include "pymem.h" may include Include/pymem.h or Include/internal/pymem.h depending where is the C file (.c) and if Include/internal/ is in the header search path or not. I propose to: * Rename Include/internal/ to Include/pycore/ * In this

[issue35081] Rename Include/internals/ to Include/pycore/

2018-10-26 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9470 stage: -> patch review ___ Python tracker ___ ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue33223 also reports failure of test_posix under 10.13.4 and seems to be related. -- nosy: +xtreak ___ Python tracker ___

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tim, I share your concern about bloating docs, but think this one word worthwhile. I suspect that people are conditioned to accept 'non-overlapping' because that is ofter (usually?) the default for linear searches and regex matching. -- stage:

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like people have fun with getgroups() on macOS: * bpo-7900 * bpo-16661 * bpo-17557 * bpo-29562 Maybe we should simply skip test_getgroups() and test_getgrouplist() on macOS with a comment listing all these BPO issues. -- nosy: +vstinner

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713 by Terry Jan Reedy in branch 'master': bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) https://github.com/python/cpython/commit/d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

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

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9472 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

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

[issue34160] ElementTree not preserving attribute order

2018-10-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Though it is compatible with earlier versions, I don't see any reason to keep sorting at all, especially as a default. The reasonable default is that whatever order the user specifies is what the tool does. The backwards compatible argument is specious.

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Wonderful -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34160] ElementTree not preserving attribute order

2018-10-26 Thread Diego Rojas
Diego Rojas added the comment: I'm working on this issue, but I have some questions: 1. If dump() function is only for debugging purpose, and since from dump() is where we will pass the sort_attrs keyword in False in order to conserve the order, I don't see how from dump() we can handle the

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset 5282125650a70811f0d64ab231e2a6c8ac20c96b by Miss Islington (bot) in branch '3.6': bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) https://github.com/python/cpython/commit/5282125650a70811f0d64ab231e2a6c8ac20c96b

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset cb920c1442bf3b0899fee51915b4bf6614f2c1d7 by Miss Islington (bot) in branch '3.7': bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) https://github.com/python/cpython/commit/cb920c1442bf3b0899fee51915b4bf6614f2c1d7

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread miss-islington
miss-islington added the comment: New changeset e389de8e3e897fa5ba4f71b0f711355fb7158049 by Miss Islington (bot) in branch '2.7': bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144) https://github.com/python/cpython/commit/e389de8e3e897fa5ba4f71b0f711355fb7158049

[issue35080] The tests for the `dis` module can be too rigid when changing opcodes

2018-10-26 Thread Maxime Belanger
Change by Maxime Belanger : -- components: +Library (Lib), Tests ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35080] The tests for the `dis` module can be too rigid when changing opcodes

2018-10-26 Thread Max Bélanger
Change by Max Bélanger : -- keywords: +patch pull_requests: +9469 stage: -> patch review ___ Python tracker ___ ___

  1   2   >