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

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

[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 ___ _

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

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

[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 ___ ___ Pytho

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

[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

[issue21803] Remove macro indirections in complexobject

2014-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

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

[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 ___ __

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

[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: +rhettin

[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 ___ _

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

[issue21270] unittest.mock.call object has inherited count method

2014-07-07 Thread Kushal Das
Kushal Das added the comment: To start with I am overriding count and index method. Do you think this is enough? -- ___ Python tracker ___ __

[issue21922] PyLong: use GMP

2014-07-07 Thread Mark Dickinson
Mark Dickinson added the comment: > IMO you must discuss the GMP license on the python-dev mailing list I think the maintenance implications of having another external dependency would also need discussion on python-dev. -- ___ Python tracker

<    1   2