[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> fixed stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This bug is not so critical. This bug exists in 3.5 and 2.7. Tests was added in issue18531, but at that moment the bug already was fixed in 3.6 (maybe accidentally). -- ___ Python tracker

[issue17884] Try to reuse stdint.h types like int32_t

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: Probably this one: #23545 -- nosy: +skrah status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue28104] Set documentation is incorrect

2016-09-12 Thread Nathan Marrow
New submission from Nathan Marrow: The library documentation for set intersection gives this definition: intersection(other, ...) For any set, s, however, intersection may be called with no arguments, which returns the same set. The documentation, as written, implies such usage would raise a T

[issue23545] Turn on extra warnings on GCC

2016-09-12 Thread SilentGhost
SilentGhost added the comment: The commit didn't resolve the warning though. -- nosy: +SilentGhost ___ Python tracker ___ ___ Python-b

[issue8840] truncate() semantics changed in 3.1.2

2016-09-12 Thread Jakub Stasiak
Changes by Jakub Stasiak : -- nosy: +jstasiak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Objects/methodobject.c: In function ‘_PyCFunction_FastCallKeywords’: Objects/methodobject.c:281:24: warning: ‘nkwargs’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert((nargs == 0 && nkwargs == 0) || stack != NULL);

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-09-12 Thread Elias Zamaria
Elias Zamaria added the comment: Martin, I made another attempt to understand what you are trying to tell me about the patch, and I'm still confused. It seems that to make the patch merge cleanly, I need to get the patch URL from this page, and to get the patch URL, I need to upload the patch,

[issue23545] Turn on extra warnings on GCC

2016-09-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All warnings were resolved at the moment of providing previous version, but the code was changed too much last days. New warnings was added and disappeared in these days. Now we can just sit and resolve the leftover. -- _

[issue23545] Turn on extra warnings on GCC

2016-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset da485c6c744e by Stefan Krah in branch 'default': Issue #23545: Adding -Wextra in setup.py is no longer necessary, since it https://hg.python.org/cpython/rev/da485c6c744e -- ___ Python tracker

[issue23545] Turn on extra warnings on GCC

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: Agreed. SilentGhost, it's probably best to open new issues for the warnings. -- ___ Python tracker ___

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-09-12 Thread Elias Zamaria
Elias Zamaria added the comment: I looked through the email thread. I can remove the DeprecationWarnings, but before I do that, I would like to ask something: How "official" are the things discussed in the thread? Are they supposed to be part of the PEP? Are they supposed to be final, definite

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-12 Thread Łukasz Langa
Łukasz Langa added the comment: Benjamin, what's the rationale behind switching those to inline functions? Does it improve runtime performance or build speed? If not, I don't understand why the additional complexity. -- ___ Python tracker

[issue28104] Set documentation is incorrect

2016-09-12 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Xiang Zhang
Xiang Zhang added the comment: I'd like to reopen this one since I still don't think this change is needed and suggest to revert since this change make split table combined on deletion. Deletion will not alter split dict's order. Only insertion after deletion will. But this case is already han

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Xiang Zhang
Xiang Zhang added the comment: Ohh, mistakes. > so you can produce can should be can not > We only add We only need to add > you can product the product should be produce -- ___ Python tracker __

[issue28105] warning: ‘nkwargs’ may be used uninitialized

2016-09-12 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Objects/methodobject.c: In function ‘_PyCFunction_FastCallKeywords’: Objects/methodobject.c:281:24: warning: ‘nkwargs’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert((nargs == 0 && nkwargs == 0) || stack != NULL);

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread INADA Naoki
INADA Naoki added the comment: Xiang: Preserving insertion order in shared-key dict is possible, but it's hard. If we allow it, we should add tons of test for shared-key dict. I'll describe why it's harder than you think. Current implementation allow insertion to split table only when: /*

[issue8840] truncate() semantics changed in 3.1.2

2016-09-12 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-09-12 Thread Ethan Furman
Ethan Furman added the comment: The PEP 467 has not been accepted yet, so nothing is final. The email thread is the current discussion. Also, unless someone has received permission from Ned, this won't go in until Python 3.7. -- ___ Python tracker

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Xiang Zhang
Xiang Zhang added the comment: > add tons of test for shared-key dict So what if we delete mp->ma_used == ix or use mp->ma_keys->dk_nentries == ix? Do we still have any case breaking the order? -- ___ Python tracker

[issue28106] [Benchmarks] Add --testonly argument to perf.py to run benchmarks only for correctness checking

2016-09-12 Thread Thomas Wouters
New submission from Thomas Wouters: The attached patch adds a --testonly mode to the 'perf.py' benchmark runner, which runs the selected benchmarks in the fastest possible way with just one interpreter (without filtering out slow benchmarks, or benchmarks that can't run in raw mode). The inte

[issue21018] [patch] added missing documentation about escaping characters for configparser

2016-09-12 Thread Arun Persaud
Arun Persaud added the comment: updated the patch, let me know if it needs additional changes. -- Added file: http://bugs.python.org/file44598/escape.patch ___ Python tracker ___

[issue28106] [Benchmarks] Add --testonly argument to perf.py to run benchmarks only for correctness checking

2016-09-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue27806] 2.7 32-bit builds fail on future releases of OS X due to dependency on deleted header file

2016-09-12 Thread sashk
sashk added the comment: I've made attempt to make Python 2.7 compile 32-bit version on macOS 10.12 Sierra. See attached patch. With this patch, I was able to compile universal (32-bit/64-bit) python binary on macOS 10.12 GM. -- keywords: +patch Added file: http://bugs.python.org/file4

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: For the specific case of Dtrace, #define are just fine. But for unicodeobject.h, it would be nice to be able to use inline functions. -- ___ Python tracker

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: Xiang: I will remove the now useless check, but after beta 1. This issue is about SystemError and you now want to reuse the issue to implement an optimization. Please open a new issue for supporting deletion on split table if you consider that it's possible and

[issue26182] Deprecation warnings for the future async and await keywords in Python 3.6

2016-09-12 Thread Yury Selivanov
Yury Selivanov added the comment: Ned, would it be OK to commit this patch after b1? async/await are scheduled to become real keywords in 3.7. Right now they are only keywords in 'async def' blocks, meaning that it's OK to have a class with 'async' or 'await' attributes. So this will be a ba

[issue28107] Update typing module dicumentation for NamedTuple

2016-09-12 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi: The implementation of NamedTuple in typing module has been extended to support PEP 526 variable annotation syntax. Here is he patch that updates documentation accordingly. -- assignee: docs@python components: Documentation files: nmtuple-doc.diff ke

[issue28106] [Benchmarks] Add --testonly argument to perf.py to run benchmarks only for correctness checking

2016-09-12 Thread Brett Cannon
Brett Cannon added the comment: Is this against https://github.com/python/performance or hg.python.org/benchmarks? -- ___ Python tracker ___

[issue28107] Update typing module dicumentation for NamedTuple

2016-09-12 Thread Guido van Rossum
Guido van Rossum added the comment: Honestly I think it's better if this remains a "hidden" feature until we have support for it in mypy. So let's wait for that. -- ___ Python tracker _

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-12 Thread Eric Snow
Eric Snow added the comment: Here's a patch to soften the impact of pyc-related problems. Note: * Each pyc-related case that previously caused import to fail now results in an ImportWarning. This applies to both reading and writing .pyc files. * Each warning has __cause__ set to the caught exc

[issue28107] Update typing module dicumentation for NamedTuple

2016-09-12 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: OK -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue26182] Deprecation warnings for the future async and await keywords in Python 3.6

