[issue22097] Linked list API for ordereddict

2014-07-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: ISTM that a dictionary is not the proper data structure for an instruction list. The support for the Mapping interface is not needed at all (AFAICT). It's possible to make a list implementation with O(1) insert_after, using the same strategy that OrderedDict

[issue22096] Argument Clinic: add ability to specify an existing impl function

2014-07-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think it it is worth the effort. You would need two different entry functions still, to allow error messages to refer to the function name. Since the _impl functions can trivially call each other, the saving in lines of code are minimal, and from a co

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Akira Li
Akira Li added the comment: Set has no __ior__ method but MutableSet has: class MySet(MutableSet): update = MutableSet.__ior__ Unlike set.__ior__; MutableSet.__ior__ accepts an arbitrary iterable and therefore MutableSet.update is redundant. set.__ior__ doesn't accept an arbitrary iter

[issue22086] Tab indent no longer works in interpreter

2014-07-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: About your use case. Note that all indices after inserted element should be shifted. If you inserted more than one statement in the same ir_block, all but first insertions can be at wrong position. -- ___ Python t

[issue22096] Argument Clinic: add ability to specify an existing impl function

2014-07-29 Thread Larry Hastings
Larry Hastings added the comment: I'm with Martin. It would be a funny exception, where the reader'd get confused... why is the impl missing? Also, any halfway-decent optimizer will inline the impl into the parsing function, so this has no runtime cost. -- __

[issue22086] Tab indent no longer works in interpreter

2014-07-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-l

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-07-29 Thread R. David Murray
R. David Murray added the comment: You can use test.support.captured_stdout or whatever its name is. -- ___ Python tracker ___ ___ Pyt

[issue14452] SysLogHandler sends invalid messages when using unicode

2014-07-29 Thread Daniel Pocock
Daniel Pocock added the comment: As a workaround, Python 3.2 users can clobber the global variable codecs like this from their own init code: logging.handlers.codec = None There is a more complete example here: https://github.com/dpocock/python-rfc5424-logging-formatter -- nosy:

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 29/07/2014 07:09, Serhiy Storchaka a écrit : > > About your use case. Note that all indices after inserted element should be shifted. If you inserted more than one statement in the same ir_block, all but first insertions can be at wrong position. Thanks for n

[issue11212] Python memory limit on AIX

2014-07-29 Thread David Edelsohn
David Edelsohn added the comment: Setting the environment variable LDR_CNTRL is discouraged. It is much better to set the value in the executable header. Best to set it at link time, but one can use ldedit. The issue with the segments in 32 bit mode is a trade off between heap memory and shm

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 29/07/2014 05:40, Martin v. Löwis a écrit : > > ISTM that a dictionary is not the proper data structure for an instruction list. The support for the Mapping interface is not needed at all (AFAICT). This is true. > It's possible to make a list implementation

[issue21704] _multiprocessing module builds incorrectly when POSIX semaphores are disabled

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a00be3d79bc by Ezio Melotti in branch '3.4': #21704: remove duplicate name in Misc/ACKS. http://hg.python.org/cpython/rev/1a00be3d79bc New changeset 723e0a7c4914 by Ezio Melotti in branch 'default': #21704: merge with 3.4. http://hg.python.org/cpyt

[issue21704] _multiprocessing module builds incorrectly when POSIX semaphores are disabled

2014-07-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33fb5600e9a1 by Dirkjan Ochtman in branch '2.7': Issue #21591: Handle exec backwards compatibility in the AST builder. http://hg.python.org/cpython/rev/33fb5600e9a1 New changeset 6c47c6d2033e by Robert Jordens in branch '2.7': Issue #21591: add test

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-29 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Thanks to Victor Stinner for the review! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2014-07-29 Thread Shiz
New submission from Shiz: Currently, when cross-compiling, the configure script doesn't take $HOSTPYTHON into account when determining $PYTHON_FOR_BUILD. This can lead to a wrong Python interpreter being used for several critical cross-compilation stages, leading to compilation errors[1]. Att

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Are you suggesting the collections module is ready for a linked list > implementation to go into it? I don't know about the collections module. All I'm saying is that a linked list with an efficient insert_after(x) could be implemented. I'm not seeing one on

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I don't know about the collections module. All I'm saying is that > a linked list with an efficient insert_after(x) could be implemented. > I'm not seeing one on PyPI See https://pypi.python.org/pypi/llist/ (and probably others) -- __

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 29.07.14 17:41, schrieb Antoine Pitrou: > > Antoine Pitrou added the comment: > >> I don't know about the collections module. All I'm saying is that >> a linked list with an efficient insert_after(x) could be implemented. >> I'm not seeing one on PyPI > >

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This does not meet your requirement of supporting insert_after(x), > its insert(x, before) requires to give a dllistnode. Indeed it lacks that piece of prettiness in the API. And adding a mapping to allow lookups from item to node really means using a ordered

