[issue1500504] Alternate RFC 3986 compliant URI parsing module

2010-07-10 Thread Nick Coghlan
Nick Coghlan added the comment: "accepted" is a little too strong for the current status of this :) I've removed the easy tag as well (making the case for this or something like it in the standard library it going to involve a fair bit of effort - the coding was actually the comparatively eas

[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2010-07-10 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue7752] Add support for Digest authentication session (reuse nonces)

2010-07-10 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil resolution: -> accepted stage: unit test needed -> patch review ___ Python tracker ___ __

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2010-07-10 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8145] Documentation about sqlite3 isolation_level

2010-07-10 Thread Laszlo Nagy
Laszlo Nagy added the comment: 2010/7/11 Terry J. Reedy > > Terry J. Reedy added the comment: > > If the content of the patch is correct, it looks ready to apply, with only > a touch of editing. Do we have a resident expert of sqlite3? Or Laszlo, do > you have a reference for the statements m

[issue4140] urllib2: request with digest auth through proxy fail

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: This might be related to issue2202 as well. -- assignee: gregory.p.smith -> orsenthil dependencies: +urllib2 fails against IIS 6.0 (No support for MD5-sess auth) nosy: +orsenthil resolution: -> accepted ___ Python

[issue1500504] Alternate RFC 3986 compliant URI parsing module

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: A new way for parsing URI. I have not reviewed it even after saying I would like to, but having the dependency issue resolved, I think it is good to look at it again, especially if it leads some helpful approaches to parsing IRI. -- assignee: -> ors

[issue3647] urlparse - relative url parsing and joins to be RFC3986 compliance

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Several changes were already made to urlparse to make it more rfc3986 compliant. Let me recollect what else these patches offer. -- assignee: gregory.p.smith -> orsenthil ___ Python tracker

[issue3665] Support \u and \U escapes in regexes

2010-07-10 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: Here's an updated patch for py3k branch. As per Georg's comment, I added to check codepoint in the character ranges, conversion to the surrogate pairs. I also added check to raise exception if codepoint > 0x10. I with to English speakers to fix error mess

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-07-10 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: georg.brandl -> orsenthil resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-lis

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: I removed the documentation comment in r82785. But the report still holds till we have a class for handling MSIE Cookies. -- nosy: +orsenthil stage: -> needs patch ___ Python tracker

[issue9213] range purports to implement the Sequence ABC, but is missing index and count methods

2010-07-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-07-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-07-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : Added file: http://bugs.python.org/file17938/idle-use-curr-py.patch ___ Python tracker ___ ___ Python-bugs-list

[issue808129] Change --changelog to accept files

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report Tony. Sorry for the late reply, I tried to review a lot of distutils bugs some months ago but didn’t manage to read all of them. I’m assigning this to the distutils maintainer. Distutils is mainly frozen now, since we’ve seen that even chan

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2010-07-10 Thread Dou Yuan
Dou Yuan added the comment: Firefox no longer use cookies.txt. I think this patch is useless. -- status: open -> closed ___ Python tracker ___ ___

[issue8801] Inconsistency in behaviour of urllib and urllib2 with file:// URLs

2010-07-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: There were differing behaviors in the way urllib and urllib2 was handling certain kind of file:// urls which led to this error. I just made them consistent with the fix in r82780 and merged into branches. Now, this Exception won't be thrown at the file-open

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will try to test this sometime, though I always start IDLE through the start menu. -- nosy: +tjreedy versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker

[issue8841] GetoptError strings should be localized

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3143] Make the left sidebar in the doc collapsible

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: -Documentation tools (Sphinx) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue4888] misplaced (or misleading) assert in ceval.c

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue808129] Change --changelog to accept files

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Pytho

[issue8722] Documentation for __getattr__

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1777134] minidom pretty xml output improvement

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Removed junk copy of message -- nosy: +tjreedy versions: +Python 3.2 -Python 2.6, Python 2.7 ___ Python tracker ___ _

[issue1777134] minidom pretty xml output improvement

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file13043/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue724459] Add documentation about line endings in email messages.

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6588] insert cookies into cookie jar - cookielib.py

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> unit test needed versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-lis

[issue8465] re: Backreferences vs. escapes: a silent failure solved

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you are suggesting that code like >>> '\2' '\x02' should routinely product a warning, and later an exception, this issue should be rejected. Normal code does not produce warnings. Rarity in the stdlib is irrelevant. Backslash processing of string literals i

