[issue992389] attribute error after non-from import

2008-04-12 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: This is actually a pretty tough problem - fixing it would involve some fairly subtle changes to the way imports from packages are handled. Given that I'm of the opinion that permitting circular imports in a code base is an extraordinarily bad co

[issue2626] If compile with gcc 4.3.0 python interpreter itself eats all memory

2008-04-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: That's a bug in gcc 4.3, see http://mail.python.org/pipermail/python-3000/2008-April/012965.html -- nosy: +loewis resolution: -> invalid status: open -> closed versions: +3rd party -Python 3.0 __ Tr

[issue1437699] allow unicode arguments for robotparser.can_fetch

2008-04-12 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- assignee: skip.montanaro -> nosy: -skip.montanaro _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1225769] Proposal to implement comment rows in csv module

2008-04-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Assigning to Andrew (as the primary C lib author). Andrew, please comment ;-). -- assignee: skip.montanaro -> andrewmcnamara nosy: +andrewmcnamara _ Tracker <[EMAIL PROTECTED]>

[issue1374063] Broader iterable support for xmlrpclib

2008-04-12 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- resolution: -> remind _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing

[issue852532] ^$ won't split on empty line

2008-04-12 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- status: pending -> closed Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing

[issue1744580] cvs.get_dialect() return a class object

2008-04-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Just a doc change after all... -- status: pending -> closed _ Tracker <[EMAIL PROTECTED]> _ ___

[issue766910] fix one or two bugs in trace.py

2008-04-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: unassigning -- assignee: skip.montanaro -> Tracker <[EMAIL PROTECTED]> ___ Py

[issue2078] CSV Sniffer does not function properly on single column .csv files

2008-04-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I can't see a great reason to change the behavior. I've attached my current patch for csv.py and test_csv.py in case someone else wants to pick it up later. -- keywords: +patch priority: -> low resolution: -> postponed status: open

[issue2622] Import errors in email.message.py

2008-04-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: Can you send a sample code that reproduces that ? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2622] Import errors in email.message.py

2008-04-12 Thread John Jackson
John Jackson <[EMAIL PROTECTED]> added the comment: Yes. If the code is used to build a standalone application with py2app on the Mac, here's the end of the stack trace: File "controller.pyo", line 17, in File "readMail.pyo", line 15, in File "mailbox.pyo", line 1294, in File "email/_

[issue2626] If compile with gcc 4.3.0 python interpreter itself eats all memory

2008-04-12 Thread Georgij Kondratjev
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment: This doesn't affect python 2.5.2 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing

[issue1631171] implement warnings module in C

2008-04-12 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Committed in revision 62303. -- resolution: -> accepted status: pending -> closed _ Tracker <[EMAIL PROTECTED]> _ __

[issue2626] If compile with gcc 4.3.0 python interpreter itself eats all memory

2008-04-12 Thread Georgij Kondratjev
New submission from Georgij Kondratjev <[EMAIL PROTECTED]>: First time I noticed it during compilation of python3 r62301, then 3.0a4, then 3.0a3, with and without CFLAGS set. Step "./python -E ./setup.py -q build" called by make never ends (and there is no output). Just "/python" behaves the s

[issue2195] urlparse() does not handle URLs with port numbers properly

2008-04-12 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> added the comment: Discussed in #754016 -- nosy: +ajaksu2 versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1481036] IOBaseError

2008-04-12 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: The problem with EOFError as a child of EnvironmentError is that it wouldn't conform to EnvironmentError's standard 2-tuple or 3-tuple of args representing errno and the associate string and optionally filename. So inserting an exception ab

[issue1950] Potential overflows due to incorrect usage of PyUnicode_AsString.

2008-04-12 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I revised the patch with respect to Alexander's comments. In summary, here is what I changed from the previous patch: - Removed the unnecessary "fixes" to Objects/structseq.c and Modules/timemodule.c - Updated Objects/typeobject

[issue992389] attribute error after non-from import

2008-04-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> ncoghlan priority: low -> normal Tracker <[EMAIL PROTECTED]> ___ Pytho

[issue1779700] urlparse.urljoin does not obey current uri rfc (rfc 3986)

