[issue27601] Minor inaccuracy in hash documentation

2016-07-24 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: Originally I emphasized that this bug occurs at every py3k version since 3.2. For some reason version list somehow shrinked to only tow of them - 3.5 and 3.6. I am very sorry, this is probably my fault. -- resolution: fixed -> status: closed ->

[issue7063] Memory errors in array.array

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab28676df655 by Martin Panter in branch 'default': Issue #7063: Remove dead code from array slice handling https://hg.python.org/cpython/rev/ab28676df655 -- nosy: +python-dev ___ Python tracker

[issue7063] Memory errors in array.array

2016-07-24 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Zachary Ware
Zachary Ware added the comment: I think there are two bugs to be fixed here: 1) as Serhiy said, if tix needs _default_root, it should use it as tkinter._default_root instead of importing it directly 2) test_idle should not permanently modify the tkinter namespace -- nosy: +zach.ware

[issue1621] Do not assume signed integer overflow behavior

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset db93af6080e7 by Martin Panter in branch 'default': Issue #1621: Avoid signed overflow in list and tuple operations https://hg.python.org/cpython/rev/db93af6080e7 -- ___ Python tracker

[issue27581] Fix overflow check in PySequence_Tuple

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad3762227655 by Martin Panter in branch '3.5': Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple() https://hg.python.org/cpython/rev/ad3762227655 New changeset 8f84942a0e40 by Martin Panter in branch 'default': Issue #27581: Merge

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: PS. I recommend this command line to play with tkcrawl.py: python3 tkcrawl.py xkcd.com -q The fetching process takes about 6.8 seconds to fetch 1765 URLs on my machine. The original crawl.py takes 6.2 seconds. I guess the next step would be to hook up the

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Martin Panter
Martin Panter added the comment: I _think_ the system_transitions failure only happens for 32 bit (have to test more to be sure). (My 32-bit environment is lacking many libraries compared to main 64-bit environment, but still uses the same filesystem etc.) First system_transitions failure

[issue27610] Add PEP 514 metadata to Windows installer

2016-07-24 Thread Steve Dower
New submission from Steve Dower: Now PEP 514 is accepted, we need to set more information when installing Python 3.6. -- assignee: steve.dower components: Windows messages: 271197 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title:

[issue27610] Add PEP 514 metadata to Windows installer

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset c6ce1958cebb by Steve Dower in branch 'default': Issue #27610: Adds PEP 514 metadata to Windows installer https://hg.python.org/cpython/rev/c6ce1958cebb -- nosy: +python-dev ___ Python tracker

[issue27610] Add PEP 514 metadata to Windows installer

2016-07-24 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-24 Thread Berker Peksag
Berker Peksag added the comment: I'm attaching Christian's patch at https://marc.info/?l=python-dev=146922730716425=2 as issue27587_pystate_addmodule.diff to make code reviewing easier. -- stage: needs patch -> patch review ___ Python tracker

[issue27587] Issues, reported by PVS-Studio static analyzer