2016-09-12 Thread Ned Deily
Ned Deily added the comment: As long as Brett is also OK with it, it can go in for 360b2. -- ___ Python tracker ___ ___ Python-bugs-li

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Alexander Belopolsky
New submission from Alexander Belopolsky: After running ./configure on Linux or MacOS X, check the generated pyconfig.h header: $ grep TZNAME pyconfig.h /* #undef HAVE_DECL_TZNAME */ /* #undef HAVE_TZNAME */ However, tzname exists and is declared in time.h on Linux and MacOS X as can be seen

[issue28105] warning: ‘nkwargs’ may be used uninitialized

2016-09-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e67e685a1301 by Victor Stinner in branch 'default': Fix warning in _PyCFunction_FastCallKeywords() https://hg.python.org/cpython/rev/e67e685a1301 -- nosy: +python-dev ___ Python tracker

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +haypo, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue28105] warning: ‘nkwargs’ may be used uninitialized

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: It should be fixed. Thanks for the report. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the report, warning fixed in the issue #28105. -- ___ Python tracker ___ ___ Python-bugs-

[issue28106] [Benchmarks] Add --testonly argument to perf.py to run benchmarks only for correctness checking

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: Please use the new benchmark suite: https://github.com/python/performance performance already has such option: --debug-single-sample. It's already used by runtests.py which is run by tox and automatically by Travis CI. Enjoy! -- resolution: -> fixed s

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: The Blaze test suite segfaults with 4a5b61b0d090. -- nosy: +skrah ___ Python tracker ___ ___ Python-bug

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: > The Blaze test suite segfaults with 4a5b61b0d090. What is the Blaze test suite? Are you sure that you really recompiled Python from scratch? Try: make distclean && ./configure --with-pydebug && make -- ___ Python

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi: The attached patch contains a simple item summarizing PEP 526 in 3.6 What's New. -- assignee: docs@python components: Documentation files: whats-new-pep-526.diff keywords: patch messages: 276105 nosy: docs@python, gvanrossum, levkivskyi priority: norm

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: Yes, I'm sure. I even cloned a fresh repo. Also, I tested in release mode (not --with-pydebug). https://github.com/blaze/blaze -- ___ Python tracker

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Ned Deily
Ned Deily added the comment: The immediate question is: is this serious enough to block 3.6.0b1 or can it wait for b2? The b1 bits are just about ready to be published. -- ___ Python tracker

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: I'm not sure. In the Blaze test suite, 1e7b636b6009 has the SystemError. 4a5b61b0d090 segfaults. Blaze is pushing Python's dynamic capabilities to absolute limits, so perhaps this is specific to a few applications only. For Blaze *itself* there is no difference w

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Guido van Rossum
Guido van Rossum added the comment: This should probably wait until b1 is released; it looks like What's New is mostly empty anyways. The release manager needs to focus on the release. -- ___ Python tracker __

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Ned Deily
Ned Deily added the comment: OK, thanks, Stefan! OK with you, Victor? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Looking at the autoconf documentation, HAVE_TZNAME is only set iff struct tm does not have a tm_zone member *and* the external array tzname is found: https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Particular-Structures.html If the str

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > HAVE_TZNAME is only set iff struct tm does not have a tm_zone member ... I've figured that much from reading the generated configure script, but thanks for the pointer to the documentation. -- ___ Python tra