2008-04-12 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> added the comment: Duplicate of #1591035 -- nosy: +ajaksu2 _ Tracker <[EMAIL PROTECTED]> _ ___ Pytho

[issue2622] Import errors in email.message.py

2008-04-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> barry nosy: +barry priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue1481036] IOBaseError

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Yes, that'd make sense. Ask on python-dev, though. -- resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> ___

[issue1481036] IOBaseError

2008-04-12 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- resolution: fixed -> status: closed -> open _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1481036] IOBaseError

2008-04-12 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: I don't think so. socket.error has been changed to inherit from IOError in 2.6 (and thus socket.sslerror which inherits from socket.error). EOFError has not changed. ftplib.all_errors is already a tuple of (ftplib.Error, socket.error, IOE

[issue2622] Import errors in email.message.py

2008-04-12 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: You may not like the naming applied there, but surely it is not a import error. Can you actually manage to get an ImportError ? -- nosy: +gpolo __ Tracker <[EMAIL PROTECTED]>

[issue1683368] object.__init__ shouldn't allow args/kwds

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Can this be closed? -- nosy: +benjamin.peterson _ Tracker <[EMAIL PROTECTED]> _

[issue1481036] IOBaseError

2008-04-12 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mail

[issue960845] overall index to distributed documentation

2008-04-12 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- status: open -> closed Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing

[issue1481036] IOBaseError

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Something like this was done in 2.5. -- nosy: +benjamin.peterson resolution: -> fixed _ Tracker <[EMAIL PROTECTED]> _ _

[issue960845] overall index to distributed documentation

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: There is in 2.6. -- nosy: +benjamin.peterson resolution: -> fixed Tracker <[EMAIL PROTECTED]>

[issue920680] readline not implemented for UTF-16

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: It seems this is no longer true. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed Tracker <[EMAIL PROTECTED]> __

[issue853569] Keyword or function to invoke pdb programmatically

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I don't think this is going to happen any time soon. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed Tracker <[EMAIL PROTECTED]>

