[issue19777] Provide a home() classmethod on Path objects

2013-11-25 Thread Charles-François Natali
Charles-François Natali added the comment: IMO, this functionality is subsumed by http://bugs.python.org/issue19776 (Path.expanduser). -- nosy: +neologix ___ Python tracker ___ _

[issue19792] pathlib does not support symlink in Windows XP

2013-11-25 Thread Vajrasky Kok
New submission from Vajrasky Kok: In Lib/pathlib.py, we got this "problematic" code: if sys.getwindowsversion()[:2] >= (6, 0): from nt import _getfinalpathname else: supports_symlinks = False _getfinalpathname = None This code means if the windows version is

[issue19622] Default buffering for input and output pipes in subprocess module

2013-11-25 Thread Georg Brandl
Georg Brandl added the comment: Thanks, should be fixed now. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19791] test_pathlib should use can_symlink or skip_unless_symlink from test.support

2013-11-25 Thread Vajrasky Kok
New submission from Vajrasky Kok: Right now, Lib/test/test_pathlib.py uses custom checking symbolic link function. But in test.support, we have those functions already (can_symlink and skip_unless_symlink). The only feature that test.support checking symbolic link functions don't have is getti

[issue19758] Warnings in tests

2013-11-25 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19790] ctypes can't load a c++ dll if the dll calls COM on Windows 8

2013-11-25 Thread yinkaisheng
yinkaisheng added the comment: The version of my Python is 2.7.5.6 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19790] ctypes can't load a c++ dll if the dll calls COM on Windows 8

2013-11-25 Thread yinkaisheng
New submission from yinkaisheng: I created a c++ dll project that calls COM. cyptes works well with the dll on Windows XP(SP3) and Windows 7. But it can't load the dll on windows 8. The function ctypes.cdll.LoadLibrary doesn't return when I call it to load the dll on Windows 8. The version of

[issue19622] Default buffering for input and output pipes in subprocess module

2013-11-25 Thread Martin Panter
Martin Panter added the comment: The updated text to “suprocess.rst” is better, but now it looks like the whole paragraph fails to render at http://docs.python.org/dev/library/subprocess#subprocess.Popen. I have no idea about the syntax but maybe the blank line separating “versionchanged” from

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Done. I wasn't able to provoke the failing test into leaving behind rogue processes, so I eventually just ran some python_d processes of my own. Of course that stopped the build from replacing the executables, so test_concurrent_futures kept failing. But after

[issue19789] Improve wording of how to "undo" a call to logging.disable(lvl)

2013-11-25 Thread Simon Weber
New submission from Simon Weber: In http://bugs.python.org/issue14864, this line was added to the logging.disable docstring: To undo the effect of a call to logging.disable(lvl), call logging.disable(logging.NOTSET). To prevent misunderstanding, I propose that this line be changed to: Callin

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-25 Thread Tim Peters
Tim Peters added the comment: OK, looked at the code and sees that it tries to kill only pythons created by the build process - I feel batter now :-) -- ___ Python tracker ___ _

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Zach, I'll try the patch soon. Will this kill _all_ Python processes? I often have some unrelated Python program(s) running when waiting for a development build to finish, so that could create real havoc. BTW, I'm sure you're right that zombie Pythons were the c

[issue19788] Always run kill_python(_d).exe when (re-)building on Windows

2013-11-25 Thread Zachary Ware
New submission from Zachary Ware: The attached patch turns running kill_python(_d).exe into a PreBuildEvent in pythoncore.vcxproj. This should guarantee that kill_python(_d).exe is always run to guarantee no zombie pythons in the background can prevent overwriting the Python dll. The pythonc

[issue19777] Provide a home() classmethod on Path objects

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19775] Provide samefile() on Path objects

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19776] Provide expanduser() on Path objects

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19787] tracemalloc: set_reentrant() should not have to call PyThread_delete_key()

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19785] No SSL match_hostname() in smtplib

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19783] No SSL match_hostname() in nntplib

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19782] No SSL match_hostname() in imaplib

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19784] No SSL match_hostname() in poplib

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19781] No SSL match_hostname() in ftplib

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19780] Pickle 4 frame headers optimization

2013-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... I thought your patch was only an optimization, but if you're overlapping frames (by adding 9 to the frame size), it becomes a protocol change. I personally am against changing the PEP at this point, especially for what looks like a rather minor win. --

[issue14073] allow per-thread atexit()