[issue28110] py launcher has different product codes between 32 and 64-bit

2016-09-12 Thread Steve Dower
New submission from Steve Dower: The launcher.msi file that is part of 3.6.0b1 is different between the 32-bit and 64-bit release - specifically, a different product code. This means that when you install one followed by the other, it will insist on updating the launcher even though the are th

[issue28110] launcher.msi has different product codes between 32 and 64-bit

2016-09-12 Thread Steve Dower
Changes by Steve Dower : -- title: py launcher has different product codes between 32 and 64-bit -> launcher.msi has different product codes between 32 and 64-bit ___ Python tracker ___

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Updated patch -- Added file: http://bugs.python.org/file44603/whats-new-pep-526-v2.diff ___ Python tracker ___

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: If Victor can't reply now (it's getting late in Europe), I'd just release. Pretend that I set it to deferred blocker. :) -- priority: release blocker -> deferred blocker ___ Python tracker

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-12 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file44604/issue28007.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-12 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file44601/issue28007.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Ned Deily
Ned Deily added the comment: Yes, he's had a *long* day. I'll take your advice, Stefan. Thanks. -- ___ Python tracker ___ ___ Python

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: If you want to separately check for the definition of tzname, I guess you have to add a AC_DEFINE() section specifically for tzname. -- ___ Python tracker _

