[issue2848] Remove mimetools usage from the stdlib

2008-06-04 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10516/remove_mimetools_from_urllib.patch-2 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2848 ___

[issue2848] Remove mimetools usage from the stdlib

2008-06-04 Thread Humberto Diogenes
Changes by Humberto Diogenes [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10515/remove_mimetools_from_urllib.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2848 ___

[issue1513695] new turtle module

2008-06-04 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the patch, committed as r63929. Please move any further discussion or other necessary changes into a new issue. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL

[issue2848] Remove mimetools usage from the stdlib

2008-06-04 Thread Humberto Diogenes
Humberto Diogenes [EMAIL PROTECTED] added the comment: It's relatively easy to replace mimetools in most places: it's just a matter of changing mimetools.Message to email.message_from_file, but it gets a lot more complicated when there's inheritance involved. The problem is that

[issue1758146] Crash in PyObject_Malloc

2008-06-04 Thread Vaclav Slavik
Vaclav Slavik [EMAIL PROTECTED] added the comment: This could be done either by not using the normal import mechanism This is completely unrealistic suggestion, people use libraries and frameworks in their code, you're in effect suggestion that no library that could possibly be used in webapp

[issue2848] Remove mimetools usage from the stdlib

2008-06-04 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: One idea: in http.client.HTTPMessage, inherit from email.Message, modify the addheaders/addcontinue/readheaders methods to use the methods in Message. Then, change the instantiation in HTTPResponse to self.msg =

[issue3008] Let bin() show floats

2008-06-04 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: No need to conquer the whole world. Start with bin(1.1). If requests pour-in for hex(1.1) or for a reverse routine, we can deal with those when we get them (in the context of their use cases). ___

[issue2613] inconsistency with bare * in parameter list

2008-06-04 Thread Buck Golemon
Buck Golemon [EMAIL PROTECTED] added the comment: /agree ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2613 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2008-06-04 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Yes, please do provide an updated patch. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1102 ___ ___

[issue2917] merge pickle and cPickle in 3.0

2008-06-04 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: Here is a diff against the previously posted _pickle.c module. The module is pretty much done now. I fixed find_class() to be a proper method and move the initialization code of Pickler/Unpickler into the tp_init slot to allow proper

[issue3037] generator in output

2008-06-04 Thread Ian Bicking
Ian Bicking [EMAIL PROTECTED] added the comment: You can see the source that produces this in http://svn.pythonpaste.org/Paste/trunk at revision 7387 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3037 ___

[issue3037] generator in output

2008-06-04 Thread Ian Bicking
Ian Bicking [EMAIL PROTECTED] added the comment: Armin says this is a bug that has now been resolved in Jinja ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3037 ___

[issue1608818] Sloppy error checking in listdir() for Posix

2008-06-04 Thread Ralf Schmitt
Changes by Ralf Schmitt [EMAIL PROTECTED]: -- nosy: +schmir ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1608818 ___ ___ Python-bugs-list mailing list

[issue3026] mmap broken with large files on 64bit system

2008-06-04 Thread Ralf Schmitt
Changes by Ralf Schmitt [EMAIL PROTECTED]: -- nosy: +schmir ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3026 ___ ___ Python-bugs-list mailing list

[issue3037] generator in output

2008-06-04 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, closing as wfm. -- resolution: - works for me status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3037 ___

[issue3002] shutil.copyfile blocks indefinitely on named pipes

2008-06-04 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: I can confirm this issue on python 2.5. I think the priority should be set to critical, as this can lead to denial of service attacks. -- nosy: +schmir versions: +Python 2.4, Python 2.5, Python 2.6

[issue1608818] Sloppy error checking in listdir() for Posix

2008-06-04 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: - loewis components: +Extension Modules -Library (Lib) keywords: +easy nosy: +loewis priority: normal - high type: - crash versions: +Python 2.6, Python 3.0 ___ Python tracker [EMAIL

[issue3026] mmap broken with large files on 64bit system

2008-06-04 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: I tested this with python 2.6 and can confirm the issue. The problem is that unsigned int isn't big enough to hold the size of the objects, but the size is downcasted to an unsigned int at several places in _hashopenssl.c. All of these occurences

[issue2630] repr() should not escape non-ASCII characters

2008-06-04 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Shall the method be called isprintable() or simply printable()? For the record, in the io classes, the writable()/readable() convention was chosen. -- nosy: +pitrou ___ Python tracker [EMAIL

[issue3001] RLock's are SLOW

2008-06-04 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: You should investigate and try to diagnose where the speed difference comes from. ISTM the RLock class is implemented in Python while the Lock class is simply an alias to the builtin native lock type, which could explain most of the

[issue2630] repr() should not escape non-ASCII characters

2008-06-04 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I would expect abc.isprintable() give me a bool and abc.printable() to return a printable string, as with abc.lower() and abc.islower(). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2630

[issue2630] repr() should not escape non-ASCII characters

2008-06-04 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: You are right, I had forgotton about lower()/islower(). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2630 ___

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2008-06-04 Thread Cherniavsky Beni
Cherniavsky Beni [EMAIL PROTECTED] added the comment: The patch logic is very simple: inside the command area Up/Down move through history. But what about multi-line editing? Wouldn't this interfere when you just want to move between lines in a multi-line command (e.g. a long ``def``)? I'm

[issue3038] Return results from Python callbacks to Tcl as Tcl objects, please backport it.

2008-06-04 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: I'm not sure if it is okay to ask this here, but could someone backport r59653 (Return results from Python callbacks to Tcl as Tcl objects.) to releas25-maint ? Maybe it is already marked to be backported by someone, if it is the case this

[issue3039] tarfile.TarFileCompat.writestr(ZipInfo, str) raises AttributeError

2008-06-04 Thread Jason Kankiewicz
New submission from Jason Kankiewicz [EMAIL PROTECTED]: tarfile.TarFileCompat.writestr( self, zinfo, bytes ) raises AttributeError('ZipInfo' object has no attribute 'name') because an analog to the tarfile.TarInfo.name attribute cannot be monkeypatched into the zinfo argument value when it's an

[issue3040] optparse documentation: variable arguments example doesn't work as listed

2008-06-04 Thread Trevor Meyerowitz
New submission from Trevor Meyerowitz [EMAIL PROTECTED]: There are two minor bugs in the example in: http://docs.python.org/lib/optparse-callback-example-6.html For the optparse example documentation, the call to parser.add_option is listed as: parser.add_option(-c, --callback,