2016-07-24 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file43870/issue27587_pystate_addmodule.diff ___ Python tracker

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Ethan Furman
Ethan Furman added the comment: Sylvia, if you have any control over the name of your zip files, please use something shorter. ;) The files inside are a 'main.py' and a 'module.py' -- notice there is no '__main__.py'. So it can't be executed as 'python3 -m blahblah'. I tried renaming

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Ethan Furman
Ethan Furman added the comment: Oh, forgot to mention I also tried testing as just 'main.py' from inside the test directory (that's what accounted for one of the two error messages). -- ___ Python tracker

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Emanuel Barry
Changes by Emanuel Barry : -- resolution: -> not a bug stage: -> resolved ___ Python tracker ___

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I opened #27609 to keep track of multiple completion issues. Some additions to what I said above. 1. I would like to move the actual fetch code to run.py, since it is normally executed in the user process. See #27534, but also below. 2. Idle currently

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The concern about adding bugs could be alleviated by checking whether the name is in an import statement. But it still might not be in the proper form. I am trying to reduce the run.py import to those actually needed in run.py. I already reduced sys.modules

[issue17238] IDLE: Add import statement completion

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I change 'enhance' to 'add' because there is no 'import completion' now. Ramchandra, when replying by email, delete the quoted email. But do submit a patch even is less than perfect. The idea of autoimporting a name to complete an attribute is separate from

[issue19198] Improve cross-references in cgi documentation

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 128ad410c776 by Terry Jan Reedy in branch 'default': Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete. https://hg.python.org/cpython/rev/128ad410c776 -- ___ Python tracker

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is a bug in tix. _default_root shouldn't be imported, since this is modifiable attribute. -- keywords: +patch stage: -> patch review versions: +Python 2.7, Python 3.5 Added file: http://bugs.python.org/file43871/tix_default_root.patch

[issue26462] Patch to enhance literal block language declaration

2016-07-24 Thread Martin Panter
Changes by Martin Panter : Added file: http://bugs.python.org/file43872/issue26462.v3_regen.diff ___ Python tracker ___

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: That's very helpful. It looks like on a Mac 32-bit build has 64-bit time_t. I'll build a 32-bit Python on Linux tomorrow and try to get to the bottom of this. -- ___ Python tracker

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: Regarding the design of __subclasshook__, these two flaws kind of cancel each other out. The idea is that if you have a "one-trick pony" class whose issubclass() check must verify that the purported sublass implements a specific method (e.g. __hash__), you

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ec47de72538 by Terry Jan Reedy in branch 'default': Issue #27609: Explicitly return None when there are other returns. https://hg.python.org/cpython/rev/1ec47de72538 -- nosy: +python-dev ___ Python

[issue26851] android compilation and link flags

2016-07-24 Thread Martin Panter
Martin Panter added the comment: I left some suggestions and questions on the code review. -- ___ Python tracker ___

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset dca143512f6e by Alexander Belopolsky in branch 'default': Issue 24773: Make zoneinfo tests more robust. (reapply) https://hg.python.org/cpython/rev/dca143512f6e -- ___ Python tracker

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: On what platform did you measure that? On a Mac, with Python 3.5.2, I get very different numbers: tkloop: 9000/sec asloop: 9/sec (about 10x!) tkasyncloop: 2500/sec -- ___ Python tracker

[issue25966] Bug in asyncio.corotuines._format_coroutine

2016-07-24 Thread Berker Peksag
Berker Peksag added the comment: Merged in f4fe55dd5659. -- nosy: +berker.peksag stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue27601] Minor inaccuracy in hash documentation

2016-07-24 Thread Berker Peksag
Berker Peksag added the comment: Looks good to me too. 'hash_value' looks more readable to me, thanks! -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: -Python 3.2, Python 3.3, Python 3.4

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Martin Panter
New submission from Martin Panter: $ ./python -m unittest -v test.test_{idle,tix} . . . test_tix (unittest.loader._FailedTest) ... ERROR == ERROR: test_tix (unittest.loader._FailedTest)

[issue24137] Force not using _default_root in IDLE

2016-07-24 Thread Martin Panter
Martin Panter added the comment: It seems this change causes test_tix to fail for me; see Issue 27611 -- nosy: +martin.panter ___ Python tracker ___

[issue27601] Minor inaccuracy in hash documentation

2016-07-24 Thread Berker Peksag
Berker Peksag added the comment: > I am very sorry, this is probably my fault. It's not your fault :) I removed them. 3.2, 3.3 and 3.4 are in security-fix-only mode so they won't get any documentation updates. You can read https://docs.python.org/devguide/devcycle.html#secbranch for details

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just partly fixed #16198. Anything more depends on a careful definition of desired behavior that turns out to be different from current behavior. -- ___ Python tracker

[issue27607] Importing the main module twice leads to two incompatible instances

2016-07-24 Thread Emanuel Barry
Emanuel Barry added the comment: I'm fairly sure enums aren't related to this issue, so I'm unassigning Ethan (but feel free to self-assign back if you so desire :). As I said on IRC (I'm Vgr), I think that importing a module twice is the problem here, and that PEP 499 is the way to properly

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I could reverse the effect of test_idle calling tk.NoDefaultRoot by adding tk._support_default_root = 1 tk._default_root = None at the very end, but I take Serhiy's comment as suggesting that there should be no need. --