[issue26182] Deprecation warnings for the future async and await keywords in Python 3.6

2016-09-12 Thread Brett Cannon
Brett Cannon added the comment: I'm fine with it being in b2 because IMO the warning really should make it in 3.6 and for stuff like this it's more critical to hit the RC for people's testing than the beta to work out semantic changes. -- ___ Python

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-12 Thread Brett Cannon
Brett Cannon added the comment: I don't think we should try and squeeze this in for 3.6 since we have now hit beta and this is a feature since this is changing semantics that date back to Python 2. I'm going to go ahead and change the target to 3.7. -- versions: +Python 3.7 -Python 3.6

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread STINNER Victor
STINNER Victor added the comment: I didn't see any segfault on the Python test suite on buildbots. It's either a bug in Blaze (Python C API change like METH_CALL) or a real bug in CPython. It's a beta, we can fix bugs later :-) -- ___ Python tracker

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The real issue is that when setting the tzname tuple in the time module, we use a guess based on the value of tm_zone probed in June and January. I am not sure whether this is wise. Shouldn't we just use C tzname is it is available? -- ___

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: > The real issue is that when setting the tzname tuple in the time module, we > use a guess based on the value of tm_zone probed in June and January. I am > not sure whether this is wise. Shouldn't we just use C tzname is it is > available? I don't thin

[issue28108] Python configure fails to detect tzname on platforms that have it.

2016-09-12 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I don't think tzname is really all that useful. I agree. More so after issue 25283 (Make tm_gmtoff and tm_zone available on all platforms). That's why I don't see why the time module need to set tzname to anything other than what the C library does.

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-12 Thread Eric Snow
Eric Snow added the comment: I was going to ask Ned, but I'm fine with holding off until 3.7. :) -- ___ Python tracker ___ ___ Python-

[issue6858] IDLE: allow syntax highlighting of files without .py extension

2016-09-12 Thread ppperry
Changes by ppperry : -- title: This is a python file, apply syntax highlighting -> IDLE: allow syntax highlighting of files without .py extension ___ Python tracker ___ _

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread Stefan Krah
Stefan Krah added the comment: It could still be a stack overflow, but on the surface it does not look like one. It's definitely related to the aforementioned revision: ==3442== Invalid read of size 8 ==3442==at 0x49DBD8: _PyDict_Pop (dictobject.c:1743) ==3442==by 0x4A0BE2: dict_pop (dic

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Robert Collins
Robert Collins added the comment: It is a bugfix, but we should document when it started working using the version added segment IMO. I think addding this to 3.6 now would be ok. -- nosy: +rbcollins ___ Python tracker

[issue16384] import.c doesn't handle EOFError from PyMarshal_Read*

2016-09-12 Thread Eric Snow
Eric Snow added the comment: With issue #28007 wrapped up, there isn't a lot left to do here. I was considering that we don't want to abort when we have problems loading a codec during startup. However, Steve Dower made the point to me that a problem with the main codec during startup should

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Tim Mitchell added the comment: Verified problem. Added patch to keep reference to dict in PyDict_GetItem. -- keywords: +patch nosy: +Tim Mitchell Added file: http://bugs.python.org/file44605/0001-issue27946-Hold-reference-to-dict-in-PyDict_GetItem.patch __

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Second update, implemented comments by Yury an Guido. -- Added file: http://bugs.python.org/file44606/whats-new-pep-526-v3.diff ___ Python tracker

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Markus Holtermann added the comment: As discussed with rbcollins during the KiwiPyCon sprints, I'll add patches for 3.5, 3.6 and master with docs mentioning the addition of `ws` and `wss` as of 3.5.3 -- nosy: +MarkusH ___ Python tracker

[issue28109] What's new item for PEP 526 -- Variable annotations

2016-09-12 Thread Guido van Rossum
Guido van Rossum added the comment: Patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26240] Docstring of the subprocess module should be cleaned up

2016-09-12 Thread Robert Collins
Changes by Robert Collins : -- nosy: +rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue17188] Document 'from None' in raise statement doc.