[issue22038] Implement atomic operations on non-x86 platforms

2014-07-29 Thread Vitor de Lima
Vitor de Lima added the comment: Implemented a new version of the patch using either gcc builtins or the stdatomic.h header (this is detected by the configure script). -- Added file: http://bugs.python.org/file36151/atomicv2.patch ___ Python tracker

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2014-07-29 Thread Charles-François Natali
Charles-François Natali added the comment: > Richard Oudkerk added the comment: > > I can't remember why I did not use fstat() -- probably it did not occur to me. I probably have Alzeihmer, I was sure I heard a reasonable case for dup() vs fstat(). The only thing I can think of is that fstat() c

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have the opinions of our testing experts please. -- nosy: +BreamoreBoy, ezio.melotti, michael.foord, pitrou versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker _

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2014-07-29 Thread Shiz
Changes by Shiz : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22003] BytesIO copy-on-write

2014-07-29 Thread David Wilson
David Wilson added the comment: I suspect it's all covered now, but is there anything else I can help with to get this patch pushed along its merry way? -- ___ Python tracker __

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: fstat() can do I/O, or can fail for other reasons. If you don't want to create a new fd, I think you can do dup2(fd, fd). I don't understand the reason for the following code: +def check_handle_deltas(deltas): +return abs(sum(deltas)) >= min(3, len

[issue22049] argparse: type= doesn't honor nargs > 1

2014-07-29 Thread Chris Bruner
Chris Bruner added the comment: Just had a chance to try this, and this does exactly what I wanted from "type=". Thank you! On Fri, Jul 25, 2014 at 4:17 PM, paul j3 wrote: > > paul j3 added the comment: > > What you want is a custom Action rather than a custom Type. > > from the documentation:

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: > fstat() can do I/O, or can fail for other reasons. Oh, I forgot this reason. Maybe we should add a comment to explain that. I mean in the patch for this issue but also in is_valid_fd() (Python/pythonrun.c). -- ___

[issue11969] Can't launch multiproccessing.Process on methods

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: This works perfectly on 64 bit Windows 8.1 for 3.4.1 and 3.5.0a0. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue11969] Can't launch multiproccessing.Process on methods

2014-07-29 Thread Ram Rachum
Ram Rachum added the comment: Confirmed here it's working in Python 3.4, I guess it was fixed sometime in the last few years. I guess the only thing we'd care about now is ensuring a test for this was added to the test suite, so there wouldn't be a regression. Can anyone confirm that? --

[issue21710] --install-base option ignored?

2014-07-29 Thread Ned Deily
Ned Deily added the comment: See also Issue1382562 "--install-base not honored on win32". -- nosy: +ned.deily ___ Python tracker ___ _

[issue11990] redirected output - stdout writes newline as \n in windows

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: It states in msg136119 that this is already fixed and I've confirmed this in 3.4.1 and 3.5.0a0 so believe this can be closed. -- nosy: +BreamoreBoy ___ Python tracker _

[issue11990] redirected output - stdout writes newline as \n in windows

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2014-07-29 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64

2014-07-29 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: -Distutils2, Windows nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.2, Python 3.3 ___ Python tracker ___

[issue8170] Wrong Paths for distutils build --plat-name=win-amd64

2014-07-29 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mai

[issue11990] redirected output - stdout writes newline as \n in windows

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: Yes, the fix was probably one of these issues: - #10841: "binary stdio" - #11272: "input() has trailing carriage return on windows", fixed in Python 3.2.1 - #11395: "print(s) fails on Windows with long strings", fixed in Python 3.2.1 - #13119: "Newline for