[issue24137] Force not using _default_root in IDLE

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c76f787e695 by Terry Jan Reedy in branch 'default': Issue #24137, issue #27611: Restore tkinter after test_idle. https://hg.python.org/cpython/rev/5c76f787e695 -- ___ Python tracker

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c76f787e695 by Terry Jan Reedy in branch 'default': Issue #24137, issue #27611: Restore tkinter after test_idle. https://hg.python.org/cpython/rev/5c76f787e695 -- nosy: +python-dev ___ Python tracker

[issue27611] test_tix cannot import _default_root after test_idle

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #24137 only patched default, so either too many versions were selected or there is another bug in test_tix. Martin and Serhiy can sort that out. The restore patch I pushed is based on this from tkinter.__init__ - _support_default_root = 1 _default_root =

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Sylvia van Os
Sylvia van Os added the comment: Importing it from a third module indeed works without issues and makes both isinstance() calls return True, yes. -- ___ Python tracker

[issue17238] IDLE: Enhance import statement completion

2016-07-24 Thread Martin Panter
Martin Panter added the comment: Even if your patch isn’t quite ready, it may (have been) better than nothing :) I had the idea to share stuff between Idle completion and Readline completion, but after looking at the Idle code, it did not seem very practical in general. But maybe you can at

[issue27454] PyUnicode_InternInPlace can use PyDict_SetDefault

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3187a157204 by Berker Peksag in branch 'default': Issue #27454: Use PyDict_SetDefault in PyUnicode_InternInPlace https://hg.python.org/cpython/rev/f3187a157204 -- nosy: +python-dev ___ Python tracker

[issue27454] PyUnicode_InternInPlace can use PyDict_SetDefault

2016-07-24 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue27601] Minor inaccuracy in hash documentation

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6be689eacf8 by Berker Peksag in branch '3.5': Issue #27601: Improve example in the "Hashing of numeric types" section https://hg.python.org/cpython/rev/a6be689eacf8 New changeset 06bbcbaeeb18 by Berker Peksag in branch 'default': Issue #27601:

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Windows 10, repository default (3.6), with tcl/tk 8.6.4. I am not sure what to make of your results. I have an impression that tk on Mac was considerably rewritten for 8.6. Ned would know more about that. Which were you using? "print(tkinter.TkVersion)"

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I'm playing with this too. I merged your loop_tk.py example with crawl.py and am attaching the result as tkcrawl.py. I don't like global state so I added root and loop as parameters to a few places. Hopefully you have the asyncio repo checked out so you

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Martin Panter
Martin Panter added the comment: Without blocking the C implementation _datetime, I get both extremes causing OverflowError: >>> import datetime, time, os >>> os.environ["TZ"] = "EST+05EDT,M3.2.0,M11.1.0" >>> time.tzset() >>> t = datetime.datetime(2,1,1) >>> s = t.timestamp() >>> s

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, my tkinter.TkVersion is 8.6. -- ___ Python tracker ___ ___

[issue26462] Patch to enhance literal block language declaration

2016-07-24 Thread Martin Panter
Martin Panter added the comment: With Julien’s patch applied, these are the remaining warnings: /media/disk/home/proj/python/cpython/Doc/library/configparser.rst:240: WARNING: Could not lex literal_block as "ini". Highlighting skipped.

[issue7063] Memory errors in array.array

2016-07-24 Thread Martin Panter
Martin Panter added the comment: The patch looks good to me (assuming it still applies). Should also remove the “b” macro. -- components: +Extension Modules -Library (Lib), Tests nosy: +martin.panter stage: patch review -> commit review ___ Python

[issue1621] Do not assume signed integer overflow behavior

2016-07-24 Thread Xiang Zhang
Xiang Zhang added the comment: It's cool, but I get one problem when writing tests. support.captured_stderr cannot capture the runtime error message. So we have nothing to do with the assertion and the test will always succeed even when overflow does happen (the message will be output). To

[issue27570] Avoid memcpy(. . ., NULL, 0) etc calls

2016-07-24 Thread Martin Panter
Martin Panter added the comment: V2 patch adds another fix, uncovered by recent datetime tests: >>> a = array("B") >>> a[:] = a /media/disk/home/proj/python/cpython/Modules/arraymodule.c:748:5: runtime error: null pointer passed as argument 1, which is declared to never be null

