[issue16113] SHA-3 (Keccak) support may need to be removed before 3.4

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm prepared to pull the plug if there is any doubt about the final version of SHA-3 before beta 2 is released on Jan 5th. Shouldn't it be removed before beta1? The usual rule of feature freeze applies here. --

[issue19373] Tkinter apps including IDLE may not display properly on OS X 10.9 Mavericks

2013-10-24 Thread Ned Deily
New submission from Ned Deily: On OS X 10.9 Mavericks, there is a problem with Aqua Cocoa Tk 8.5 (8.5.15 or earlier) when run in 64-bit mode, the default for most applications. The symptoms are that Tk widgets may not be properly drawn or updated on the screen unless some HID activity takes

[issue19374] Segmentation fault: 11 with String.split

2013-10-24 Thread Bugra Cakir
New submission from Bugra Cakir: Can be reproduced on Mac OS X. Stock Python 2.7.5 setup has been installed on a Mac OS X. Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help, copyright, credits or license for more

[issue19374] Segmentation fault: 11 with String.split

2013-10-24 Thread Ned Deily
Ned Deily added the comment: Presumably you are running on OS X 10.9 Mavericks. If so, this is a duplicate of Issue18458. Please see the available workaround documented there until Python 2.7.6 is released. -- nosy: +ned.deily resolution: - duplicate stage: - committed/rejected

[issue16113] SHA-3 (Keccak) support may need to be removed before 3.4

2013-10-24 Thread Mark Lawrence
Mark Lawrence added the comment: This strikes me as a rather unusual case. How about discuss it on python-dev, come to an agreement and document the process for this type of issue somewhere for future reference? Or is that simply OTT? -- nosy: +BreamoreBoy

[issue16113] SHA-3 (Keccak) support may need to be removed before 3.4

2013-10-24 Thread Michele OrrĂ¹
Changes by Michele OrrĂ¹ maker...@gmail.com: -- nosy: -maker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16113 ___ ___ Python-bugs-list mailing

[issue19358] Integrate Argument Clinic into CPython build

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, why is clinic 3.3 only? It would be slightly easier if it accepted any python3 executable. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19358 ___