[issue8387] use universal newline mode in csv module examples

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8289] multiprocessing.Process.__init__ pickles all arguments

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

[issue8269] Missing return values for PyUnicode C/API functions

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6749] Support for encrypted zipfiles when interpreting zipfile as script

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list m

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Jim Fulton
Jim Fulton added the comment: On Sat, Jul 10, 2010 at 4:08 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Confirmed: http://docs.python.org/reference/datamodel#specialnames > Closing. Sorry! (BTW, using import hackery and a custom module type, you > could achieve your goal.) Y

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-07-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: I had misread you original post. Thought you we saying that the Set ABC was missing disjoint. Disregard my last post. -- ___ Python tracker _

[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-10 Thread Terry J. Reedy
New submission from Terry J. Reedy : In the open and save-as dialog boxes, the choices for the 'Files of type' field are governed by the filetypes list in Lib\idlelib\IOBinding.py, about line 225 (found by a friend). filetypes = [ ("Python and text files", "*.py *.pyw *.txt", "TEXT

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, definitely. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2010-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Anyone with turtle/Tkinter knowledge who can shed some light on this? -- nosy: +BreamoreBoy stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8145] Documentation about sqlite3 isolation_level

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the content of the patch is correct, it looks ready to apply, with only a touch of editing. Do we have a resident expert of sqlite3? Or Laszlo, do you have a reference for the statements made? -- assignee: georg.brandl -> d...@python nosy: +d...@py

[issue6529] get{pw,gr}{nam,[ug]id}() calls are not re-entrant

2010-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Is this an issue that should be addressed? -- nosy: +BreamoreBoy stage: -> unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[issue6478] time.tzset does not reset _strptime's locale time cache

2010-07-10 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +belopolsky stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.6 ___ Python tracker ___ ___

[issue3077] h2py char literal doesn't work

2010-07-10 Thread Mark Lawrence
Mark Lawrence added the comment: Both patch files are two liners, could someone please take a look and decide if one of them can be accepted? -- nosy: +BreamoreBoy stage: -> patch review title: h2py char literal doesn work -> h2py char literal doesn't work versions: +Python 3.1, Pytho

[issue1657] epoll and kqueue wrappers for the select module

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Is the problem that the kqueue section says things like 'filter-specific data' with no explanation?" The phase is not in the (newer) 3.1.2 docs. Given the absence of a specific doc issue, closing. -- keywords: -patch nosy: +tjreedy resolution: acce

[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-07-10 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: In this case, the concrete class is the one missing a method. Concrete classes are allowed to provide more features than the corresponding ABC, but the converse is not true to the best of my knowledge. dict_keys .register()s as supporting the Set ABC, so

[issue6386] importing yields unexpected results when initial script is a symbolic link

2010-07-10 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> unit test needed versions: +Python 3.2 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___

[issue6359] pyexpat.c calls trace function incorrectly for exceptions

2010-07-10 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +loewis stage: -> unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ __

[issue902061] pydoc insists upon producing file: URLs

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue6325] robotparser doesn't handle URL's with query strings

2010-07-10 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: -> orsenthil nosy: +orsenthil versions: +Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 2.6 ___ Python tracker ___ ___

[issue7918] distutils always ignores compile errors

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7867] Proposed FAQ entry on pass-by-? semantics and the meaning of 'variable' in python

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mai

[issue7867] Proposed FAQ entry on pass-by-? semantics and the meaning of 'variable' in python

2010-07-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I and others completely disagree with "Technically the correct answer is 'pass by value',". This confuses the C implementation with the abstract semantics of Python. The correct answer is neither. Nothing is 'passed'. A better form of the question would be "D

[issue2053] IDLE - standardize dialogs

2010-07-10 Thread Tal Einat
Tal Einat added the comment: At this point I would prefer that this patch just be rejected rather than continue discussing it. I can understand IDLE being a low priority, but someone could have just stated that to begin with and I wouldn't have bothered working for hours to work up a patch a

[issue5116] expose _CrtSetReportMode via the msvcrt module

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4965] Can doc index of html version be separately scrollable?

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4711] Wide literals in the table of contents overflow in documentation

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1326113] Letting "build_ext --libraries" take more than one lib

2010-07-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Pyth