[issue27366] PEP487: Simpler customization of class creation

2016-07-24 Thread Nick Coghlan
Nick Coghlan added the comment: Martin's current implementation basically looks good to me - I've mainly suggested some changes to the documentation and additional test cases that help stress test some of the more complex inheritance hierarchies described above, although there are a few other

[issue27582] Mispositioned SyntaxError caret for unknown code points

2016-07-24 Thread Nick Coghlan
Nick Coghlan added the comment: Drekin, agreed, that looks like the same problem. Since this one has draft patches attached, I'll mark the other one as a duplicate. -- ___ Python tracker

[issue1621] Do not assume signed integer overflow behavior

2016-07-24 Thread Martin Panter
Martin Panter added the comment: Xiang: I don’t think we need to make the tests do anything special. Just make sure they exercise the code that handles overflows. I have been running the test suite without any -j0 option, and I can look over the output and see the error messages. Or if we get

[issue1621] Do not assume signed integer overflow behavior

2016-07-24 Thread Martin Panter
Martin Panter added the comment: unicode.patch avoids an overflow in PyUnicode_Join(): >>> size = int(sys.maxsize**0.5) + 1 >>> "".join(("A" * size,) * size) Objects/unicodeobject.c:9927:12: runtime error: signed integer overflow: 46341 + 2147441940 cannot be represented in type 'int'

[issue27605] Inconsistent calls to __eq__ from built-in __contains__

2016-07-24 Thread Vasiliy Faronov
New submission from Vasiliy Faronov: Consider the attached example program. I expect it to run successfully, because the Python 3 language reference says [1]: > For container types such as list, tuple, set, frozenset, dict, or > collections.deque, the expression `x in y` is equivalent to

[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2016-07-24 Thread Xiang Zhang
Xiang Zhang added the comment: Ping again. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27581] Fix overflow check in PySequence_Tuple

2016-07-24 Thread Martin Panter
Martin Panter added the comment: I don’t accept that the bltinmodule.c code is similar to your patch. It gets a size_t from calling strlen() on a string that potentially comes from outside Python, so it is definitely valid to check for PY_SSIZE_T_MAX. However I did find PyByteArray_Resize()

[issue26823] Shrink recursive tracebacks

2016-07-24 Thread Nick Coghlan
Nick Coghlan added the comment: Since you're ultimately comparing a list of lines, it may be useful to split the checks into two parts: 1. Check the deterministic lines 2. Check the variable line (which should always be at index -2 in the splitlines() result) For the recursion error, we're

[issue27605] Inconsistent calls to __eq__ from built-in __contains__

