[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f by Victor Stinner in branch 'master': bpo-30320: test_eintr now uses pthread_sigmask() (#1523) https://github.com/python/cpython/commit/211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f -- ___

[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-09 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1623 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30324] Error using newline='' when writing to CSV file

2017-05-09 Thread BeamPower
BeamPower added the comment: Sorry, my mistake. I thought I was running Python 2.7, but I was running Python 3.1. By the way, is there a solution to the extra lines being written to a CSV file using Python 2.7? Thank you. -- ___ Python tracker

[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

2017-05-09 Thread Marc Culler
Marc Culler added the comment: The attached patch simply decodes string options to the Font._set() method using the utf8 codec. Other options (which will be numbers) are converted to ascii strings as currently happens. This makes it possible to use the Font.copy() method without raising an e

[issue30324] Error using newline='' when writing to CSV file

2017-05-09 Thread Martin Panter
Martin Panter added the comment: On Python 2, I'm guessing you are getting extra CRs on Windows? It looks like you have to open in binary mode there to avoid newline translation. This is documented for the "reader" and "writer" functions. -- ___ Pyt

[issue30289] make distclean and Misc/python-config.sh

2017-05-09 Thread Xiang Zhang
Xiang Zhang added the comment: I know, but this is not a bug. So I only want to backport it to 3.6. -- versions: -Python 3.5 ___ Python tracker ___ _

[issue30298] Weak deprecations for inline regular expression modifiers

2017-05-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 305ccbe27ea5ba82fd2d8c32ec739f980e524330 by Serhiy Storchaka in branch 'master': bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (#1490) https://github.com/python/cpython/commit/305ccbe27ea5ba82fd2d8c32ec739f980e52

[issue30298] Weak deprecations for inline regular expression modifiers

2017-05-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1624 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-09 Thread Louie Lu
Louie Lu added the comment: The step after installing newer Tk will require `make clean` and `make` again to let linker link to the recent install version. I can freeze the cursor after double click on any version of Tk I install, 8.5.9 / 8.5.18 / 8.6.4 on MacOS Sierra. Maybe we should separa

[issue30298] Weak deprecations for inline regular expression modifiers

2017-05-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 418d60a52579b6847776db3e354a8660b26dc752 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (GH-1490) (#1525) https://github.com/python/cpython/commit/418d60a52579b6847776db3

[issue30298] Weak deprecations for inline regular expression modifiers

2017-05-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Raymond. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-09 Thread Louie Lu
Louie Lu added the comment: @Terry, this is another too-fast-to-destroy problem. The latest PR commit has fixed the issue on MacOS. When we double click on autocompletewindow, it will try to focusOut autocompletewindow then focusOn widget.text, but, we destroy too fast, after destroy, tk can'

[issue29243] --enable-optimizations makes common build commands always need to compile from scratch

2017-05-09 Thread Xiang Zhang
Xiang Zhang added the comment: So now we have to run make if we want to trigger the profile procedure since other make commands like make test won't trigger the procedure by itself, right? -- ___ Python tracker __

[issue25652] collections.UserString.__rmod__() raises NameError

2017-05-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Unless there are objections, I think the wisest course is to remove __rmod__ entirely (refuse the temptation to guess at what the user would expect the semantics to be). -- ___ Python tracker

[issue30230] Move quick test in PyObject_IsSubClass outside of PyType_CheckExact guard

2017-05-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will deeply grokking this code, I would say to leave it alone. The test seems reasonable and is very fast (likely free of cost on many machines). -- nosy: +georg.brandl, pitrou priority: normal -> low ___ Python

[issue30326] Version may be out of date in travis.yml

2017-05-09 Thread Jensen Taylor
New submission from Jensen Taylor: It's only 3.6. I may be talking nonsense but it didn't quite look right -- components: Build, Tests messages: 293380 nosy: Jensen Taylor priority: normal severity: normal status: open title: Version may be out of date in travis.yml type: behavior versio

[issue30327] Version may be out of date in travis.yml

2017-05-09 Thread Jensen Taylor
New submission from Jensen Taylor: It's only 3.6. I may be talking nonsense but it didn't quite look right -- components: Build, Tests messages: 293381 nosy: Jensen Taylor priority: normal severity: normal status: open title: Version may be out of date in travis.yml type: behavior versio

[issue30326] Version may be out of date in travis.yml

2017-05-09 Thread Jensen Taylor
Changes by Jensen Taylor : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue30327] Version may be out of date in travis.yml

2017-05-09 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1625 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30306] release arguments of contextmanager

2017-05-09 Thread Martin Teichmann
Martin Teichmann added the comment: I personally prefer the current situation. The problem is the following: when an @contextmanager is first called, we don't know yet whether the user wants to use it directly, or as a decorator, so we have to have some kind of hybrid class. Once it's used as

[issue30320] test_eintr.test_sigwaitinfo(): race condition on AMD64 FreeBSD 10.x Shared 3.6

2017-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 81ed53784608d44a8d196ad52288b55c7bf665db by Victor Stinner in branch '3.6': bpo-30320: test_eintr now uses pthread_sigmask() (#1523) (#1524) https://github.com/python/cpython/commit/81ed53784608d44a8d196ad52288b55c7bf665db -- __

[issue30327] Version may be out of date in travis.yml

2017-05-09 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6 is the latest stable release of Python. It's perfectly fine to *build the documentation* using that version. I don't think that the Travis "docs job" must test that Sphinx works on the nightly version: this work should be done by Sphinx, not by the

[issue29243] --enable-optimizations makes common build commands always need to compile from scratch

2017-05-09 Thread STINNER Victor
STINNER Victor added the comment: Xiang Zhang added the comment: > So now we have to run make if we want to trigger the profile procedure since > other make commands like make test won't trigger the procedure by itself, > right? I don't think that the patch changes the behaviour of "make": it

[issue30325] Buildbot: send email notifications to buildbot-status@

2017-05-09 Thread STINNER Victor
STINNER Victor added the comment: Ok, Zachary gave me a clue, the code comes from https://github.com/python/buildbot/ It seems like our server is outdated, since buildbot/status/mail.py now contains: # GB: NEW: add test logfile excerpts # AP: disabled (code is broken)

<    1   2