[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-07-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: Concrete classes are allowed to have more features than the corresponding ABC. The ABCs are not intended to be full-featured; instead, they specify the part of the API that will be guaranteed. For example, the union() method for built-in sets allows two

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: To make one useful comment today: I noticed one missing :term: construct to link ABCs from duck typing. Attaching patch. -- keywords: +patch Added file: http://bugs.python.org/file17937/add-ref.diff ___ Python tracker

[issue3071] The ValueError raised by failing to unpack sequence should have more information.

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: accepted -> fixed stage: unit test needed -> committed/rejected ___ Python tracker ___ ___ Pyth

[issue8564] Update documentation on doctest/unittest2 integration

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue5094] datetime lacks concrete tzinfo implementation for UTC

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: accepted -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9000] Provide parseable repr to datetime.timezone

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: accepted -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Re-reading the glossary for both entries, they already link to each other, and the subtleties of ABCs can be learned later in their documentation. The glossary is good, sorry for the noise. -- ___ Python tracker

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Benjamin: Georg, you may also want to amend this entry for ABCs. Georg: ABCs are not duck-typing since they involve isinstance() anyway. Since ABCs provide virtual subclassing, using hasattr without requiring subclassing or registering, isn’t Benjamin right afte

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9213] range purports to implement the Sequence ABC, but is missing index and count methods

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9193] Versioned .so files

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: In build_ext, your modifications to get_ext_filename do not update the docstring, although it contains a comment documenting the handling of ext.so_abi_tag. They also use str.rpartition, not available in 2.3, with which distutils has to remain compatible as per

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-07-10 Thread Jesse Noller
Jesse Noller added the comment: A+ for creativity; I wouldn't have thought of that ;) -- ___ Python tracker ___ ___ Python-bugs-list m

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-07-10 Thread Reid Kleckner
Reid Kleckner added the comment: Also, thanks for the quick reviews! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Mark Dickinson
Mark Dickinson added the comment: Just for the record, this changed with the introduction of the SETUP_WITH opcode in r72912. Perhaps Benjamin can confirm that the behaviour change was deliberate? -- nosy: +benjamin.peterson, mark.dickinson ___ Py

[issue6643] joining a child that forks can deadlock in the forked child process

2010-07-10 Thread Reid Kleckner
Reid Kleckner added the comment: I realized that in a later fix for unladen-swallow, we also cleared the condition variable waiters list, since it has radioactive synchronization primitives in it as well. Here's an updated patch that simplifies the fix by just using __init__() to completely

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-07-10 Thread Reid Kleckner
Reid Kleckner added the comment: Oops, copy/paste oversight. =/ I wrote a test to verify that it handles signals, and then retries the lock acquire. -- Added file: http://bugs.python.org/file17935/lock-interrupt.diff ___ Python tracker

[issue9221] 2to3 fails to parse a for construct

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: You are supposed to use “...” on continuation lines, not “>>>”: http://docs.python.org/glossary#term-1 http://docs.python.org/dev/library/doctest#how-are-docstring-examples-recognized Please reopen it the problem persists after this change. Thank you! --

[issue9219] Make reindent-rst.py preserve ^L

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: > [...] so I don't see a reason. Thanks for the additional info, agreed then. > [PEPs are] not covered by the commit hook anyway... Probably because it’s not as useful to enforce standards on them, since less people read and edit their source, so no problem. Tha

[issue9221] 2to3 fails to parse a for construct

2010-07-10 Thread Tiago Antao
New submission from Tiago Antao : 2to3 crashes with a apparently simple for. An example is presented (the first line is actually enough) >>> for clade in tree.find_clades(branch_length=True, order='level'): >>> if (clade.branch_length < .5 and >>> not clade.is

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Confirmed: http://docs.python.org/reference/datamodel#specialnames Closing. Sorry! (BTW, using import hackery and a custom module type, you could achieve your goal.) -- resolution: -> invalid stage: -> committed/rejected status: open -> closed

[issue9219] Make reindent-rst.py preserve ^L

2010-07-10 Thread Georg Brandl
Georg Brandl added the comment: > Thanks for the answer. Perhaps it would be useful to mention trailing > whitespace and ^L in http://docs.python.org/documenting/style.html? So far, I guess nobody has tried to check in a ^L, and nobody has complained about the commit hook that rejects trailing

[issue6302] email.header.decode_header data types are inconsistent and incorrectly documented

2010-07-10 Thread R. David Murray
R. David Murray added the comment: No, this is a 3.x only problem. And my main comment is that decode_headers ought to go away as an API :) But I'll try to fix the inconsistent data types problem before 3.2. -- assignee: -> r.david.murray ___ Pyt

