[issue30981] IDLE: Add config dialog font page tests

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2844 ___ Python tracker ___ ___

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ac5c1e2ea311d11714f89476c86936f9388d19a4 by Terry Jan Reedy in branch '3.6': [3.6] bpo-28523: IDLE: Use 'color' instead of 'colour'. (GH-2787) (#2791) https://github.com/python/cpython/commit/ac5c1e2ea311d11714f89476c86936f9388d19a4 --

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread nicholas kobald
Changes by nicholas kobald : -- pull_requests: +2843 ___ Python tracker ___ ___

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread nicholas kobald
Changes by nicholas kobald : -- pull_requests: +2842 ___ Python tracker ___ ___

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2841 ___ Python tracker ___ ___

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a54a8f188a803cd41bdc8758c10d34ba3328c566 by Terry Jan Reedy in branch 'master': bpo-28523: IDLE: Use 'color' instead of 'colour'. (#2787) https://github.com/python/cpython/commit/a54a8f188a803cd41bdc8758c10d34ba3328c566 --

[issue30978] str.format_map() silences exceptions in __getitem__

2017-07-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one consequence: this swallows KeyboardInterrupt and converts it to KeyError. -- components: +Interpreter Core, Unicode nosy: +ezio.melotti, haypo, serhiy.storchaka stage: -> patch review versions: +Python 3.6 -Python 3.3, Python 3.4

[issue30978] str.format_map() silences exceptions in __getitem__

2017-07-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2840 ___ Python tracker ___ ___

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: needs patch -> backport needed ___ Python tracker ___

[issue30959] Constructor signature is duplicated in the help of namedtuples

2017-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Pydoc isn't the only tool for looking at docstrings. I'm worried that you're systematically killing-off useful docstrings because of a world view that all tools will use pydoc and signatures. As a result, IDLE's tooltips are now useless (this comes up

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset b3527bfefd7a0188d43a2d7515ac6addd97a8202 by Nick Coghlan (Nicholas) in branch 'master': bpo-30964: Mention ensurepip in package installation docs (GH-2786) https://github.com/python/cpython/commit/b3527bfefd7a0188d43a2d7515ac6addd97a8202

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- dependencies: +IDLE: Add config dialog font page tests ___ Python tracker ___

[issue30466] Tutorial doesn't explain the use of classes

2017-07-20 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30466] Tutorial doesn't explain the use of classes

2017-07-20 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset ef4231adb7aa6b323c94e854ac3dc3bebc841115 by Mariatta (Trey Hunner) in branch '3.6': bpo-30466: Add brief explanation of classes to tutorial (GH-1804) (GH-2700) https://github.com/python/cpython/commit/ef4231adb7aa6b323c94e854ac3dc3bebc841115

[issue24776] IDLE: Improve config dialog font change user interface

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided to rearrange page #24776 before changing sample #13802. -- dependencies: +IDLE: Add config dialog font page tests -IDLE Prefernces/Fonts: use multiple alphabets in examples ___ Python tracker

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided to rearrange page #24776 before changing sample #13802. -- dependencies: +IDLE: Improve config dialog font change user interface ___ Python tracker

[issue30981] IDLE: Add config dialog font page tests

2017-07-20 Thread Terry J. Reedy
New submission from Terry J. Reedy: I am working on this. * Change 'test_highlight_sample' to 'highlight_sample. * Change 'set_font_sample()' to 'set_samples()', since it also changes highlight_sample, and test. * Add gui event test for 'bold' checkbutton. * Perhaps add gui event test for size

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue30870] IDLE: configdialog/fonts: change font when select by key up/down

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this as basically complete. I opened #30981 to add and perhaps complete font page tests. -- ___ Python tracker

[issue30981] IDLE: Add config dialog font page tests

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: terry.reedy components: IDLE nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: IDLE: Add config dialog font page tests type: enhancement versions: Python 3.6, Python 3.7

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. I will see what that does. -- ___ Python tracker ___ ___

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread Louie Lu
Louie Lu added the comment: For the problem about the small name in git log Author, if you want to changed it, it will need to setup at https://github.com/settings/profile and update the first column "Name". I think this is because we merged on GitHub, and GitHub ignores the git author but

[issue30977] reduce uuid.UUID() memory footprint

2017-07-20 Thread Nir Soffer
Nir Soffer added the comment: This saves memory, but using str(uuid.uuid4()) requires even less memory. If you really want to save memory, you can keep the uuid.uuid4().int. Can you explain someone would like to have 100 uuid objects, instead of 100 strings? What is the advantage of

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 287c5594edc1ca08db64d1f4739cc36bfe75ae75 by Victor Stinner (Utkarsh Upadhyay) in branch 'master': bpo-30822: Fix testing of datetime module. (#2530) (#2783) https://github.com/python/cpython/commit/287c5594edc1ca08db64d1f4739cc36bfe75ae75

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 80ebc438ed377f8c6491e8887425526c6787c0e7 by Victor Stinner in branch '2.7': bpo-30822: regrtest: fix -u extralargefile (#2788) https://github.com/python/cpython/commit/80ebc438ed377f8c6491e8887425526c6787c0e7 --

[issue30931] Race condition in asyncore may access the wrong dispatcher

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- versions: -Python 3.3, Python 3.4 ___ Python tracker ___

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-20 Thread Nir Soffer
Changes by Nir Soffer : -- pull_requests: +2839 ___ Python tracker ___ ___ Python-bugs-list

[issue30979] the winapi fails to run shortcuts (because considers a shortcut not a valid Win32App)

2017-07-20 Thread Eryk Sun
Eryk Sun added the comment: subprocess.Popen calls WinAPI CreateProcess, which can execute PE/COFF executables and .BAT/.CMD batch scripts. It doesn't know anything about .LNK shell shortcuts. If CreateProcess fails, a Windows shell (e.g. CMD or PowerShell) tries ShellExecuteEx, which knows

[issue30980] Calling asyncore.file_wrapper.close twice may close unrelated file descriptor

2017-07-20 Thread Nir Soffer
New submission from Nir Soffer: Commit 4d4c69dc35154a9c21fed1b6b4088e741fbc6ae6 added protection for double close in file_wrapper.close, but the test did not consider that fact that file_wrapper is dupping the file descriptor, making the test ineffective. >>> fd1, fd2 = os.pipe() >>> f =

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2838 ___ Python tracker ___ ___

[issue30979] the winapi fails to run shortcuts (because considers a shortcut not a valid Win32App)

2017-07-20 Thread Bernát Gábor
New submission from Bernát Gábor: Although python27.exe.lnk is callable from any command line tool, with any of its arguments the subprocess module thinks it's not a valid Win32 application. Proof, let there be python27.exe.lnk be a shortcut to python.exe: C:\Python27 λ ls python* python.exe*

[issue25988] collections.abc.Indexable

2017-07-20 Thread Guido van Rossum
Guido van Rossum added the comment: At least one use of Indexable (by whatever name, but this rolls off the tongue the easiest) would be the metaclass in typing.py that allows one to write List[int] -- there's no containter here! The "drowning out" seems purely subjective -- perhaps if you

[issue30978] str.format_map() silences exceptions in __getitem__

2017-07-20 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2017-07-20 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2837 ___ Python tracker ___ ___

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2017-07-20 Thread Charles Wohlganger
Charles Wohlganger added the comment: I've uploaded a test file and updated ParenClose. -- Added file: http://bugs.python.org/file47030/ParenClose.py ___ Python tracker

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2017-07-20 Thread Charles Wohlganger
Changes by Charles Wohlganger : Added file: http://bugs.python.org/file47029/test_parenclose.py ___ Python tracker ___

[issue30917] IDLE: Add idlelib.config.IdleConf unittest

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR2769 is the fix for master for test_get_font for #30968. The listing here is a cross-reference. The fix was incorporated into the 3.6 backport PR2753 before it was merged. This issue is closed, having increased coverage from 46% to 96%. Further work on

[issue29284] Include thread_name_prefix in the concurrent.futures.ThreadPoolExecutor example 17.4.2.1

2017-07-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi John, Would you be able to make a GitHub pull request for your change? Since CPython development has moved to GitHub, you may have a better chance of a review with a PR. -- nosy: +csabella ___ Python tracker

[issue30978] str.format_map() silences exceptions in __getitem__

2017-07-20 Thread Akuli
New submission from Akuli: Example: class BrokenMapping: def __getitem__(self, key): 1/0 # this silences the ZeroDivisionError and raises KeyError('world') 'hello {world}'.format_map(BrokenMapping()) I have tried this on several different CPython versions

[issue30973] Regular expression "hangs" interpreter

2017-07-20 Thread Matthew Barnett
Matthew Barnett added the comment: The regex module is much better in this respect, but it's not foolproof. With this particular example it completes quickly. -- ___ Python tracker

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread nicholas kobald
Changes by nicholas kobald : -- pull_requests: +2836 ___ Python tracker ___ ___

[issue30976] multiprocessing.Process.is_alive can show True for dead processes

2017-07-20 Thread Mick Phillips
Mick Phillips added the comment: Yep - apologies, my mistake. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue30576] http.server should support HTTP compression (gzip)

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I saw the python-ideas post. I have no experience with http.server, but I just read the doc, and know something of our general enhancement policies. I hope these comments help. There are two questions: Should compression support be added to http.server?

[issue30231] test_imaplib needs a TLS server accepting self-signed certificates

2017-07-20 Thread Ned Deily
Ned Deily added the comment: New changeset b5f20ea91ec4d9dc7e1c31629903888c651bd02c by Ned Deily (Victor Stinner) in branch '3.3': [3.3] Backport CI config from master and remove skipped imaplib tests (#2481) https://github.com/python/cpython/commit/b5f20ea91ec4d9dc7e1c31629903888c651bd02c

[issue30964] Mention ensurepip in package installation docs

2017-07-20 Thread Nicholas P Kobald
Nicholas P Kobald added the comment: Should this section refer to https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel as well? -- nosy: +Nickk ___ Python tracker

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: Terry J. Reedy: I don't understand 'format your name' as there is no formatting that I did. GitHub picks your commits unchanged. Git picks your name from your .gitconfig configuration file, global $HOME/.gitconfig or local /.gitconfig. It's just that I saw

[issue27099] IDLE: turn builting extensions into regular modules

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Same place is good for now as testing will be easier. Moving menu items will be a separate issue later. -- ___ Python tracker

[issue30977] reduce uuid.UUID() memory footprint

2017-07-20 Thread Wouter Bolsterlee
Wouter Bolsterlee added the comment: as a follow-up note, i also experimented with keeping the actual value as a bytes object instead of an integer, but that does not lead to less memory being used: a 128-bit integer uses less memory than a 16 byte bytes object (presumably because

[issue30977] reduce uuid.UUID() memory footprint

2017-07-20 Thread Wouter Bolsterlee
New submission from Wouter Bolsterlee: memory usage for uuid.UUID seems larger than it has to be. it seems that using __slots__ will save around ~100 bytes per instance, which is very significant, e.g. when dealing with large sets of uuids (which are often used as "primary keys" into external

[issue30977] reduce uuid.UUID() memory footprint

2017-07-20 Thread Wouter Bolsterlee
Changes by Wouter Bolsterlee : -- pull_requests: +2835 ___ Python tracker ___ ___

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will try to look at the first line more carefully before hitting the 2nd green button. -- ___ Python tracker ___

[issue30976] multiprocessing.Process.is_alive can show True for dead processes

2017-07-20 Thread Gareth Rees
Gareth Rees added the comment: This is a race condition — when os.kill returns, that means that the signal has been delivered, but it does not mean that the subprocess has exited yet. You can see this by inserting a sleep after the kill and before the liveness check:

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't understand 'format your name' as there is no formatting that I did. Github copies account name and email as they are. I have no idea about commit message. The PR title has no extra spaces. But github does not always copy correctly. --

[issue25988] collections.abc.Indexable

2017-07-20 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Raymond, > The existence of use ABCs like MutableMapping is being drowned-out by > one-trick-ponies. We're developing an unfavorable ratio of theoretical > building blocks versus the practical tools. Why do you think they are "theoretical"? FWIW, a simple

[issue29284] Include thread_name_prefix in the concurrent.futures.ThreadPoolExecutor example 17.4.2.1

2017-07-20 Thread John Taylor
John Taylor added the comment: Bump -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread Utkarsh Upadhyay
Changes by Utkarsh Upadhyay : -- pull_requests: +2834 ___ Python tracker ___ ___

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset bf3a1e973b49236e6f267cca135d36290568e6a4 by Victor Stinner in branch '3.5': bpo-30822: regrtest: remove tzdata (#2782) https://github.com/python/cpython/commit/bf3a1e973b49236e6f267cca135d36290568e6a4 --

[issue30974] Update os.samefile docstring to match documentation

2017-07-20 Thread R. David Murray
R. David Murray added the comment: I would take "actual file" as meaning the file the symlink points to, so I'd say the documentation matches the implementation according to your description of the two. The current docs actually say "refer to the same file or directory", and mention os.stat

[issue28638] Optimize namedtuple creation

2017-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: > it would be *nice* to not only optimization the creation > but also attribute access by name FWIW, once the property/itemgetter pair are instantiated in the NT class, the actual lookup runs through them at C speed (no pure python steps). There is not

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: (Oops, I gone too fast in my 3.5 backport. tzdata was only introduced in Python 3.6, for me it was something older. I wrote a new fix for 3.5, to only add extralargefile, but don't add tzdata.) -- ___ Python

[issue25988] collections.abc.Indexable

2017-07-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: IIRC, the original motivation for ABCs was to differentiate distinct uses of __getitem__ (we forever struggled with differentiating sequences from mapping). It seems to me that this proposal is a step backwards. Other than a feeling of lightness, I don't

[issue30973] Regular expression "hangs" interpreter

2017-07-20 Thread R. David Murray
R. David Murray added the comment: Right. We don't try to fix handling these kinds of exponential expressions. This is a case of "don't do that" :) (I don't know if the regex module is better at "handling" this kind of regex bug.) -- nosy: +r.david.murray resolution: -> wont fix

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2833 ___ Python tracker ___ ___

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 645e503ba58086c7f51eda4d025743f2afc05a2a by Victor Stinner in branch '3.5': bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2781) https://github.com/python/cpython/commit/645e503ba58086c7f51eda4d025743f2afc05a2a --

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 96ef06f3979023fd69ed8796d0b1d5d3ae4d by Victor Stinner in branch '3.6': bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777) https://github.com/python/cpython/commit/96ef06f3979023fd69ed8796d0b1d5d3ae4d --

[issue30976] multiprocessing.Process.is_alive can show True for dead processes

2017-07-20 Thread Mick Phillips
New submission from Mick Phillips: multiprocessing.Process.is_alive() returns True for processes that have been killed. See attached for example. Workaround: also test against psutils.pid_exists. -- components: Windows files: alive.py messages: 298724 nosy: davin, mickp, paul.moore,

[issue30975] multiprocessing.Condition.notify_all() blocks indefinitely if a process waiting on it has died

2017-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2832 ___ Python tracker ___ ___

[issue27099] IDLE: turn builting extensions into regular modules

2017-07-20 Thread Charles Wohlganger
Charles Wohlganger added the comment: Menus items were placed where they appeared as extensions. It would be no difficulty for me to move them around. -- ___ Python tracker

[issue30975] multiprocessing.Condition.notify_all() blocks indefinitely if a process waiting on it has died

2017-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: As a matter of fact, the bug is in Condition (which is used by Event.wait() but not by Event.is_set(), hence your workaround). Here is a reproducer script. This looks like a hard issue to solve. There is no way to know whether a process that used to be

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2831 ___ Python tracker ___ ___

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6 by Victor Stinner in branch 'master': bpo-30822: Exclude tzdata from regrtest --all (#2775) https://github.com/python/cpython/commit/5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6 --

[issue30975] Multiprocessing: Event.set() blocks indefinitely if a process waiting on it has died.

2017-07-20 Thread Mick Phillips
Mick Phillips added the comment: Thanks for confirming. If anyone finds this and is looking for a workaround, here's what I'm using: while not event.is_set() try: time.sleep(timeout) except (KeyboardInterrupt, IOError): pass --

[issue30975] Multiprocessing: Event.set() blocks indefinitely if a process waiting on it has died.

2017-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hi Mick, thanks for reporting this issue. You're right that the behaviour isn't expected. -- nosy: +pitrou stage: -> needs patch versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue30966] multiprocessing.queues.SimpleQueue leaks 2 fds

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2830 ___ Python tracker ___ ___

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2017-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Cécile, thank you. The reason the message is still displayed is that I turned the error into a warning (in other words, it is expected). -- ___ Python tracker

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka: "If testing with -u tzdata is such expensive, tzdata can be excluded from all resources." I agree, I wrote a PR for that: https://github.com/python/cpython/pull/2775 I like using "-u all" without having to remind that a specific resource

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2017-07-20 Thread Cecile Tonglet
Cecile Tonglet added the comment: Sure! It seems to work, the process returns an exit code of 0 and I see no traceback but the message is still displayed in the terminal. (Also I did something weird because your patch applies on branch master and I ran it with Python 3.6... I suppose it

[issue30973] Regular expression "hangs" interpreter

2017-07-20 Thread Gareth Rees
Gareth Rees added the comment: This is the usual exponential backtracking behaviour of Python's regex engine. The problem is that the regex (?:[^*]+|\*[^/])* can match against a string in exponentially many ways, and Python's regex engine tries all of them before giving up. --

[issue30822] Python implementation of datetime module is not being tested correctly.

2017-07-20 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2829 ___ Python tracker ___ ___

[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2017-07-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Cécile, could you try the following patch? I have no easy way to test here. -- keywords: +patch Added file: http://bugs.python.org/file47026/eaddrnotavail_asyncio.patch ___ Python tracker

[issue30975] Multiprocessing: Event.set() blocks indefinitely if a process waiting on it has died.

2017-07-20 Thread Mick Phillips
New submission from Mick Phillips: If a process was waiting on an Event but dies for some reason, nothing else can set the Event. I think the Event._cond lock can not be acquired. See attached for a demonstration. I see the same behaviour in Python 2.7.5 and Python 3.5.2. Is this expected

[issue25988] collections.abc.Indexable

2017-07-20 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: The last few weeks something bothered while working on Protocols PEP: protocols should be ideally compact (and PEP already emphasizes this). However, the only potential candidates for __getitem__ are Sequence and Mapping, that are both quite bulky (half dozen

[issue10544] yield expression inside generator expression does nothing

2017-07-20 Thread Ivan Levkivskyi
Changes by Ivan Levkivskyi : -- assignee: -> levkivskyi ___ Python tracker ___ ___

[issue30968] test_get_font (idlelib.idle_test.test_config.IdleConfTest) failure on x86 Windows7 3.x

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: Terry: FYI your commit message starts with multiple spaces. I would also suggest you to format your name as you did previously: "Terry Jan Reedy". commit 9f9192afbb4e45d09f0d3d717b457d157dc46398 Author: terryjreedy Date: Wed Jul 19

[issue30883] test_urllib2net failed on s390x Debian 3.6: ftp.debian.org error, too many connections from your internet address

2017-07-20 Thread STINNER Victor
STINNER Victor added the comment: Oh, I didn't know that pythontest.net had a FTP server. Cool! Thank you for the fix ;-) -- ___ Python tracker ___

[issue10544] yield expression inside generator expression does nothing

2017-07-20 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- nosy: +Jim Fasarakis-Hilliard ___ Python tracker ___

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-07-20 Thread Andrew Jaffe
Andrew Jaffe added the comment: 10.12.6 is out and the bug appears to be fixed... -- resolution: out of date -> third party status: pending -> closed ___ Python tracker

[issue30974] os.samefile / shutil._samefile: following symlinks

2017-07-20 Thread Marcel Partap
New submission from Marcel Partap: Don't know whether it should be considered a documentation or behavioral issue, but os.samefile calls os.stat() on given files, following symlinks. Does this really "test whether two pathnames reference the same actual file"? I'd consider os.lstat() more