[issue22054] Add os.get_blocking() and os.set_blocking() functions

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f0b8ddbb66b by Victor Stinner in branch 'default': Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get and http://hg.python.org/cpython/rev/8f0b8ddbb66b -- nosy: +python-dev ___ Py

[issue22054] Add os.get_blocking() and os.set_blocking() functions

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

[issue1508864] threading.Timer/timeouts break on change of win32 local time

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: PEP 418 states "time.monotonic(): timeout and scheduling, not affected by system clock updates" and has also deprecated time.clock() so I believe this can be closed as "out of date". -- nosy: +BreamoreBoy ___ Python

[issue1508864] threading.Timer/timeouts break on change of win32 local time

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: As Antoine wrote, Condition.wait() was rewritten in Python 3.2 to implement timeout using the native OS "acquire a lock with a timeout" function. So the initial concern is already fixed. This change is huge, we are not going to backport new lock timeouts in Py

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: How does the new pathlib module handle this? Also note from the docs for os.samefile() "Changed in version 3.4: Windows now uses the same implementation as all other platforms.". -- nosy: +BreamoreBoy, steve.dower, zach.ware __

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Akira Li
Akira Li added the comment: On the other hand update() method may accept multiple iterables at once: def update(self, *iterables): for it in iterables: self |= it and therefore it is not equivalent to __ior__ method. In this case: 'difference', 'intersection', 'union' set meth

[issue22100] Use $HOSTPYTHON when determining candidate interpreter for $PYTHON_FOR_BUILD.

2014-07-29 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: Stage needs setting to "patch review", any volunteers to undertake a review? -- components: +Cross-Build -Extension Modules, Windows nosy: +BreamoreBoy, jlt63 versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 _

[issue22063] asyncio: sock_xxx() methods of event loops should check ath sockets are non-blocking

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e70ec207889 by Victor Stinner in branch '3.4': Close #22063: socket operations (socket,recv, sock_sendall, sock_connect, http://hg.python.org/cpython/rev/7e70ec207889 New changeset 8967d9a1bc17 by Victor Stinner in branch 'default': Merge with Pyth

[issue22063] asyncio: sock_xxx() methods of event loops should check ath sockets are non-blocking

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95ceec174baf by Victor Stinner in branch '3.4': Issue #22063: Mention in asyncio documentation that socket operations require http://hg.python.org/cpython/rev/95ceec174baf New changeset 741e58bcaa65 by Victor Stinner in branch 'default': (Merge 3.4)

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22101] collections.abc.Set doesn't provide copy() method

2014-07-29 Thread Akira Li
New submission from Akira Li: The documentation for standard types says [1]: clear() and copy() are included for consistency with the interfaces of mutable containers that don’t support slicing operations (such as dict and set) New in version 3.3: clear() and copy() methods. [1] https:

[issue22018] signal.set_wakeup_fd() should accept sockets on Windows

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset fbd104359ef8 by Victor Stinner in branch 'default': Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets. http://hg.python.org/cpython/rev/fbd104359ef8 -- ___ Python tracker

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22102] Zipfile generates Zipfile error in zip with 0 total number of disk in Zip64 end of central directory locator

2014-07-29 Thread Guillaume Carre
New submission from Guillaume Carre: I've got a zip file with a Zip64 end of central directory locator in which: - total number of disks = - number of the disk with the start of the zip64 end of central directory = According to the test line 176 in zipfile.py this fails: if diskno

[issue22103] bdist_wininst does not run install script

2014-07-29 Thread Michael Büsch
New submission from Michael Büsch: The bdist_wininst installer does not run the specified --install-script. Attached is an example project foo.zip. setup.py is invoked as follows: py setup.py bdist_wininst --install-script foo_postinstall.py The installer shows that it successfully ran the inst

[issue22018] signal.set_wakeup_fd() should accept sockets on Windows

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: I pushed my latest patch. Thank you for helping me to design the API of this new feature. Let's move to the issue #22042 to discuss if signal.set_wakeup_fd() should raise an exception if the file descriptor or socket handle is blocking. I close this issue. -

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: main.c has this. #if defined(MS_WINDOWS) || defined(__CYGWIN__) #include #ifdef HAVE_FCNTL_H #include #define PATH_MAX MAXPATHLEN #endif #endif Wouldn't inserting #else before #define fix this issue? -- components: +Build -Installation, Windows nosy:

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2014-07-29 Thread Roumen Petrov
Changes by Roumen Petrov : -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2014-07-29 Thread Mark Lawrence
Changes by Mark Lawrence : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21933] Allow the user to change font sizes with the text pane of turtledemo