[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Just revisited this to see if I could close off. One thing occurred to me which should have come up before: this situation will be aggravated by WOW64 file redirection. If I run 64-bit Python on 64-bit Windows I can successfully stat links in %windir%\system32

[issue19358] Integrate Argument Clinic into CPython build

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: Well, I don't really know how to do it. You'd have to have a step that somehow scans for .c files in the source tree, looks for clinic headers and compute whether they're outdated? Does it really need to be automated? We may only regenerate clinic things

[issue19358] Integrate Argument Clinic into CPython build

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, I don't really know how to do it. You'd have to have a step that somehow scans for .c files in the source tree, looks for clinic headers and compute whether they're outdated? Does it really need to be automated? We may only regenerate clinic

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2013-10-24 Thread pokulo
pokulo added the comment: uning python 3.3 mingw4.8 both -std=gnu++0x and -std=c++11 cause still the same error. -- nosy: +pokulo versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11566

[issue19273] Update PCbuild/readme.txt

2013-10-24 Thread Tim Golden
Tim Golden added the comment: I've looked this over and, basically, +1. We could argue the toss back and forth over changes, but I think the changes do the right amount of cruft-clearing and avoid the danger of being a mere reflection of one person's aesthetic choices over another's. If

[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Antoine Pitrou
New submission from Antoine Pitrou: I suggest deprecating the site-python feature from site.py, as proposed by Guido on python-dev: https://mail.python.org/pipermail/python-dev/2013-October/129820.html - if a site-python directory is detected and added from site.py, a DeprecationWarning

[issue19375] Deprecate site-python in site.py

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: Guido wrote I suggest that we remove that feature. (People who want it can always patch up their own $PYTHONPATH.). It's different than deprecating the feature :-) I didn't know the feature before you proposed to remove it. Is the site-python thing used in

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: In cases where inheritance is not encouraged and it is judged to improve readability at the point of use, the naming convention for callables (lower_case_with_underscores) may be used instead. This is an indication that the type is intended primarily for use

[issue19367] IDLE wont open

2013-10-24 Thread Arjit Srivastava
Arjit Srivastava added the comment: Hi MrE.Merry, There may be a file clashing with the normal python files. I guess, you could take a look into your Python directory, and see if you have .py file which has a name of another python module/keyword, causing it to conflict with the normal

[issue15792] Fix compiler options for x64 builds on Windows

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Retargetted patch against current tip. If no-one objects I'll commit this in the next day or two. -- assignee: - tim.golden Added file: http://bugs.python.org/file32326/pcbuild.diff.2 ___ Python tracker

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11566 ___ ___ Python-bugs-list

[issue6839] zipfile can't extract file

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6839 ___ ___ Python-bugs-list

[issue14112] tutorial intro talks of shallow copy concept without explanation

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14112 ___ ___ Python-bugs-list

[issue6335] Add support for mingw

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___ Python-bugs-list

[issue2889] curses for windows (alternative patch)

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___ ___ Python-bugs-list

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6672 ___ ___ Python-bugs-list

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16472 ___ ___ Python-bugs-list

[issue19376] datetime.datetime.strptime without a year fails on Feb 29

2013-10-24 Thread Matthew Earl
New submission from Matthew Earl: datetime.datetime.strptime() without a year fails on Feb 29 with: datetime.datetime.strptime(Feb 29, %b %d) Traceback (most recent call last): File stdin, line 1, in module File /auto/ensoft-sjc/thirdparty/lib/python3.3/_strptime.py, line 511, in

[issue10179] os.stat fails on mapped network drive

2013-10-24 Thread Tim Golden
Tim Golden added the comment: Just housekeeping some Windows calls: Antoine, your last comment suggests that this is no longer an issue. I don't have a VirtualBox install to test, so can you confirm whether this can be closed? -- ___ Python tracker

[issue949667] setblocking() method on file objects

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue949667 ___ ___ Python-bugs-list

[issue19375] Deprecate site-python in site.py

2013-10-24 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19375 ___ ___ Python-bugs-list mailing

[issue10179] os.stat fails on mapped network drive

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know, I have stopped using VirtualBox here. Suggest closing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10179 ___

[issue10179] os.stat fails on mapped network drive

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10179 ___ ___ Python-bugs-list

[issue10179] os.stat fails on mapped network drive

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- resolution: - out of date stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10179 ___

[issue4331] Add functools.partialmethod

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: To clarify the current state of this: - I'm still in favour of adding this feature for Python 3.4 - a suitable patch is still needed, as the currently attached patches modify the existing functools.partial object, rather than adding a separate partialmethod API

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: collections.defaultdict, collections.deque, array.array and many of the builtins suggest the rule isn't that simple (although other examples like Decimal, Fraction, OrderedDict, Counter and ChainMap suggest my guideline is also wrong). The main thing I want is

[issue19281] add __objclass__ to the docs

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Changing the order a bit, perhaps something like this in the data model section: __objclass__: Interpreted by the inspect module as specifying the class where this object was defined (setting this appropriately can assist in runtime introspection of dynamic

[issue19376] datetime.datetime.strptime without a year fails on Feb 29

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: I don't think that the issue can be called a bug. If we pick another year (ex: 1904), you cannot compare two datetimes anymore: This solution has some very undesirable properties - namely that Mar 1st is now less than Feb 29th!

[issue949667] setblocking() method on file objects

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: There is a real need of non-blocking operation, but I now think that adding a set_blocking() method is not the right solution. First, as said by Charles-Francois: O_NONBLOCK flag has no effect on regular files. Second, there is no portable way to declare a

[issue17202] Add .bat line to .hgeol

2013-10-24 Thread Tim Golden
Tim Golden added the comment: I'm running Win7 and have the same problem, with a fresh checkout and the eol extension disabled. The attached (updated) patch does solve the issue. I can't see any reason not to apply it, even if it's not needed in many cases. -- Added file:

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: collections.defaultdict, collections.deque, array.array and many of the builtins suggest the rule isn't that simple (although other examples like Decimal, Fraction, OrderedDict, Counter and ChainMap suggest my guideline is also wrong). AFAIK, they are

[issue949667] setblocking() method on file objects

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is a real need of non-blocking operation, but I now think that adding a set_blocking() method is not the right solution. First, as said by Charles-Francois: O_NONBLOCK flag has no effect on regular files. Second, there is no portable way to declare a

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Documenting it as a callable is a pretty strong hint that it shouldn't be subclassed, but I agree my wording above is wrong. Next attempt (leaving out the mention of leading underscores, since that is covered elsewhere): = Class Names

[issue18221] abspath strips trailing spaces on win32

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18221 ___

[issue18221] abspath strips trailing spaces on win32

2013-10-24 Thread Tim Golden
Tim Golden added the comment: I'm going to close this as won't fix: the underlying implementation is simply calling GetFullPathName and removal of trailing spaces doesn't seem too surprising a result. It is possible to manipulate such files using Windows' special \\?\C:\... syntax. While I

[issue16632] Enable DEP and ASLR

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16632 ___ ___ Python-bugs-list

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Paul Moore
Paul Moore added the comment: I'm in favour of keeping it simple - use your common sense should be a general guideline here (even though I know people's tastes differ, and that can be a source of endless debate :-)) -- ___ Python tracker

[issue16632] Enable DEP and ASLR

2013-10-24 Thread STINNER Victor
STINNER Victor added the comment: @Crys: ping? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16632 ___ ___ Python-bugs-list mailing list

[issue16632] Enable DEP and ASLR

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: I'll look in this next time my Windows VM is running. -- assignee: - christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16632 ___

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

2013-10-24 Thread Claudiu.Popa
Claudiu.Popa added the comment: Nick, could you review this, please? It would be nice if we can flesh it out and add it to 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17916 ___

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

2013-10-24 Thread Tim Golden
Tim Golden added the comment: normpath doesn't really buy anything here as abspath already has the same effect (plus more). Patch attach removes normcase|path leaving only abspath. -- ___ Python tracker rep...@bugs.python.org

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

2013-10-24 Thread Tim Golden
Tim Golden added the comment: If no-one objects, I'll commit in a day or two. -- Added file: http://bugs.python.org/file32328/issue14255.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14255

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I always prefer to keep PEP 8 guidelines as succinct as possible. I've looked over Ethan's patch and the other changes suggested in comments and come up with what I think is a simple patch to improve the guidelines. I don't think we need to go into a lot

[issue19376] datetime.datetime.strptime without a year fails on Feb 29

2013-10-24 Thread Brett Cannon
Brett Cannon added the comment: I agree with Victor: we should document that proper Feb 29/leap year support requires a specified year, else constantly accepting Feb 29 as valid would lead to more errors than fix. -- nosy: +brett.cannon ___ Python

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread anatoly techtonik
New submission from anatoly techtonik: A request to backport issue10730 commit to Python 2.x Why? Google Client API uses mimetype module to detect file types when uploading to Google Drive, and because SVG is missing, it can not be edited after uploading. -- components: Library (Lib)

[issue19378] Rename line_offset parameter in dis.get_instructions to first_line

2013-10-24 Thread Nick Coghlan
New submission from Nick Coghlan: The line_offset parameter in dis.get_instructions is the line number of the first line in the source file: http://docs.python.org/dev/library/dis#dis.get_instructions Calling this an offset is a little confusing, since offset in the dis docs almost always

[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: Does this affect 2.6? Is there a patch we need to get into 2.6.9 final? -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18458 ___

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread Christian Heimes
Christian Heimes added the comment: That's against our policy. We don't add new features to stable releases. Users of the Google Client API can easily work around the issue and register their own mimetypes. -- nosy: +christian.heimes resolution: - wont fix stage: -

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

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: It's not quite that simple - the instruction responsible for the exception also needs to be recorded, and Bytecode doesn't currently allow for that (look at the way the lasti arg to disassemble is used in disttb, and then how that gets passed to the

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

2013-10-24 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python title: datetime.datetime.strptime without a year fails on Feb 29 - document that strptime() does not support the Feb 29 if the format does not contain the year

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: I always prefer to keep PEP 8 guidelines as succinct as possible. I've looked over Ethan's patch and the other changes suggested in comments and come up with what I think is a simple patch to improve the guidelines. Have you read what I wrote? Inheritance

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: -1 on Barry's wording and +1 on Nick's wording in msg201119. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19331 ___

[issue19331] Revise PEP 8 recommendation for class names

2013-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Barry, Antoine convinced me that my wording from earlier was both inaccurate and overly complicated. I'm happy with the simplified version just above Paul's last comment, though, so combining that with the earlier part of your patch looks promising to me.

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

[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

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

[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

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

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14208 ___ ___ Python-bugs-list

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

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16353 ___ ___ Python-bugs-list

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

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18199 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org http://bugs.python.org/issue19377

[issue14027] Add pysetup script for Windows

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14027 ___ ___ Python-bugs-list

[issue4905] Use INVALID_FILE_ATTRIBUTES instead of magic numbers

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- assignee: - tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4905 ___ ___ Python-bugs-list

[issue4905] Use INVALID_FILE_ATTRIBUTES instead of magic numbers

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4905 ___ ___

[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

[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

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

[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 rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue14027

[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 rep...@bugs.python.org http://bugs.python.org/issue14255

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

[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

[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

[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

[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

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

2013-10-24 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19359 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue19362

[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 raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19363 ___

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

[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 rep...@bugs.python.org http://bugs.python.org/issue19369

[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 rep...@bugs.python.org http://bugs.python.org/issue19332 ___

[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

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

[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

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19377 ___ ___

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue13234 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue16037 ___

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

2013-10-24 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18199 ___ ___

[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

[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

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

[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

  1   2   >