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

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

[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

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

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

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

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

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

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

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

[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. /media/disk/home/proj/python/cpython/Doc/library/configpars

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

[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

[issue27590] tarfile module next() method hides exceptions

2016-07-24 Thread Lars Gustäbel
Lars Gustäbel added the comment: The question is what you're trying to accomplish. If you just want to prevent tarfile from stopping at the first invalid header in order to extract everything following it, you may use the ignore_zeros=True keyword argument. --

[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: Okay, I've updated the doc, and verified that the links work. The releases/3.5.0 directory had problems; it had bad permissions, and was stuck on 3.5.0a3 or something. I blew it away and installed the 3.5.0 final docs from the tarball and set the permissions

[issue27612] socket.gethostbyname resolving octal IP addresses incorrectly

2016-07-24 Thread Matt Robenolt
New submission from Matt Robenolt: This also affects socket.getaddrinfo on macOS only, but is fine on Linux. I've not tested on Windows to see behavior there. Given the IP address `0177...0001`, which is a valid octal format representing `127.0.0.1`, we can see varying results. Confirm

[issue27546] Integrate tkinter and asyncio (and async)

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was thinking of starting (Mon. afternoon/evening, its now 2:40 am) with updating done stats with every done fetcher, updating stat display every second, and listing urls with html body, with a way to view the body. Log to text easy too. Table of connection

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2016-07-24 Thread koobs
koobs added the comment: koobs-freebsd-* 3.x builds are now passing, but I'd like to make an additional (trivial) proposal, and that is: If the tests that were previously failling, aren't *specifically* testing for 'backward compatible' timezone definitions, that the tests that currently use

<    1   2