2014-07-29 Thread Lita Cho
Lita Cho added the comment: Hi Terry, I've added to the patch, so that the user is able to change the font size through the GUI. I tried to match Google Doc's behaviour. I also added a max font size. I choose 400 since that is what Google Docs limits their font size. If you prefer to split ou

[issue15082] [httplib] httplib.BadStatusLine on any HTTPS connection in certain unknown cases.

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: Can you please retest with Python 2.7.8 as this has an updated version of openssl. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue22042] signal.set_wakeup_fd(fd): raise an exception if the fd is in blocking mode

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: On Windows, it looks like it's not possible to test if a socket handle (int, not a socket object) is blocking or not. The WSAIsBlocking() function was removed, it's only possible to set the flag using ioctlsocket(). --

[issue22042] signal.set_wakeup_fd(fd): raise an exception if the fd is in blocking mode

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: I commited my patch to support sockets in signal.set_wakeup_fd() on Windows. I updated my patch. It doesn't change signal.set_wakeup_fd() on Windows anymore. It only raises an exception on POSIX if the file descriptor is blocking. On Windows, it's not possibl

[issue20766] reference leaks in pdb

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: It's not easy to test the patch because running test_pdb fails with the following error (I also get the error if the patch is not applied): $ ./python -m test test_pdb test_pdb [1/2] test_pdb [2/2] test_pdb test test_pdb failed -- Traceback (most recent call la

[issue22068] test_idle leaks uncollectable objects

2014-07-29 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_gc fails after test_idle -> test_idle leaks uncollectable objects ___ Python tracker ___ __

[issue21860] Correct FileIO docstrings

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22023] PyUnicode_FromFormat is broken on python 2

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 263701e0b77e by Victor Stinner in branch '2.7': Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). http://hg.python.org/cpython/rev/263701e0b77e -- nosy: +python-dev ___ Python tracker

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: I can't reproduce this with 64 bit Windows 8.1 using 3.4.1 or 3.5.0a0, I don't have 2.7 to test on. -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware versions: +Python 2.7 -Python 2.6 ___ Python tracker

[issue22023] PyUnicode_FromFormat is broken on python 2

2014-07-29 Thread STINNER Victor
STINNER Victor added the comment: Oh, supporting %li and %zi is a new feature, it's too late to add this in Python 2.7. I removed this part of my patch. I commited the other part. PyUnicode_FromFormat() decodes byte strings from ISO 8859-1 for %S, %R and %V formats. I don't like this choice, w

[issue1054] scriptsinstall target fails in alternate build dir

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: I have no intention of finding out what is in the 48 attached html files :( -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue16066] Truncated POST data in CGI script on Windows 7

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: @Alexander apologies for the delay in getting back to you. Who is best placed to look at this issue, I'll admit to knowing squat about cgi? -- components: +Library (Lib) nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 _

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-07-29 Thread Milan Oberkirch
Changes by Milan Oberkirch : Added file: http://bugs.python.org/file36157/issue21725v5.1.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue16066] Truncated POST data in CGI script on Windows 7

2014-07-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22071] Remove long-time deprecated attributes from smtpd

2014-07-29 Thread Milan Oberkirch
Changes by Milan Oberkirch : Added file: http://bugs.python.org/file36158/smtpd_remove_deprecated_attrs_v2.patch ___ Python tracker ___ ___ P

[issue22027] RFC 6531 (SMTPUTF8) support in smtplib

2014-07-29 Thread Milan Oberkirch
Changes by Milan Oberkirch : Added file: http://bugs.python.org/file36159/smtpd_remove_deprecated_attrs_v2.patch ___ Python tracker ___ ___ P

[issue16100] Compiling vim with Python 3.3 support fails

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see how we can do anything with this as mingw is unsupported. If any docs need changing wouldn't that best be done as a completely separate issue? -- nosy: +BreamoreBoy ___ Python tracker

[issue22003] BytesIO copy-on-write

2014-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79a5fbe2c78f by Antoine Pitrou in branch 'default': Issue #22003: When initialized from a bytes object, io.BytesIO() now http://hg.python.org/cpython/rev/79a5fbe2c78f -- nosy: +python-dev ___ Python track

