[issue12340] Access violation when using the C version of the io module

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: The issue hasn't seen an update for over two years. Were you able to solve the issue? -- nosy: +christian.heimes status: open -> languishing ___ Python tracker _

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-10-24 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file32349/import-system-reference.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue19384] test_py_compile fails with OSError on FreeBSD for root user

2013-10-24 Thread Claudiu.Popa
Claudiu.Popa added the comment: Yes, you can create files in a read-only directory if you are root, that's why os.chmod(directory, stat.S_IREAD is redundant there. -- ___ Python tracker ___

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-10-24 Thread Eric Snow
Eric Snow added the comment: Let's try that again with the proper diff. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-10-24 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file32348/import-system-reference.diff ___ Python tracker ___ ___ Python-bugs-list

[issue19384] test_py_compile fails with OSError on FreeBSD for root user

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: The patch looks good to me. I'm curious, is a root user on FreeBSD allowed to create files inside a read-only directory? -- nosy: +christian.heimes stage: -> patch review type: -> behavior ___ Python tracker

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-10-24 Thread Eric Snow
Eric Snow added the comment: Here's a patch just for the changes to the import page in the language reference. It's not perfect, but should represent the target pretty closely. -- nosy: +ncoghlan Added file: http://bugs.python.org/file32348/import-system-reference.diff ___

[issue19385] dbm.dumb should be consistent when the database is closed

2013-10-24 Thread Claudiu.Popa
Changes by Claudiu.Popa : -- keywords: +patch Added file: http://bugs.python.org/file32347/dbm_dumb.patch ___ Python tracker ___ ___ P

[issue19385] dbm.dumb should be consistent when the database is closed

2013-10-24 Thread Claudiu.Popa
New submission from Claudiu.Popa: This problem occurred in issue19282. Basicly, dbm.dumb is not consistent with dbm.gnu and dbm.ndbm when the database is closed, as seen in the following: >>> import dbm.dumb as d >>> db = d.open('test.dat', 'c') >>> db.close() >>> db.keys() Traceback (most rec

[issue16595] Add resource.prlimit

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: Or we should extend with supress(OSerror, errno=errno.ENOSYS): ... :-) (Just kidding, ignored tests must be marked as skipped.) -- ___ Python tracker _

[issue16595] Add resource.prlimit

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: The buildbot is Linux-2.6.35-vs2.3.0.36.32-gentoo-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.1 but prlimit() requires 2.6.36+. I didn't expect to see a combination of glibc with prlimit() and Kernel without prlimit(). According to man prlimit i

[issue16595] Add resource.prlimit

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 87d41a5a9077 by Christian Heimes in branch 'default': Issue #16595: prlimit() needs Linux kernel 2.6.36+ http://hg.python.org/cpython/rev/87d41a5a9077 -- ___ Python tracker

[issue10977] Concrete object C API considered harmful to subclasses of builtin types

2013-10-24 Thread Stefan Behnel
Stefan Behnel added the comment: -1 on any changes that make the specific C-API functions less specific. They are perfectly adequate for gaining speed in well defined situations. +0 on any changes that special case concrete types in abstract calls if they prove to be worth the hassle. +1 for

[issue19384] test_py_compile fails with OSError on FreeBSD for root user

