[issue21936] test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: The issue #21163 has a pending patch which is waiting for a review ;-) Oops, wrong: I already commited the part of the patch which was correct, but wait() and gather() have no updated patch yet. -- ___ Python

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-07 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think we can change the exception type in a bugfix release, if ever. I don't see much point in changing the exception type: it's just churn. I'm +1 for a better error message. I'm -0 on changing the error message in a bugfix release. --

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8c9dd2626aa by Victor Stinner in branch '3.4': Issue #12523: asynchat.async_chat.push() now raises a TypeError if it doesn't http://hg.python.org/cpython/rev/f8c9dd2626aa New changeset 4b29d338cc41 by Victor Stinner in branch 'default': (Merge

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue. I copied the check from asyncio, _SelectorSocketTransport.write() of asyncio.selector_events for example. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker

[issue14841] os.get_terminal_size() should check stdin as a fallback

2014-07-07 Thread Denilson Figueiredo de Sá
Denilson Figueiredo de Sá added the comment: FYI, tput tool can find out the dimensions even when both stdin and stdout are redirected. It can't, however, if all stdin, stdout and stderr are redirected. Python should probably implement a similar logic. $ echo | stty size stty: standard input:

[issue11259] asynchat does not check if terminator is negative integer

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset f67df13dd512 by Victor Stinner in branch '3.4': Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError if http://hg.python.org/cpython/rev/f67df13dd512 New changeset d164fda9063a by Victor Stinner in branch 'default': (Merge

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2014-07-07 Thread Pablo Sole
Pablo Sole added the comment: I found another case where the result of ismount() is misleading. I'm using a FUSE-based filesystem controlled by a python supervisor daemon. When the fuse daemon dies and you try to access the filesystem with os.stat() it returns: OSError: [Errno 107] Transport

[issue11259] asynchat does not check if terminator is negative integer

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: This issue is now fixed, thanks for the report. Sorry for the delay :-( Asy Mark wrote, asynchat is now deprecated: it's time to switch to the new shiny asyncio module! -- nosy: +haypo resolution: - fixed status: open - closed

[issue6916] Remove deprecated items from asynchat

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: asynchat.fifo is now explicitly marked as deprecated and scheduled for removal in Python 3.6. I consider that the issue is done and so I'm closing it. Reopen a more specific issue if you consider that there is still something to do. @Berker: You may apply

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f75a29c9577 by Antoine Pitrou in branch 'default': Issue #21803: remove macro indirections in complexobject.h http://hg.python.org/cpython/rev/9f75a29c9577 -- nosy: +python-dev ___ Python tracker

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, pushed. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21803 ___

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: ping? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21901 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread STINNER Victor
STINNER Victor added the comment: Failure on buildbot. http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/4599/steps/test/logs/stdio running build_ext building 'cmath' extension gcc -pthread -fPIC -Wno-unused-result -Werror=declaration-after-statement -g -O0 -Wall

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ha, I hadn't noticed the compilation failures when rebuilding... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21803 ___

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4609e31092b2 by Antoine Pitrou in branch 'default': Fix compilation failure (followup to #21803) http://hg.python.org/cpython/rev/4609e31092b2 -- ___ Python tracker rep...@bugs.python.org

[issue21930] new assert raises syntax proposal

2014-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: See also https://mail.python.org/pipermail/python-ideas/2014-June/028206.html for a list of things to keep in mind while adding new features (especially keywords). -- ___ Python tracker rep...@bugs.python.org

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21803 ___

[issue21806] Add tests for turtle.TPen class

2014-07-07 Thread ingrid
New submission from ingrid: Duplicate of http://bugs.python.org/issue21916 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21806 ___

[issue21754] Add tests for turtle.TurtleScreenBase

2014-07-07 Thread ingrid
New submission from ingrid: Duplicate of http://bugs.python.org/issue21914 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21754 ___

[issue21646] Add tests for turtle.ScrolledCanvas

2014-07-07 Thread ingrid
ingrid added the comment: Duplicate of http://bugs.python.org/issue21914 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21646 ___

[issue21937] IDLE interactive window doesn't display unsaved-indicator

2014-07-07 Thread Raymond Hettinger
New submission from Raymond Hettinger: * Open a Python Shell * Save as session_log.txt * Type a line of code * Notice that the asterisk for unsaved does not appear -- components: IDLE messages: 222542 nosy: rhettinger priority: normal severity: normal status: open title: IDLE

[issue21929] Rounding properly

2014-07-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the FAQ in the decimal docs shows how to round Decimal objects using the quantize() method: https://docs.python.org/2.7/library/decimal.html#decimal-faq Unfortunately, only it Python 3 does the one-obvious-way-to-do-it work. -- nosy:

[issue18592] Idle: test SearchDialogBase.py

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ah, Debian must not be using 8.6. Thanks for both the clarification and how to fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18592 ___

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2014-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reading Eric's comments and checking the signature of .format and rereading the Format String Syntax section, I have changed my mind. The signature of .format is S.format(*args, **kwargs) - str and args is a tuple. So the user asks for creation of a

<    1   2