[issue9217] 2to3 crashes with some doctests

2010-07-10 Thread Tiago Antao
Tiago Antao added the comment: BTW, this happens in 2.6 also -- versions: +Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mail

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: IIUC, magic methods are looked up on the object’s class, not in the object’s __dict__. This behavior in 2.6 seems like a bug to me. I-tried-to-add-__call__-to-a-module-once-ly yours -- nosy: +merwok ___ Python tracker

[issue9219] Make reindent-rst.py preserve ^L

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the answer. Perhaps it would be useful to mention trailing whitespace and ^L in http://docs.python.org/documenting/style.html? As for PEPs, I guess it’s less important that they conform to these standards, since they’re more an internal documentation.

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-07-10 Thread Greg Brockman
Greg Brockman added the comment: What about just catching the exception? See e.g. the attached patch. (Disclaimer: not heavily tested). -- Added file: http://bugs.python.org/file17934/shutdown.patch ___ Python tracker

[issue9219] Make reindent-rst.py preserve ^L

2010-07-10 Thread Georg Brandl
Georg Brandl added the comment: This script is mainly meant to fix files according to our standards, and I don't want ^L in them. Thus, I'm rejecting this. -- nosy: +georg.brandl resolution: -> rejected status: open -> closed ___ Python tracker <

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Jim Fulton
New submission from Jim Fulton : In python 2.7 a module can't be used as a context manager. For example, given the module, t.py: def __enter__(*args): print 'enter', args def __exit__(*args): print 'exit', args In Python 2.6: >>> import t >>> with t: pass

[issue9218] pop multiple elements of a list at once

2010-07-10 Thread Mark Dickinson
Mark Dickinson added the comment: The python-ideas mailing list might be a better place to discuss this. Note that it's too late for new features in the 2.x series, so I'm changing the version to 3.2 > pop self.recv_buffer[:size] I don't think this'll fly, even if you spell it pop(self.recv

[issue9219] Make reindent-rst.py preserve ^L

2010-07-10 Thread Éric Araujo
New submission from Éric Araujo : Tools/scripts/reindent-rst.py strips trailing whitespace from reST files, including ^L. ISTM that this character is always used explicitly, not by oversight, e.g. by people wanting their editor to paginate files like plain text PEPs. I suggest that the regex a

[issue9217] 2to3 crashes with some doctests

2010-07-10 Thread Tiago Antao
Tiago Antao added the comment: Benjamin, Thanks for the fast answer. I attach the problematic file. This file is from Biopython. We are trying to have a Python 3 version of it. We applied 2to3 (no -d) first (via distutils on setup.py build) and I was applying 2to3 -d manually after it. -

[issue9217] 2to3 crashes with some doctests

2010-07-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r82779. I'm curious as to what it's failing on. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-07-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: The RLock version gets different semantics in your patch: it doesn't retry acquiring when a signal is caught. Is there a reason for that? By the way, your patch works fine under Windows. -- ___ Python tracker

[issue1447633] "reindent.py" exposes bug in tokenize

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5150] IDLE to support reindent.py

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok resolution: accepted -> fixed stage: needs patch -> committed/rejected ___ Python tracker ___ ___

[issue6643] joining a child that forks can deadlock in the forked child process

2010-07-10 Thread Reid Kleckner
Reid Kleckner added the comment: Here's an updated patch for py3k (3.2). The test still fails without the fix, and passes with the fix. Thinking more about this, I'll try summarizing the bug more coherently: When the main thread joins the child threads, it acquires some locks. If a fork in

[issue2053] IDLE - standardize dialogs

2010-07-10 Thread Guilherme Polo
Guilherme Polo added the comment: > Tal Einat added the comment: > > ... > > The process of discussing this patch has taken far, far too long. I can't > stand such discussions spanning months (and years!). Please just accept this > patch or close it. I'm fed up with this. > If the patch were

[issue9218] pop multiple elements of a list at once

2010-07-10 Thread Diego Jacobi
New submission from Diego Jacobi : I am currently working with buffer in an USB device and pyusb. So when i read from a buffer endpoint i get an array.Array() list. I handle this chunk of data with a thread to send a receive the information that i need. In this thread i load a list with all the

[issue9217] 2to3 crashes with some doctests

2010-07-10 Thread Tiago Antao
Changes by Tiago Antao : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

  1   2   3   >