2016-07-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for "approximately equivalent". The "conceptually equivalent" wording raises more questions in my mind than it answers. What we're really trying to say here is that for typically symmetric operations such as __eq__(), an implementation is free to

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > the time_t OverflowError The issue here is that for a large date, dt.timestamp() returns a float large enough to cause overflow in fromtimestamp. > Let me know if you want any more info. Can you figure out what date causes this (0002-01-01 or

[issue26944] android: test_posix fails

2016-07-24 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +haypo stage: patch review -> commit review ___ Python tracker ___

[issue27598] Add SizedIterable to collections.abc and typing

2016-07-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: In putting together a patch for this, I noticed that the __subclasshook__ classmethods don't compose well. I'm unclear about the semantics about what these hooks are supposed to mean for subclasses and whether there is a bug in the existing code for Set,

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin
New submission from Aleksandr Koshkin: For some reason >>> 'µ'.upper().lower() == 'µ' False -- components: Unicode messages: 271174 nosy: ezio.melotti, haypo, magniff priority: normal severity: normal status: open title: Something wrong with str.upper().lower() chain? type: behavior

[issue27605] Inconsistent calls to __eq__ from built-in __contains__

2016-07-24 Thread R. David Murray
R. David Murray added the comment: I did look at the code. Indeed list and tuple compare x to e, while dict, set, and frozenset (well, I didn't check each one, just list and set) compare the e to x, where e is they key stored at hash(x). Steve has a good point about the iteration. And a

[issue26823] Shrink recursive tracebacks

2016-07-24 Thread Emanuel Barry
Emanuel Barry added the comment: Alright, I think this works now. No more magic number, just some regex as well as checking that the number is in range(sys.getrecursionlimit()-50, sys.getrecursionlimit()) :) -- Added file: http://bugs.python.org/file43866/short_tracebacks_7.patch

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Sylvia van Os
New submission from Sylvia van Os: If main imports another file, and this file imports an Enum class from main, isinstance will return false for Enum variables set in this file, causing the Enums to never match. A proof of concept is added as a zip. I thank Kwpolska for simplifying my

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: Note, that >>> ord('µ') 181 there is another Mu like symbol chr(956), on which this code passes -- ___ Python tracker

[issue8623] Aliasing warnings in socketmodule.c

2016-07-24 Thread Martin Panter
Martin Panter added the comment: I think the time for backporting to 3.2 has passed. Is there anything else to do for this report? -- nosy: +martin.panter versions: -Python 3.2 ___ Python tracker

[issue26546] Provide translated french translation on docs.python.org

2016-07-24 Thread Julien
Julien added the comment: I'm on the way of simplifying my [pull request for docsbuild-script](https://github.com/python/docsbuild-scripts/pull/1) with two goals in mind: - Simplify to make it more robust - Avoid executing external (~untrusted) Makefile on docs.python.org servers To

[issue8623] Aliasing warnings in socketmodule.c

2016-07-24 Thread Martin Panter
Martin Panter added the comment: The Modules/_multiprocessing/multiprocessing.c code was removed in 3.3 (Issue 12981). Therefore I am calling this fixed. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python

[issue27366] PEP487: Simpler customization of class creation

2016-07-24 Thread Guido van Rossum
Guido van Rossum added the comment: That's a no from me. On Sunday, July 24, 2016, Martin Teichmann wrote: > > Martin Teichmann added the comment: > > Thanks for the nice review! > > I made the proposed changes, see attached patch. > > I am still waiting for a decision

[issue27493] logging module fails with unclear error when supplied a (Posix)Path

2016-07-24 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker ___ ___

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +ethan.furman ___ Python tracker ___ ___

[issue27604] More details about `-O` flag

2016-07-24 Thread Brett Cannon
Brett Cannon added the comment: No, there are only the two optimizations, but I think historically the vagueness has been on purpose to allow us to add appropriate optimizations without breaking backwards-compatibility with what is documented. -- nosy: +brett.cannon

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> ethan.furman ___ Python tracker ___

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2016-07-24 Thread Ned Deily
Ned Deily added the comment: "Perhaps related is that the list at only goes up to 3.4.3." That page is manually updated by the release managers. Note that there are entries on the page for the most recent 2.7.x releases, 2.7.11 and 2.7.12, and the

[issue27605] Inconsistent calls to __eq__ from built-in __contains__

2016-07-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___

[issue10036] compiler warnings for various modules on Linux buildslaves

2016-07-24 Thread Martin Panter
Martin Panter added the comment: The three unused results in Modules/_posixsubprocess.c are probably fixed by revision dd18cccb55b0. The Modules/socketmodule.c pointer aliasing was addressed in 3.3 by Issue 8623, and the Modules/_multiprocessing/multiprocessing.c type-punning has been

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Looking at the stable buildbots. http://buildbot.python.org/all/waterfall?category=3.x.stable AMD64 OpenIndiana 3.x - unrelated failures AMD64 Snow Leop 3.x - crash in test_all / system_transitions PPC64 Fedora 3.x - fail in test_all Africa/El_Aaiun

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2016-07-24 Thread Larry Hastings
Larry Hastings added the comment: I can fix it. Are instructions on how to update that in PEP 101 and I missed it? (Do you know where it is in the Django maze of twisty little passages?) -- ___ Python tracker

[issue22557] Local import is too slow

2016-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems not all such easy. Looking in sys.module is not enough, we should check __spec__._initializing. Following patch moves optimizations to PyImport_ImportModuleLevelObject (C implementation of standard __import__). Main optimizations: 1.

[issue22554] Idle: optionally auto-pop-up completion window for names

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The extension configuration was added a couple weeks after this was opened. The idea of the second message is that new popup should be optional even when completions are enabled. -- ___ Python tracker

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add dependencies. Last two, #27099 and #27534 involve multiple files and should be removed from this autocomplete list when autocomplete part is done. -- dependencies: +IDLE - tabbing in a string always brings up file completion window, IDLE code

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I left it open so that Ethan would get a chance to see anything related to Enum. -- nosy: +rhettinger ___ Python tracker

[issue25170] 3.4.4, 3.4.5, 3.5.0, 3.5.1, 3.5.2 documentation archives missing

2016-07-24 Thread Ned Deily
Ned Deily added the comment: Larry, I updated PEP 101 to reflect I think are the steps required for this with the new website; the doc upload instructions are already in PEP 101. I'm sure it is still missing some steps. Feel free to improve!

[issue27607] Enums never match if imported from another file

2016-07-24 Thread R. David Murray
R. David Murray added the comment: This is a consequence of the way __main__ works. You actually have two separate instances of the Enum class. If there is a fix for this it would be that PEP, so I'm not sure there is any point in keeping this issue open. -- nosy: +r.david.murray

[issue27607] Enums never match if imported from another file

2016-07-24 Thread R. David Murray
R. David Murray added the comment: Certainly reporting it is fine, if nothing else it gives a record for someone else searching for the same problem. I'm not certain why Raymond left the issue open, so I'm not closing it myself :) -- ___ Python

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae19ea7c36e6 by Alexander Belopolsky in branch 'default': Issue #24773: Made ZoneInfoCompleteTest a TestSuit. https://hg.python.org/cpython/rev/ae19ea7c36e6 -- ___ Python tracker