2016-09-12 Thread Thomi Richards
Thomi Richards added the comment: I have attached a patch for 3.4, based on the patch submitted by Nitika Agarwal. The main difference is that I think it's better to be explicit and show a separate example of `raise X from None`. I will submit a patch for later versions as well. -- no

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44608/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.5.patch ___ Python tracker ___ __

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44610/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.master.patch ___ Python tracker ___ ___

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Added file: http://bugs.python.org/file44609/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.6.patch ___ Python tracker ___ __

[issue17188] Document 'from None' in raise statement doc.

2016-09-12 Thread Thomi Richards
Thomi Richards added the comment: OK, it seems that patch applies cleanly to 3.5 and 3.6. -- ___ Python tracker ___ ___ Python-bugs-li

[issue20140] UnicodeDecodeError in ntpath.py when home dir contains non-ascii signs

2016-09-12 Thread Robert Collins
Robert Collins added the comment: Given two (or more) parameters where one is unicode and one is not, upcasting will occur multiples times in path.join on windows: - '\\' is str and will cast up safely in all codecs - the other str (or bytes) parameter will be upcast using sys.defaultencoding

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

2016-09-12 Thread Duane Griffin
Duane Griffin added the comment: This was fixed in 2.7, 3.5 and head when #15068 was fixed. -- nosy: +duaneg, serhiy.storchaka ___ Python tracker ___

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Tim Mitchell added the comment: see also similar dict issue 27945 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

2016-09-12 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Tim Mitchell added the comment: see also similar dict issue 27945 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

2016-09-12 Thread Josh Rosenberg
Josh Rosenberg added the comment: Ah. System I was working on when I checked this didn't have latest micro release. Guess I can recheck when it gets updated. -- ___ Python tracker _

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Robert Collins
Robert Collins added the comment: Please add the reproducer as a test case (in test_dict.py I think) - even though it needs elementree to trigger it is a dict bug :). I also wonder if there are similar cases lying under other C collections like list, tuple and set. E.g. list.find() calls obj._

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

2016-09-12 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Changes by Tim Mitchell : Added file: http://bugs.python.org/file44611/0001-issue27946-Hold-reference-to-dict-in-PyDict_GetItem.patch ___ Python tracker ___

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Tim Mitchell added the comment: Added test to patch -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue27946] issues in elementtree and elsewhere due to PyDict_GetItem

2016-09-12 Thread Tim Mitchell
Changes by Tim Mitchell : Removed file: http://bugs.python.org/file44605/0001-issue27946-Hold-reference-to-dict-in-PyDict_GetItem.patch ___ Python tracker ___ __

[issue28040] compact dict : SystemError: returned NULL without setting an error.

2016-09-12 Thread INADA Naoki
INADA Naoki added the comment: > So what if we delete mp->ma_used == ix or use mp->ma_keys->dk_nentries == ix? > Do we still have any case breaking the order? Yes. `mp->ma_used == ix` means no more guard about key ordering. class C: ... a, b = C() a.a, a.b = 1, 2 # shared key order is [

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44608/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.5.patch ___ Python tracker ___

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Markus Holtermann added the comment: Since the patch applies cleanly to the 3.5, 3.6 and master branch I only attached one updated version of it. -- Added file: http://bugs.python.org/file44612/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.patch ___

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44610/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.master.patch ___ Python tracker ___ _

[issue25895] urllib.parse.urljoin does not handle WebSocket URLs

2016-09-12 Thread Markus Holtermann
Changes by Markus Holtermann : Removed file: http://bugs.python.org/file44609/0001-Enable-WebSocket-URL-schemes-in-urllib.parse.urljoin.3.6.patch ___ Python tracker ___

[issue15393] JSONDecoder.raw_decode breaks on leading whitespace

2016-09-12 Thread Bayard Randel
Bayard Randel added the comment: I've provided an updated patch for 3.6. Additionally I've updated the docstring for decoder.raw_decode to explain that whitespace at the beginning of the document will be ignored. I believe the concerns around the backwards incompatible change to the function s

<    1   2   3   >