2013-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Most logical would be an API on Thread objects (this would obviously only work with threading-created threads). A PEP also sounds unnecessary for a single new API. -- nosy: +tim.peters ___ Python tracker

[issue19787] tracemalloc: set_reentrant() should not have to call PyThread_delete_key()

2013-11-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: -> enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mai

[issue19773] Failed to build python 2.6.9 Solaris 10

2013-11-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Python is being building correctly. Some additional modules are not so lucky, though. In particular, you must locate your OpenSSL installation. For instance, I need to do this in my Solaris 10 machines: """ export LD_RUN_PATH=/usr/local/ssl/lib """ to correc

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf2c4cd08dd9 by Victor Stinner in branch 'default': Issue #18874: tracemalloc: Comment the trace_t structure http://hg.python.org/cpython/rev/cf2c4cd08dd9 New changeset f06a50c2bf85 by Victor Stinner in branch 'default': Issue #18874: make it more e

[issue19787] tracemalloc: set_reentrant() should not have to call PyThread_delete_key()

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: Extract of Modules/_tracemalloc.c: static void set_reentrant(int reentrant) { assert(reentrant == 0 || reentrant == 1); if (reentrant) { assert(PyThread_get_key_value(tracemalloc_reentrant_key) == NULL); PyThread_set_key_value(tracemalloc

[issue19787] tracemalloc: set_reentrant() should not have to call PyThread_delete_key()

2013-11-25 Thread STINNER Victor
New submission from STINNER Victor: The tracemalloc module uses PyThread_set_key_value() to store an flag in the Thread Local Storage. The problem is that it is not possible to call the function twice with two different values. If PyThread_set_key_value() is called with a non-NULL pointer, the

[issue14073] allow per-thread atexit()

2013-11-25 Thread Christian Heimes
Christian Heimes added the comment: A couple of years ago I suggested something similar. I'd like to see both thread_start and thread_stop hooks so code can track the creation and destruction of threads. It's a useful feature for e.g. PyLucene or profilers. The callback must be inside the thre

[issue19786] tracemalloc: remove arbitrary limit of 100 frames

2013-11-25 Thread STINNER Victor
New submission from STINNER Victor: It should be possible to collect more than 100 frames per traceback (even it is much slower and uses much more memory). I prepared the code to make it possible. Now only one thread should call traceback_new() at the same time, and the maximum number of frame

[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

2013-11-25 Thread Christian Heimes
Changes by Christian Heimes : -- dependencies: +No SSL match_hostname() in ftplib, No SSL match_hostname() in imaplib, No SSL match_hostname() in nntplib, No SSL match_hostname() in poplib, No SSL match_hostname() in smtplib ___ Python tracker

[issue14073] allow per-thread atexit()

2013-11-25 Thread Glenn Maynard
Glenn Maynard added the comment: This would be useful. It shouldn't be part of atexit, since atexit.register() from a thread should register a process-exit handler; instead, something like threading.(un)register_atexit(). If called in a thread, the calls happen when run() returns; if called

[issue19785] No SSL match_hostname() in smtplib

2013-11-25 Thread Christian Heimes
New submission from Christian Heimes: match_hostname patch for smtplib (see #19509). The patch doesn't have tests yet. -- components: Library (Lib) messages: 204438 nosy: christian.heimes priority: normal severity: normal stage: patch review status: open title: No SSL match_hostname() in

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a2811425dbde by Victor Stinner in branch 'default': Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True) http://hg.python.org/cpython/rev/a2811425dbde -- ___ Python tracker

[issue19784] No SSL match_hostname() in poplib

2013-11-25 Thread Christian Heimes
New submission from Christian Heimes: match_hostname patch for poplib (see #19509). The patch doesn't have tests yet. -- components: Library (Lib) files: check_poplib.patch keywords: patch messages: 204437 nosy: christian.heimes priority: normal severity: normal stage: patch review statu

[issue19783] No SSL match_hostname() in nntplib

2013-11-25 Thread Christian Heimes
New submission from Christian Heimes: match_hostname patch for nntplib (see #19509). The patch doesn't have tests yet. -- components: Library (Lib) files: check_nntplib.patch keywords: patch messages: 204436 nosy: christian.heimes priority: normal severity: normal stage: patch review sta

[issue19782] No SSL match_hostname() in imaplib

2013-11-25 Thread Christian Heimes
New submission from Christian Heimes: match_hostname patch for imaplib (see #19509). The patch doesn't have tests yet. -- components: Library (Lib) messages: 204434 nosy: christian.heimes priority: normal severity: normal stage: patch review status: open title: No SSL match_hostname() in

[issue19782] No SSL match_hostname() in imaplib

2013-11-25 Thread Christian Heimes
Changes by Christian Heimes : -- keywords: +patch Added file: http://bugs.python.org/file32845/check_imaplib.patch ___ Python tracker ___

[issue19781] No SSL match_hostname() in ftplib

2013-11-25 Thread Christian Heimes
New submission from Christian Heimes: match_hostname patch for ftplib (see #19509) -- files: check_ftplib.patch keywords: patch messages: 204433 nosy: christian.heimes priority: normal severity: normal stage: patch review status: open title: No SSL match_hostname() in ftplib type: securi

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2da28004dfac by Victor Stinner in branch 'default': Issue #18874: tracemalloc: explain the purpose of get_traces.tracebacks in a comment http://hg.python.org/cpython/rev/2da28004dfac New changeset b6414aa8cf77 by Victor Stinner in branch 'default':

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: @neologix: I run test_tracemalloc on "IRIX64 silicon 6.5 07202013 IP35" (our IRIX buildbot) which uses a 32-bit MIPS CPU, and the test pass. The code was compiled with gcc 3.4.6. So packed structures works also on 32-bit MIPS. Well, it is not surprising, int a

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19780] Pickle 4 frame headers optimization

2013-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks to the Snakebite, I was able to connect to Solaris 10 to reproduce and fix the issue. Thank you Trent! -- nosy: +trent resolution: -> fixed status: open -> closed ___ Python tracker

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Yup, a reboot & rebuild fixed it. I think stray processes left over from older test runs were preventing a rebuild from replacing my debug DLL. Gotta love Windows ;-) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: ->

[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63c1fbc4de4b by Victor Stinner in branch 'default': Issue #19752: Fix "HAVE_DEV_PTMX" implementation of os.openpty() http://hg.python.org/cpython/rev/63c1fbc4de4b -- nosy: +python-dev ___ Python tracker

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Zach, that could be - my box is *really* screwed up now - going to reboot and try again. -- ___ Python tracker ___

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Zachary Ware
Zachary Ware added the comment: Hmmm, that's odd; I can't reproduce on Windows 7 from 2a1de922651a, but I can from e39db21df580. -- ___ Python tracker ___ __

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have opened separate issue19780 for this. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19780] Pickle 4 frame headers optimization

2013-11-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch which restores (removed at last moment before 3.4beta1 release) frame headers optimization for the pickle protocol 4. Frame header now saved as a part of previous frame. This decreases the number of unbuffered reads per frame from 3 to 1.

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Zach, after pulling again and rebuilding, still failing in what looks like the same way. -- ___ Python tracker ___

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
Tim Peters added the comment: BTW, I believe 0x is what MS's debug libraries use to overwrite memory that's already been free()'d - akin to PyMalloc's "DEADBYTE". -- ___ Python tracker

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +alexandre.vassalotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Zachary Ware
Zachary Ware added the comment: I suspect you pulled at just the wrong time and caught e39db21df580, which Alexandre has already reverted in 2a1de922651a. -- nosy: +zach.ware ___ Python tracker ___

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
Tim Peters added the comment: Hmm. Looks like it's dying in gcmodule.c's visit_decref(), here: if (PyObject_IS_GC(op)) { So it may or may not trigger depending on the vagaries of when cyclic gc runs. For op, op->_ob_next, _ob_prev, ob_refcnt, and ob_type are all 0x. That doesn'

[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-25 Thread Stefan Krah
Stefan Krah added the comment: I've fixed cross-compiling and a couple of small issues in the repo from msg20434. Cross-compiling seems to work also without config-guess, but I've included it anyway. -- ___ Python tracker

[issue19779] test_concurrent_futures crashes on 32-bit Windows Vista

2013-11-25 Thread Tim Peters
New submission from Tim Peters: Worked OK yesterday, using current default branch in all cases. C:\Code\Python\PCbuild>.\\python_d -Wd -E -bb ../lib/test/regrtest.py test_concurrent_futures [1/1] test_concurrent_futures Fatal Python error: Segmentation fault Current thread 0x0590 (most re

[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: I posted it here because the only change of this build is the changeset 871d496fa06cfeae5f00478035b8ec6703d43ee2. http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7595/ I will to see if the failure reappears before opened in a new issue. ---

[issue19739] Legit compiler warnings in new pickle code on 32-bit Windows

2013-11-25 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Thanks Zachary for the notice! Look like my change fixed the warnings on the Windows x86 build. http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1801 -- resolution: -> fixed status: open -> closed __

[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-25 Thread Guido van Rossum
Guido van Rossum added the comment: That's not even in test_asyncio. It also doesn't belong in this bug (which is for AIX). -- ___ Python tracker ___ __

[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-25 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure (test failed and then passed), probably unrelated to your commit: http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7595/steps/test/logs/stdio == ERROR: test

[issue19766] test_venv: test_with_pip() failed on "AMD64 Fedora without threads 3.x" buildbot

2013-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: Potentially another platform compatibility issue for pip's dependencies. -- nosy: +dstufft ___ Python tracker ___

[issue17087] Improve the repr for regular expression match objects

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ba7a29fe02c by Ezio Melotti in branch 'default': #13592, #17087: add whatsnew entry about regex/match object repr improvements. http://hg.python.org/cpython/rev/4ba7a29fe02c -- ___ Python tracker

[issue13592] repr(regex) doesn't include actual regex

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ba7a29fe02c by Ezio Melotti in branch 'default': #13592, #17087: add whatsnew entry about regex/match object repr improvements. http://hg.python.org/cpython/rev/4ba7a29fe02c -- ___ Python tracker

[issue19585] Frame annotation

2013-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: A nested function will always share the code object between its instances - the nested code object is a compile time constant stored as part of the containing code object. Any code object attribute must be consistent for the lifetime of the object. -- __

[issue19624] Switch constants in the errno module to IntEnum

2013-11-25 Thread Chris
Chris added the comment: I think I'll look for some other issues, this one looks a bit deep for a first patch. -- ___ Python tracker ___

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-25 Thread Claudiu.Popa
Claudiu.Popa added the comment: Sorry for the delay. Here's a minimal doc patch. I don't excel at writing documentation, it's not quite my strong point, so feel free to modify anything you seem fit. -- Added file: http://bugs.python.org/file32842/namespace.patch __

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19729] [regression] str.format sublevel format parsing broken in Python 3.3.3

2013-11-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +georg.brandl priority: normal -> release blocker stage: -> needs patch type: crash -> behavior ___ Python tracker ___

[issue19778] Change re.compile display

2013-11-25 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue19778] Change re.compile display

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5237e7da8a76 by Ezio Melotti in branch 'default': #19778: fix a couple of re reprs in the documentation. http://hg.python.org/cpython/rev/5237e7da8a76 -- nosy: +python-dev ___ Python tracker

[issue19486] Bump up version of Tcl/Tk in building Python in Windows platform

2013-11-25 Thread Zachary Ware
Zachary Ware added the comment: Looks like Martin took care of it in 730d89d66b38. Thanks, Martin! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

[issue19774] strptime incorrect for weekday '0' when using week number format

2013-11-25 Thread R. David Murray
R. David Murray added the comment: from the man page for strptime: %w The weekday number (0-6) with Sunday = 0. %W The week number with Monday the first day of the week (0-53). The first Monday of January is the first day of week 1. Python's documentation

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-25 Thread Andreas Schwab
Andreas Schwab added the comment: (gdb) p sizeof(PyUnicodeObject) $1 = 38 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19778] Change re.compile display

2013-11-25 Thread Claudiu.Popa
New submission from Claudiu.Popa: Hello. I attached a minimal patch which fixes the re.compile display in documentation, after issue13592 was closed. -- assignee: docs@python components: Documentation files: sre_re.patch keywords: patch messages: 204402 nosy: Claudiu.Popa, docs@python,

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Larry Hastings
Larry Hastings added the comment: I'll make you a deal. As long as the protocol remains 100% backwards and forwards compatible (3.4.0b1 can read anything written by trunk, and trunk can read anything written by 3.4.0b1), you can make optimizations until beta 2. After that you have to stop...

[issue19624] Switch constants in the errno module to IntEnum

2013-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not so easy issue because the errno module is not pure Python module. ;) -- ___ Python tracker ___ ___

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, Larry may expand, but I think we don't commit performance optimizations during the feature freeze either. ("feature" is taken in the same sense as in "no new features in the bugfix branches") -- ___ Python tra

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Optimizing the output of the pickler class should be fine during the feature freeze as long the semantics of the current opcodes stay unchanged. -- ___ Python tracker __

[issue19624] Switch constants in the errno module to IntEnum

2013-11-25 Thread Ethan Furman
Ethan Furman added the comment: Also see Issue18720 for those details. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19679] smtpd.py (SMTPChannel): implement enhanced status codes

2013-11-25 Thread R. David Murray
R. David Murray added the comment: "Should" and "do" are different, though. I wouldn't be at all surprised to find legacy code that did look at the text string part of the message. Particularly test code, which is a place that smtpd gets used commonly. Which probably means that what we reall

[issue19624] Switch constants in the errno module to IntEnum

2013-11-25 Thread Ethan Furman
Ethan Furman added the comment: Check out socket.py for an example of constants being changed over to IntEnum. Feel free to ask more questions! :) -- ___ Python tracker ___ ___

[issue19624] Switch constants in the errno module to IntEnum

2013-11-25 Thread Chris
Chris added the comment: I would be interested in tackling this as a first patch, can you give me some more information? -- nosy: +chrishood ___ Python tracker ___ _

[issue19743] test_gdb failures

2013-11-25 Thread Larry Hastings
Larry Hastings added the comment: If skipping them for optimized builds is the right call, then aren't we done here? Can we close this bug as fixed? -- ___ Python tracker ___ _

[issue19626] test_email and Lib/email/_policybase.py failures with -OO

2013-11-25 Thread R. David Murray
R. David Murray added the comment: Lacking feedback in the negative, I'm closing this. -- status: open -> closed ___ Python tracker ___ __

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This doesn't change the pickle protocol. This is just an implementation detail. -- ___ Python tracker ___

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file32840/pickle_frame_headers.patch ___ Python tracker ___ ___ Python-bugs-l

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Larry Hastings
Larry Hastings added the comment: Isn't it a little late to be changing the pickle protocol, now that we've hit feature-freeze? If you want to check something like this in you're going to have to make a good case for it. -- ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which restores optimization for frame headers. Unfortunately it breaks test_optional_frames. -- ___ Python tracker ___ __

[issue19766] test_venv: test_with_pip() failed on "AMD64 Fedora without threads 3.x" buildbot

2013-11-25 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19777] Provide a home() classmethod on Path objects

2013-11-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: Similar to Path.cwd(), perhaps a Path.home() to create a new Path object pointing to the current user's home directory may be useful. -- components: Library (Lib) messages: 204388 nosy: pitrou priority: low severity: normal status: open title: Provide

[issue19776] Provide expanduser() on Path objects

2013-11-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: Something like expanduser() may be useful on Path objects. -- components: Library (Lib) messages: 204387 nosy: pitrou priority: low severity: normal status: open title: Provide expanduser() on Path objects type: enhancement versions: Python 3.5 __

[issue19775] Provide samefile() on Path objects

2013-11-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: It would probably be useful to provide samefile() on Path objects - basically doing the same thing as os.path.samefile(). -- components: Library (Lib) messages: 204386 nosy: pitrou priority: normal severity: normal status: open title: Provide samefile

[issue19763] Make it easier to backport statistics to 2.7

2013-11-25 Thread Georg Brandl
Georg Brandl added the comment: As Victor says, I'm not keen on those examples in the stdlib that do this, I'd rather get rid of all of them. And yes, doctests are only useful if they are written in the simplest possible way. Otherwise unittest style tests should be preferred. -- __

[issue19679] smtpd.py (SMTPChannel): implement enhanced status codes

2013-11-25 Thread Leslie P. Polzer
Leslie P. Polzer added the comment: I am indeed referring to the enhanced status codes proposed in RFC 3463. This would just entail adding information to the status codes, converting them from the format " " to " ". In this it doesn't seem necessary to differentiate by HELO/EHLO; neither is i

[issue19739] Legit compiler warnings in new pickle code on 32-bit Windows

2013-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8ac01a762c1 by Alexandre Vassalotti in branch 'default': Issue #19739: Try to fix compiler warnings on 32-bit Windows. http://hg.python.org/cpython/rev/f8ac01a762c1 -- nosy: +python-dev ___ Python tracke

[issue19774] strptime incorrect for weekday '0' when using week number format

2013-11-25 Thread Steve J Borba
New submission from Steve J Borba: OS: Windows 7 Professional (64-bit) Hardware: Intel datetime.strptime returns an incorrect value when calculating a date using a week number format, such as "%Y-%W-%w" (Year-Week-Weekday). The value returned for weekday '0' of a given week is consistently 7 d

  1   2   >