[issue27604] More details about `-O` flag

2016-07-24 Thread Ram Rachum
Ram Rachum added the comment: So... The reasoning is that if someone adds optimizations to Python's `-O` mode (Something that hasn't happened in the last decade or two, right?) we want to save them from going to the trouble of writing two or three sentences in the docs describing the

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here is a little more detail on what is occurring: >>> from unicodedata import * >>> c = 'µ' >>> for s in (c, c.lower(), c.upper(), c.lower().upper(), c.upper().lower()): print(s, ord(s), name(s), category(s)) µ 181 MICRO SIGN Ll µ 181 MICRO

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: So, yes, unicode table seems to be a bit inconsistent. In str documentation it worth to emphasize that something.upper().lower() in general not equals to something. -- ___ Python tracker

[issue27604] More details about `-O` flag

2016-07-24 Thread Brett Cannon
Brett Cannon added the comment: Two things. One, I don't know if you meant for your comment to come off as antagonistic, but it did. Two, a patch is fine as long as it makes it clear that what optimizations are activated by the flag could change with no backwards-compatibility guarantees.

[issue27608] Something wrong with str.upper().lower() chain?

2016-07-24 Thread Aleksandr Koshkin
Aleksandr Koshkin added the comment: Conclusion made: not a bug (not a python bug at least). -- status: open -> closed ___ Python tracker ___

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: IDLE completions are currently implemented in two files: autocomplete.py and autocomplete_w.py. (Before 3.6, these were AutoComplete.py and AutoCompleteWindow.py.) The first handles 'open' events, decideds whether to open a window, and gathers possible

[issue27607] Enums never match if imported from another file

2016-07-24 Thread Sylvia van Os
Sylvia van Os added the comment: For what it's worth, I am not opposed to having this issue closed. As I am new to reporting anything on the Python issue tracker and was uncertain on how relevant the PEP in question was, I figured it would be better to report this anyway just in case.

[issue27606] Android cross-built for armv5te with clang and '-mthumb' crashes with SIGSEGV or SIGILL

2016-07-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: The reference to '-mthumb' in the ndk documentation: https://developer.android.com/ndk/guides/standalone_toolchain.html#abi. -- ___ Python tracker

[issue1621] Do not assume signed integer overflow behavior

2016-07-24 Thread Xiang Zhang
Xiang Zhang added the comment: It turns out you just want to see the output. That is easy. Patch v3 adding the test. -- Added file: http://bugs.python.org/file43862/tuple_and_list_v3.patch ___ Python tracker

[issue15303] Minor revision to the method in Tkinter

2016-07-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka type: behavior -> enhancement versions: +Python 3.6 -Python 3.4 ___ Python tracker

  1   2   >