[issue22003] BytesIO copy-on-write

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The latest patch is good indeed. Thank you very much! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2014-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: msg185039 from #4969 also complains about this issue. I agree with the solution put forward in the last sentence of msg172531. If we think this is the best idea I'll work on a patch unless anybody else wants to pick this up. -- nosy: +BreamoreBoy, fham

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: The starting point for this feature request should be recognizing that Guido intentionally chose to not implement the named methods. Excerpt from PEP 3119: "This also supports the in-place mutating operations |=, &=, ^=, -=. These are concrete methods whos

[issue11969] Can't launch multiproccessing.Process on methods

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Pickling of builtin functions and methods was indeed improved thanks to __qualname__ support. Closing. -- nosy: +pitrou resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tra

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is a bit of a pity, since the named methods are generally more explicit for non-experts than the operators. The ABC could simply define default implementations for those methods to fallback on the operators. By not providing such default implementations,

[issue22101] collections.abc.Set doesn't provide copy() method

2014-07-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gvanrossum, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22101] collections.abc.Set doesn't provide copy() method

2014-07-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2014-07-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20766] reference leaks in pdb

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: See issue20746 for the test_pdb failure when run multiple times. -- nosy: +pitrou ___ Python tracker ___ ___

[issue22104] test_asyncio unstable in refleak mode

2014-07-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: test_asyncio doesn't give usable results when looking for refleaks: $ ./python -m test -R 2:4 test_asyncio [1/1] test_asyncio beginning 6 repetitions 123456 .. test_asyncio leaked [212, -106, 265, -6360] references, sum=-5989 test_asyncio leaked [59, -29,

[issue10551] mimetypes read from the registry should not overwrite standard mime mappings

2014-07-29 Thread Ben Hoyt
Ben Hoyt added the comment: Mark, are you referring to part 3 of this issue, the image/pjpeg type of problem? This was fixed in Python 2.7.6 -- see changeset http://hg.python.org/cpython/rev/e8cead08c556 and http://bugs.python.org/issue15207 -- ___

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Just for the record, when I originally looked at insert_before() and insert_after(), here's some of things that bugged me a little: * insert_before(currkey, newkey, newvalue) ncan raise TypeErrors for hashability from either key. It can raise a KeyError w

[issue22089] collections.MutableSet does not provide update method

2014-07-29 Thread Guido van Rossum
Guido van Rossum added the comment: Oh the joy of duck typing. :-( If anything, set should be made to behave more like MutableSet by allowing arbitrary iterable arguments to the __i**__ methods. I do not think it is a good idea to add all of the named versions of the methods to the ABC (even

[issue22104] test_asyncio unstable in refleak mode

2014-07-29 Thread Guido van Rossum
Guido van Rossum added the comment: Was this always so or did it recently start? Victor has made a ton of changes. Anyway, I imagine there may be some objects stuck in cycles and the collection may not happen until a random later time, and the tests do timing-specific stuff so the number of o

[issue22097] Linked list API for ordereddict

2014-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 29/07/2014 21:15, Raymond Hettinger a écrit : > > * One use case for the insert methods is trying to maintain a sort order (such as an alphabetical order) but we don't have any efficient search methods such as a binary search to find an insertion point. For ex

[issue22105] Hang during File "Save As"

2014-07-29 Thread Joe Gaspard
New submission from Joe Gaspard: Python 3.4.1 hang while trying to save a file on 29 July 2014 5Pm. The computer was a "DIY" i7/WIN7-64 bit/INTEL DZ87KLT-75 Motherboard (w/ Intel i7-4770-K 3.5 GHz processor). IDLE was operating on "G:\python.exe 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014 10:4

[issue22104] test_asyncio unstable in refleak mode

2014-07-29 Thread Zachary Ware
Zachary Ware added the comment: I think I'm to blame for exposing this in 4f9f7e0fe1fd. I have a theory on why that exposed it; I think regrtest is holding an extra reference to the TestSuite in runtest_inner since it is using a different branch now that test_asyncio doesn't have a test_main

[issue22029] argparse - CSS white-space: like control for individual text blocks

2014-07-29 Thread paul j3
Changes by paul j3 : Added file: http://bugs.python.org/file36160/issue22029_2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list