[issue35078] Refactor code in calendar.py module

2018-10-26 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- title: Allow customization of css class name of a month in calendar module -> Refactor code in calendar.py module ___ Python tracker _

[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__

2018-10-26 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, I am closing it with duplicate as resolution adding the related ticket issue34112 as superseder. Thanks for the report! -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 3.7.0 build error with --en

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Leo Li
Leo Li added the comment: Sure! Yes, Pls close it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Braden Groom
Braden Groom added the comment: Ah. Thank you -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31544] gettext.Catalog title is not flagged as a class

2018-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue2504] Add gettext.pgettext() and variants support

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: l*gettext() functions have been just deprecated in issue33710. Please update the PR and remove new l*gettext() functions. -- versions: +Python 3.8 -Python 3.7 ___ Python tracker

[issue10536] Enhancements to gettext docs

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Éric, do you mind to create a PR? But please avoid unnecessary formatting changes like adding a second space between sequences. While I prefer such style, these changes doesn't affect the result output and distract attention from significant changes. -

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

2018-10-26 Thread Maxime Belanger
Maxime Belanger added the comment: Ah, quite right; apologies for the not-so-useful PR! -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, I guess then it's the same as issue34112 with --enable-optimizations being incompatible with older compiler toolchains like GCC 4 in this case. Feel free to close this if it resolves the issue. -- __

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See PEP 4. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

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

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually this change decreases flexibility of tests. Expected output is generated. See the comment above it. When you change the bytecode, you need just uncomment these lines, run tests, copy the output, and comment out them back. The output contains numer

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Leo Li
Leo Li added the comment: I've tested 2 way to solve this: 1. disable --enable-optimizations option. the software can be compile and install successful. 2. upgrade gcc version to 8.2.0. docker ➜ bin gcc --version gcc (Debian 8.2.0-8) 8.2.0 Copyright (C) 2018 Free Software Foundation, Inc. Th

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fec35c99aa749bb90cb29349bed6b3393907c4c1 by Serhiy Storchaka in branch 'master': bpo-33710: Deprecate l*gettext() and related functions in the gettext module. (GH-10139) https://github.com/python/cpython/commit/fec35c99aa749bb90cb29349bed6b33

[issue33710] Deprecate gettext.lgettext()

2018-10-26 Thread Braden Groom
Braden Groom added the comment: Thanks! I'll check out the linked PR. I've seen a few deprecation issues that I couldn't pick up just because I wasn't clear on the deprecation process. Is this documented anywhere in the development guides? I wasn't able to find it if it exists. Is there any

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue34160] ElementTree not preserving attribute order

2018-10-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Diego, it would be premature to write an implementation until we've agreed on an API. I object to the Serhiy's proposal, and if no one agrees to my proposal to preserve the user's specific actions, then it would be better to do nothing at all, leaving