2013-10-24 Thread Claudiu.Popa
New submission from Claudiu.Popa: The actual error: == FAIL: test_exceptions_propagate (test.test_py_compile.PyCompileTests) -- Traceback (most recent call last

[issue16595] Add resource.prlimit

2013-10-24 Thread Charles-François Natali
Charles-François Natali added the comment: The test is failing with ENOSYS on one of the buildbots: """ == ERROR: test_prlimit (test.test_resource.ResourceTest)

[issue19358] Integrate "Argument Clinic" into CPython build

2013-10-24 Thread Larry Hastings
Larry Hastings added the comment: > Well, why is clinic 3.3 only? It would be slightly easier > if it accepted any "python3" executable. Patches welcome! I have bigger fish to fry. -- ___ Python tracker _

[issue19364] Implementing __getattr__ breaks copy and deepcopy

2013-10-24 Thread Eric Snow
Eric Snow added the comment: I knew this sounded familiar. Take a look at issue16251. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> pickle special methods are looked up on the instance rather than the type ___

[issue19364] Implementing __getattr__ breaks copy and deepcopy

2013-10-24 Thread Kassym Dorsel
Kassym Dorsel added the comment: Yes. You're correct. Sorry for the confusion. Below is an updated snippet of code. >>> from copy import copy >>> class foo(): ... def __getattr__(self, attr): ... return None ... >>> f = foo() >>> copy(f) Traceback (most recent call last): File "", line

[issue19383] nturl2path test coverage

2013-10-24 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Tests versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue19019] Investigate using Apple clang for building OS X installers

2013-10-24 Thread Ned Deily
Ned Deily added the comment: "nobody with Xcode 5 can build C extensions for python.org Python installations" Andrew, can you elaborate on what problems you or others are seeing? Xcode 5 should not be an issue for users of the current python.org Pythons. When building extension modules, if th

[issue19019] Investigate using Apple clang for building OS X installers

2013-10-24 Thread Andrew Barnert
Andrew Barnert added the comment: Now that Xcode 5 is out, and does not have anything named "gcc-4.2" (it _does_ still have something called "gcc", which is now a wrapper around clang instead of a wrapper around llvm-gcc-4.2), this seems a lot more critical, because (as far as I can tell) nobo

[issue19383] nturl2path test coverage

2013-10-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19383] nturl2path test coverage

2013-10-24 Thread Colin Williams
New submission from Colin Williams: Full coverage on this module -- files: nturl2path.patch keywords: patch messages: 201197 nosy: Colin.Williams priority: normal severity: normal status: open title: nturl2path test coverage Added file: http://bugs.python.org/file32345/nturl2path.patch

[issue19382] tabnanny unit tests

2013-10-24 Thread Colin Williams
Colin Williams added the comment: Alright, I'll wait until that one gets committed, and then add in my changes. I think between the two of us we'll get close to 100% -- ___ Python tracker

[issue19382] tabnanny unit tests

2013-10-24 Thread Berker Peksag
Berker Peksag added the comment: See also issue 19102. -- components: +Tests nosy: +berker.peksag stage: -> patch review versions: +Python 3.4 ___ Python tracker ___ ___

[issue19382] tabnanny unit tests

2013-10-24 Thread Colin Williams
New submission from Colin Williams: I didn't test the stdout and stderr stuff, but I got the module up to 74% coverage. -- files: tabnanny.patch keywords: patch messages: 201194 nosy: Colin.Williams priority: normal severity: normal status: open title: tabnanny unit tests Added file: ht

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: I have created a clone for PEP 456 and applied your suggestions. I'm still looking for a nice API to handle the hash definition. Do you have some suggestions? -- hgrepos: +212 ___ Python tracker

[issue19380] Optimize parsing of regular expressions

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you have any benchmark figures (apart from the time of re unittests)? -- ___ Python tracker ___ _

[issue19380] Optimize parsing of regular expressions

2013-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Done. -- Added file: http://bugs.python.org/file32343/re_parse_2.patch ___ Python tracker ___ ___

[issue19381] Seg Fault with complex numbers

2013-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19381] Seg Fault with complex numbers

2013-10-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update ___ Python tracker

[issue19381] Seg Fault with complex numbers

2013-10-24 Thread Manish Raghavan
New submission from Manish Raghavan: Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> 1+1j (1+1j) >>> 1+1j Segmentation fault: 11 -- assignee: ronaldo

[issue18685] Restore re performance to pre-PEP393 level

2013-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please review this patch. I will extract template part into separated file in separated commit. -- ___ Python tracker ___ ___

[issue19288] __contains__() of dbm.gnu databases fails with str

2013-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Arfrever. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue19288] __contains__() of dbm.gnu databases fails with str

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09ed1b3b54f3 by Serhiy Storchaka in branch '3.3': Issue #19288: Fixed the "in" operator of dbm.gnu databases for string http://hg.python.org/cpython/rev/09ed1b3b54f3 New changeset 379372612f6d by Serhiy Storchaka in branch 'default': Issue #19288: F

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 61ab0c6907f9 by Serhiy Storchaka in branch '3.3': Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string http://hg.python.org/cpython/rev/61ab0c6907f9 New changeset cb82b4efa67b by Serhiy Storchaka in branch 'default': Issue #19287:

[issue15477] test_cmath failures on OS X 10.8

2013-10-24 Thread Ned Deily
Ned Deily added the comment: I built Python at 3fba718e46e5 on both 10.8 and 10.9 which was just before your changes for this issue went in, Mark. On 10.8: test_cmath fails and: >>> math.log1p(-0.0) 0.0 And, indeed, on 10.9, it passes and: >>> math.log1p(-0.0) -0.0 --

[issue18458] interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

2013-10-24 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 24, 2013, at 08:14 PM, Ned Deily wrote: >Barry: yes, 2.6 is affected. See discussion on python-dev. Thanks Ned for the background over on python-dev. Unless I hear objections otherwise, I am not going to apply this to 2.6. --

[issue19380] Optimize parsing of regular expressions

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think "+=" speeds up anything for ints, you might as well minimize code churn by avoiding such changes. -- nosy: +pitrou ___ Python tracker ___

[issue19379] Don't import linecache at warnings toplevel

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8939c0196990 by Antoine Pitrou in branch 'default': Close #19379: Lazily import linecache in the warnings module, to make startup with warnings faster until a warning gets printed. http://hg.python.org/cpython/rev/8939c0196990 -- nosy: +pyt

[issue19369] PyObject_LengthHint is slow

2013-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file32342/deprecate_site_python.patch ___ Python tracker ___ ___

[issue19369] PyObject_LengthHint is slow

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset bffb49efc383 by Serhiy Storchaka in branch 'default': Issue #19369: Optimized the usage of __length_hint__(). http://hg.python.org/cpython/rev/bffb49efc383 -- nosy: +python-dev ___ Python tracker

[issue19379] Don't import linecache at warnings toplevel

2013-10-24 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19379] Don't import linecache at warnings toplevel

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: LGTM Good catch! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue19369] PyObject_LengthHint is slow

2013-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18458] interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

2013-10-24 Thread Ned Deily
Ned Deily added the comment: Barry: yes, 2.6 is affected. See discussion on python-dev. -- ___ Python tracker ___ ___ Python-bugs-list

[issue19380] Optimize parsing of regular expressions

2013-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch optimizes parsing of regular expressions. Total time of re unittests decreased by 10%. -- assignee: serhiy.storchaka components: Library (Lib), Regular Expressions files: re_parse.patch keywords: patch messages: 201177 nosy: ezio.melo

[issue15556] os.stat fails for file pending delete on Windows

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Had a to-and-fro on IRC with RDM who highlighted that an inconsistency between os.listdir and os.path.exists (the case here) is, at least, undesirable. As it stands, our os.exists on os.stat mechanism will fail because any attempt to get any kind of handle via Cre

[issue19379] Don't import linecache at warnings toplevel

2013-10-24 Thread Antoine Pitrou
New submission from Antoine Pitrou: Importing warnings pulls linecache at the top-level, while it's only necessary when printing warnings. The reason why it wasn't done lazily is obsolete, since Python now has per-module import locks. Attached patch makes the linecache imports lazy. This is d

[issue19236] Add Tornado HTTP benchmark

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a1136898539 by Antoine Pitrou in branch 'default': Close #19236: add a Tornado-based HTTP benchmark http://hg.python.org/benchmarks/rev/9a1136898539 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Fine. I'll commit it later. (Probably tomorrow at this point) -- ___ Python tracker ___ ___ Python-bugs-

[issue16040] nntplib: unlimited readline() from connection

2013-10-24 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: ...and here's a patch for 3.2 -- Added file: http://bugs.python.org/file32339/issue16040_py32.patch ___ Python tracker ___ ___

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Zachary Ware
Zachary Ware added the comment: This patch will only apply to tip. There would need to be some changes to backport to 3.3 and I haven't actually looked at 2.7, but I expect it would require extensive changes that probably wouldn't be worth it. There are a few factual errors in 3.3 (such as s

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: The test fails under Linux here: == FAIL: test_case_sensitive (test.test_tempfile.TestGetTempDir) -- Traceback (most recent ca

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Added, including a slightly surprising change needed to test_zipimport_support (which arguably should have been there from the start for robustness). -- assignee: -> tim.golden Added file: http://bugs.python.org/file32338/issue14255.2.diff ___

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2013-10-24 Thread Tim Golden
Changes by Tim Golden : Removed file: http://bugs.python.org/file32328/issue14255.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Thanks, Zachary. Do you see this going against just tip, or should it be backported to 3.3 / 2.7? (I'm not sure how well the latter would be received, truth be told). -- ___ Python tracker

[issue19327] re doesn't work with big charsets

2013-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19329] Faster compiling of charset regexpes

2013-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a more complex patch which optimizes charset compiling. It affects small charsets too. Big charsets now supports same optimizations as small charsets. Optimized bitmap now can be used even if the charset contains category items or non-bmp characters.

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Zachary Ware
Zachary Ware added the comment: Here's the new patch, a few tabs converted, a few trailing spaces removed, and one sentence added to the Sub-projects section description. -- Added file: http://bugs.python.org/file32336/pcbuild_readme.v2.diff ___ Pyth

[issue16041] poplib: unlimited readline() from connection

2013-10-24 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: Here's a max line lenght fix for 3.2 (applies on 3.4 too). I wonder if _getlongresp should have some max length detection too for max length of a multiline response -- Added file: http://bugs.python.org/file32335/issue16041_py32.patch __

[issue19327] re doesn't work with big charsets

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2bb0da45c93 by Serhiy Storchaka in branch '2.7': Issue #19327: Fixed the working of regular expressions with too big charset. http://hg.python.org/cpython/rev/d2bb0da45c93 New changeset 4431fa917f22 by Serhiy Storchaka in branch '3.3': Issue #19327

[issue18199] Windows: support path longer than 260 bytes using "\\?\" prefix

2013-10-24 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue16037] httplib: header parsing is unlimited

2013-10-24 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: Patch for py32 applies cleanly on 3.4 too, this should be good to go -- ___ Python tracker ___ ___

[issue13234] os.listdir breaks with literal paths

2013-10-24 Thread Santoso Wijaya
Santoso Wijaya added the comment: Here you go. -- Added file: http://bugs.python.org/file32334/issue13234_tip_refresh.patch ___ Python tracker ___ ___

[issue17916] Provide dis.Bytecode based equivalent of dis.distb

2013-10-24 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's the updated version according to your comments. Because there is no need for show_info() and info(), the current class is not a subclass of Bytecode (as I implied from your first message). After issue19378 is fixed, we could change the line_offset with so

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Christian: I think adding MIME types falls under platform support and we do still add platform support to Python 2.7. That said, the mimetypes module *does* use platform files for determining MIME types, so adding missing MIME types there will likely resul

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2013-10-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > what's the reason for accepting the time.strptime() > version as a bug, but not datetime.datetime.strptime()? In case of time.strptime(), we have an option of returning (1900, 2, 29, ..) which while not being a valid date, is a valid (time)tuple: >>> t

[issue17400] ipaddress should make it easy to identify rfc6598 addresses

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9623fa5a0dd by Peter Moody in branch 'default': #17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS http://hg.python.org/cpython/rev/b9623fa5a0dd -- ___ Python tracker

[issue19332] Guard against changing dict during iteration

2013-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I disagree with adding such unimportant code to the critical path. -- ___ Python tracker ___ ___

[issue19369] PyObject_LengthHint is slow

2013-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Here is a patch which uses _PyObject_HasLen. It has same performance > but is much simpler. +1 This will be a nice improvement. -- ___ Python tracker

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-10-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 24.10.2013 16:59, Andrei Dorian Duma wrote: > > I added a patch (my first patch!). > > platform.linux_distribution() now first looks in /etc/os-release. If this > file is not found, checking continues as before. Looks good. -- ___

[issue19363] Python 2.7's future_builtins.map is not compatible with Python 3's map

2013-10-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19362] Documentation for len() fails to mention that it works on sets

2013-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: > "Return the number of items of a container" sounds > simple and accurate to me. I agree this would be best. -- ___ Python tracker ___ ___

[issue19359] reversed() does not work with weakref.proxy of sequences

2013-10-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-10-24 Thread Vajrasky Kok
Vajrasky Kok added the comment: Hi Andrei Duma, I have looked at your patch but have not tested it yet. But it seems to me that your patch is a little bit weak against the case where the file /etc/os-release is found, but not fully functional (either garbage, or only releases NAME information

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2013-10-24 Thread Matthew Earl
Matthew Earl added the comment: Out of interest, what's the reason for accepting the time.strptime() version as a bug, but not datetime.datetime.strptime()? Is it that time.strptime() is meant to be a simple parsing from string to tuple (with minimal checks), whereas datetime.datetime.strptime

[issue18959] Create a "Superseded modules" section in standard library ToC

2013-10-24 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: I changed 'Deprecated Modules' into 'Superseded Modules', as indicated by the issue title. -- Added file: http://bugs.python.org/file32332/doc_add_a_deprecated_modules_heading2.patch ___ Python tracker

[issue18959] Create a "Superseded modules" section in standard library ToC

2013-10-24 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: The patch adds a 'Deprecated Modules' heading in the library's ToC and moves 'imp' & 'optparse' to the new entry. -- keywords: +patch nosy: +andrei.duma Added file: http://bugs.python.org/file32331/doc_add_a_deprecated_modules_heading.patch __

[issue15477] test_cmath failures on OS X 10.8

2013-10-24 Thread Mark Dickinson
Mark Dickinson added the comment: Update: I just received this from Apple, for bug #12128251. """ We believe this issue has been addressed in OS X Mavericks GM build 13A603. Please verify with this release, and update this report with your results. """ -- _

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could you perhaps add a test? -- components: -IO, Windows stage: needs patch -> patch review versions: +Python 3.4 -Python 3.2 ___ Python tracker _

[issue14027] Add pysetup script for Windows

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: distutils2 is dead, closing. -- nosy: +pitrou resolution: -> postponed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue16632] Enable DEP and ASLR

2013-10-24 Thread Stefan Krah
Stefan Krah added the comment: > I see a crash in test_capi and a couple of crashes > in test_faulthandler but these don't seem to be related. Perhaps the same as #9116. -- nosy: +skrah ___ Python tracker

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-10-24 Thread Andrei Dorian Duma
Andrei Dorian Duma added the comment: I added a patch (my first patch!). platform.linux_distribution() now first looks in /etc/os-release. If this file is not found, checking continues as before. -- keywords: +patch Added file: http://bugs.python.org/file32330/add_os_release_support.pa

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Tim! There are a couple minor things I'd like to get into a new patch before it's committed (there are a couple tabs that should be spaces, and I'd like to add a very short note to the Sub-Projects header about sub-projects being contained in .vcxproj a

[issue19294] test_asyncio fails intermittently on OS X 10.4

2013-10-24 Thread Guido van Rossum
Guido van Rossum added the comment: I revived my ancient PowerBook G4 just to get to the bottom of this. The long and short of the issue seems to be that when subprocess.Popen() closes the *read* end of the stdin pipe, fstat() on the *write* end starts failing with EBADF. The exact line where

[issue4905] Use INVALID_FILE_ATTRIBUTES instead of magic numbers

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue4905] Use INVALID_FILE_ATTRIBUTES instead of magic numbers

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- assignee: -> tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue14027] Add pysetup script for Windows

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- nosy: -tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: It should be obvious that new mimetype == new feature. It doesn't matter if the type is popular or not. -- status: open -> closed ___ Python tracker

[issue18199] Windows: support path longer than 260 bytes using "\\?\" prefix

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- nosy: -tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue16353] add function to os module for getting path to default shell

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- nosy: -tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue14208] No way to recover original argv with python -m

2013-10-24 Thread Tim Golden
Changes by Tim Golden : -- nosy: -tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue13234] os.listdir breaks with literal paths

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Santoso Wijaya: sorry for the delay. If you'd like to retarget your patch against the tip, I'm happy to apply. At this stage, 3.3 and 3.4 seem the appropriate branches. -- assignee: -> tim.golden versions: -Python 2.7, Python 3.2 ___

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: > In other words, the documentation looks sufficient to me as-is, and adding > special wording for this would only make it longer than it should be. Adding a note would not hurt. -- status: pending -> open ___ Pytho

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread anatoly techtonik
anatoly techtonik added the comment: I am not sure that policy defines anything related to datasets bundled with Python. Even when try to adopt policy reading to this case, it doesn't look like a feature, but a bug fix. SVG is a registered MIME type http://www.w3.org/TR/SVG/mimereg.html, SVG i

[issue19376] document that strptime() does not support the Feb 29 if the format does not contain the year

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note: the actual explanation is that Feb 29th doesn't exist in *1900* which is the default year in strptime(). The same error happens if you ask for "Feb 30" or "Apr 31", it has nothing to do with leap years specifically. In other words, the documentation look

  1   2   >