[issue2615] xml.dom.minidom documentation consistency and update

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed as r62295. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1721241] code that writes the PKG-INFO file doesnt handle unicode

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as duplicate. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Cannot use non-ascii letters in disutils if setuptools is used. _ Tracker <[EMAIL PROTECT

[issue1156280] cmd.Cmd().cmdloop() can't read from file

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as duplicate. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> cmd.py always uses raw_input, even when another stdin is specified _ Tracker <[EMAIL PRO

[issue2617] Patch to emit "-J is reserved for Jython" on -J arg

2008-04-12 Thread Frank Wierzbicki
Frank Wierzbicki <[EMAIL PROTECTED]> added the comment: On Sat, Apr 12, 2008 at 9:03 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > > Christian Heimes <[EMAIL PROTECTED]> added the comment: > > I've reserved -X as well. Applied in r62293 Great, thanks! While I'd love to have *both* -X and -

[issue2530] Document IO module

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It isn't. I'll have to investigate this -- I have a feeling of déjà-bug... __ Tracker <[EMAIL PROTECTED]> __

[issue2625] mailbox.MH.get_message() treats result of get_sequences() as list of tuples

2008-04-12 Thread Christer Sjöholm
New submission from Christer Sjöholm <[EMAIL PROTECTED]>: in mailbox.MH.get_message() there is a loop over the mailbox sequences on row 894 in Python 2.5.2 for name, key_list in self.get_sequences(): but mailbox.MH.get_sequences() returns a dict so it should be for name, key_list in self.get_

[issue1721241] code that writes the PKG-INFO file doesnt handle unicode

2008-04-12 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> added the comment: Currently tracked in #2562 -- nosy: +ajaksu2 versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ __

[issue1156280] cmd.Cmd().cmdloop() can't read from file

2008-04-12 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> added the comment: Superseded by #2571 The user can change cmd.Cmd.use_rawinput to False and get the desired behaviour. -- nosy: +ajaksu2 _ Tracker <[EMAIL PROTECTED]>

[issue2576] httplib read() very slow due to lack of socket buffer

2008-04-12 Thread Daniel Diniz
Daniel Diniz <[EMAIL PROTECTED]> added the comment: Also reported in #1542407 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

[issue2598] "{ +(}".format(**{' +(': 44}) should produce ValueError: invalid identifier, ' +(' in format

2008-04-12 Thread Bruce Frederiksen
Bruce Frederiksen <[EMAIL PROTECTED]> added the comment: I was reading the 3.0 documentation: http://docs.python.org/dev/3.0/library/string.html#formatstrings which indicated that an identifier was required. I was unaware of the implementation note in the PEP. They only issue remaining is that

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9623/setitimer_getitimer_wrapper_test.diff __ Tracker <[EMAIL PROTECTED]> __ __

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9620/setitimer_getitimer_wrapper_doc.diff __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9622/setitimer_getitimer_wrapper_doc_update.diff __ Tracker <[EMAIL PROTECTED]> __

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9619/setitimer_getitimer_wrapper_fixes.diff __ Tracker <[EMAIL PROTECTED]> __ _

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9615/setitimer_getitimer_wrapper_rename.diff __ Tracker <[EMAIL PROTECTED]> __

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9613/setitimer_getitimer_wrapper.diff __ Tracker <[EMAIL PROTECTED]> __

[issue2240] setitimer, getitimer wrapper

2008-04-12 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9611/py-itimer-0.1.2.tar.gz __ Tracker <[EMAIL PROTECTED]> __ __

[issue2621] rename test_support to support

2008-04-12 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Right, we should do this only in Py3k. It might be helpful to make an alias in 2.6 for it. Attaching py3k patch. -- versions: +Python 3.0 -Python 2.6 Added file: http://bugs.python.org/file10018/rename_test_support_py3k.patch

[issue836088] Update htmllib to HTML 4.01

2008-04-12 Thread Daniel Diniz
Changes by Daniel Diniz <[EMAIL PROTECTED]>: -- versions: +Python 2.6 -Python 2.5 Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list m

[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout

2008-04-12 Thread Daniel Diniz
Changes by Daniel Diniz <[EMAIL PROTECTED]>: -- versions: +Python 2.6 -Python 2.4, Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-

[issue2624] swig support in distutils should use the build and temp dirs

2008-04-12 Thread Kjell Braden
Kjell Braden <[EMAIL PROTECTED]> added the comment: Without having it tested very much, the attached patch fixes this issue for me. -- keywords: +patch Added file: http://bugs.python.org/file10017/python_distutils+swig.patch __ Tracker <[EMAIL PROTECTED]>

[issue2624] swig support in distutils should use the build and temp dirs

2008-04-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Can you provide a patch? -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bu

[issue902061] pydoc insists upon producing file: URLs

2008-04-12 Thread Daniel Diniz
Changes by Daniel Diniz <[EMAIL PROTECTED]>: -- versions: +Python 2.6 Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list

[issue2617] Patch to emit "-J is reserved for Jython" on -J arg

2008-04-12 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I've reserved -X as well. Applied in r62293 -- nosy: +tiran resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue2624] swig support in distutils should use the build and temp dirs

2008-04-12 Thread Kjell Braden
New submission from Kjell Braden <[EMAIL PROTECTED]>: Distutils should tell swig to create it's C wrapper file into the temporary directory (eg. build/temp.linux-i686-2.5) and to write the language specific files to the library directory (eg. build/lib.linux-i686-2.5). Rationale: Without the lan

[issue2620] Multiple buffer overflows in unicode processing

2008-04-12 Thread Justin Ferguson
Justin Ferguson <[EMAIL PROTECTED]> added the comment: Additionally-- the PyMem_NEW()/PyMem_New() macro's need to be fixed: 231 static 232 PyUnicodeObject *_PyUnicode_New(Py_ssize_t length) 233 { 234 register PyUnicodeObject *unicode; 235 236 /* Optimization for empty strings */

[issue2620] Multiple buffer overflows in unicode processing

2008-04-12 Thread Justin Ferguson
Justin Ferguson <[EMAIL PROTECTED]> added the comment: just fixing the modifications my phone made earlier tonight -- components: -Library (Lib), None versions: -Python 3.0 __ Tracker <[EMAIL PROTECTED]> __

[issue2621] rename test_support to support

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It would be nice if all test.test_foo modules were real tests. I know this is on the stdlib-sig's list of changes for 3.0; I don't think we should do the rename in 2.x. __ Tracker <[EMAIL PROTECTED]>