[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.

[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 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 --

[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
Change by miss-islington : -- pull_requests: +9474 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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: https://ma

[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 ma

[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: patc

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +9471 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[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 ___ _

[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: https://mail

[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 __

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

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35059 which converts C macros to static inline functions. -- ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Yep, stepping through Python with lldb, that's what's happening. I know one of my coworkers has been able to reproduce it. I'll chime in next once I upgrade my personal machine and can try it there, since I know it isn't on AD. -- ___

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

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35081: "Rename Include/internals/ to Include/pycore/" which is linked to this issue. -- ___ Python tracker ___

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

2018-10-26 Thread STINNER Victor
STINNER Victor added the comment: I decided to work on this issue while trying to convert the _PyObject_GC_TRACK() macro into a "static inline" function. Currently, the macro uses _PyGC_generation0 which is defined earlier by "extern PyGC_Head *_PyGC_generation0;". Problem: _PyGC_generation

[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 ___ ___ Python-bugs-l

[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 su

[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

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -v -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include

[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 "/Applications/Xcode.app/Contents/Develop

[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 Unsubscrib

[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 ___ ___ Python-bugs-list

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

2018-10-26 Thread Maxime Belanger
New submission from Maxime Belanger : For various reasons, one may want to change the `Lib/opcode.py` module. In doing so, this has caused us to frequently rewrite `test_dis.py`. It would be great if those tests used `dis.opmap` rather than hard-coded/magic numbers, as this would allow easier

[issue35042] Use the role :pep: for the PEP \d+

2018-10-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset 12e696b4f071ffe0d585b7f0d0d8020fd328bfdd by Brett Cannon (Stéphane Wirtel) in branch 'master': bpo-35042: Use the :pep: role where a PEP is specified (#10036) https://github.com/python/cpython/commit/12e696b4f071ffe0d585b7f0d0d8020fd328bfdd -

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-26 Thread Tal Einat
Tal Einat added the comment: Shivank, indeed it seems you're now in the right direction. A bit of clarification: * The test shouldn't test _clone_node() directly, since that is an internal function. Rather, the test code should be as near as possible to what a user of the minidom module wou

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-26 Thread Shivank Gautam
Shivank Gautam added the comment: I See, I need to find out for what test case `_clone_node()` will show unexpected behaviour, which will verify that it is a bug and we also need a test code to in test_minidom.py just to verify the behaviour. am I going in right direction Tai? -- __

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-26 Thread Tal Einat
Tal Einat added the comment: Shivank, I recommend taking a look at some of the existing tests for this module, found in Lib/test/test_minidom.py. See how they are built and how various functionality is tested. This should give you a good idea of what a test for this bug would look like. -

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-26 Thread Tal Einat
Tal Einat added the comment: Looking at the code in Lib/xml/dom/minidom.py, this exact typo is also found in DocumentType.cloneNode(). That should be tested and fixed too. -- ___ Python tracker ___

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Er, and perhaps the compile and link calls from when Python builds posixmodule.c ? -- ___ Python tracker ___

[issue35052] Coverity scan: copy/paste error in Lib/xml/dom/minidom.py

2018-10-26 Thread Tal Einat
Tal Einat added the comment: Shivank, there is currently technically no "error to solve", since we have no test that causes this erroneous behavior and catches it. We've only found what appears to be a bug by looking at the code, but we need to *verify* that it is indeed a bug. Also, this me

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Ned Deily
Ned Deily added the comment: Yeah. Can you check the header file paths that are being used in your compiler invocation, e.g something like: cc -v -c ... And, while you are at it, the library search path of the test executable: otool -L ./... And anything suspicious in /usr/local/include or

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-10-26 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Tim Peters
Tim Peters added the comment: I don't object to spelling it out more, and your (Terry's) suggestions are fine. On the other hand, this module has been around for a lng time now, and this is the first instance I've seen of someone surprised that it doesn't produce overlapping matches - i

[issue35042] Use the role :pep: for the PEP \d+

2018-10-26 Thread Éric Araujo
Éric Araujo added the comment: Docutils itself parses `RFC ` and `PEP nnn` to replace with links. In some parts of the docs with many references, some devs (I think Raymond Hettinger for example) use tricks like `PEP\ nnn` to avoid getting twenty links in a row. So I don’t see what the r

[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 is

[issue35070] test_posix fails on macOS 10.14 Mojave

2018-10-26 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Yes, I've rebooted :) I've modified your C program a little and here's the code and output. #include #include #include int main() { gid_t grouplist[32]; int n; int gidsetsize; for (gidsetsize = 0; gidsetsize < 22; ++gidsetsize) {

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

2018-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: We can assume that "substring 'CA'" was meant to be "substring 'AC'", but as explained, missing 'AC' is not a bug. (Tim wrote the module.) I read the doc, and 'non-overlapping' is implied in the SequenceMatcher entry at the top of the file. "The idea is to

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

2018-10-26 Thread R. David Murray
R. David Murray added the comment: Sure, this is fine with me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-26 Thread tzickel
tzickel added the comment: Sorry ignore it. Closed the PR as well. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-26 Thread tzickel
tzickel added the comment: Is this commit interesting ? It has less lines, more simple and makes no cycles to collect, and it seems in my limited benchmark faster than the current implementation. https://github.com/tzickel/cpython/commit/7e8b70b67cd1b817182be4dd2285bd136e6b156d --

[issue35077] Make TypeError message less ambiguous

2018-10-26 Thread coyot linden
coyot linden added the comment: The problem I have with "So only the 'index of string' interpretation makes sense." is that by the time a developer has that understanding, they won't get this error. So it's fine and logical to say from the behind-the-scenes view that only sequences talk abou

[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 inde

[issue35079] difflib.SequenceMatcher.get_matching_blocks omits common strings

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

[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. Th

[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 intende

[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 implementatio

[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. Alter

[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: https://mail

[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

[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

[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: http

[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.

[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 depr

[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(). *

[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 Engl

[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) https://github.com/python/cpython/commit/9e14

[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: https://m

[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. -- _

[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 De

[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

[issue33710] Deprecate gettext.lgettext()

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

[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 ___ ___ Python-bugs-l

[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: https:/

[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,

[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 me

[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 integ

[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 ___ ___

[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 --

[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 __

[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: https://mail.pytho

[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 coll

[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 ___ _

[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 -- __

[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: https://ma

[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: https://ma

[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: https://mai

[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 ___ ___

[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 tracker

  1   2   >