[issue2254] Python CGIHTTPServer information disclosure

2009-04-06 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: Removed file: http://bugs.python.org/file9628/CGIHTTPServer_is_cgi_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2254 ___

[issue5705] os.getpwent returns unsigned 32bit value, os.setuid refuses it

2009-04-06 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: merged into release26-maint. release30-maint still needed. -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5705

[issue2254] Python CGIHTTPServer information disclosure

2009-04-06 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Fixed in trunk r71303. This potentially changes the behavior of CGIHTTPServer (for the better) so this is probably not appropriate to backport to a release branch unless someone really considers the security of this to be severe. If

[issue5700] io.FileIO calls flush() after file closed

2009-04-06 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Discussion about this bug is ongoing in python-dev. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5700 ___

[issue5707] IDLE will not load

2009-04-06 Thread epitome83
New submission from epitome83 schadenfreud...@gmail.com: I downloaded Python 3.0.1 and installed on Vista. I opened IDLE and it worked fine. I went into the Preferences to change the keybindings on the history scrollers. I changed history-next to Ctrl+Down Arrow, though when I pressed OK it

[issue5630] Create alternatieve CObject API that is safe and clean

2009-04-06 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: I discussed this off-list with GvR. He was primarily concerned with fixing the passing-around-a-vtable C API usage of CObject, but he wanted to preserve as much backwards compatibility as possible. In the end, he suggested I create a new API

[issue5708] Tiny code polishing to unicode_repeat

2009-04-06 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: Two minor tweaks to unicode_repeat: * If the number of repeats (len) is 1, we're always going to return the empty Unicode string. So I incr and return unicode_empty. * The current code has if (done nchars) around the first copy. A little

[issue1745761] Bad attributes/data handling in SGMLib

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk. -- nosy: +ajaksu2 stage: - needs patch type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1745761

[issue1742205] ZipFile.writestr writes incorrect extended local headers

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed for trunk and py3k. -- nosy: +ajaksu2 stage: - test needed type: - behavior versions: +Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1742205

[issue1735418] file.read() truncating strings under Windows

2009-04-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It's a bug in the program's logic. The program assumes that the file pointer will have advanced by the same number of bytes as were returned by read(), but it is false when opened in text mode ('r') since text mode under Windows will convert

[issue1744752] Newline skipped in for line in file

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Windows nosy: +benjamin.peterson, pitrou stage: - test needed type: - behavior versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue1747670] Limiting data copy in xmlrpclib

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - resource usage versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1747670 ___

[issue1748064] inspect.getargspec fails on built-in or slot wrapper methods

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748064

[issue1748960] os.path.expandvars: expand string without modifying the environment

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed title: Extra optional argument to os.path.expandvars - os.path.expandvars: expand string without modifying the environment type: - feature request versions: +Python 2.7, Python 3.1

[issue1744382] Read Write lock

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1744382

[issue1749512] imaplib cannot handle mailboxes with ACL: lrs

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +patch stage: - test needed type: - behavior versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1749512 ___

[issue1749662] New byte packing format for the struct module

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1749662

[issue1590] make altinstall installs pydoc, idle, smtpd.py

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Installation dependencies: +make altinstall installs pydoc, idle, smtpd.py with broken shebang lines keywords: +patch priority: normal - high stage: - test needed versions: +Python 2.7, Python 3.1 -Python 2.5

[issue1778410] removeTest() method patch for unittest.TestSuite

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +michael.foord stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1778410

[issue1744752] Newline skipped in for line in file

2009-04-06 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 2.7 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1744752 ___ ___

[issue1744752] Newline skipped in for line in file

2009-04-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The only difference between r and rb (in Python 2.x) is that under Windows, r mode converts \r\n line endings into \n. But it's the Windows C stdlib which does that, not Python. So maybe a bug in Windows itself? --

[issue3873] Unpickling is really slow

2009-04-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Create a read buffer (4096 bytes) in unpickler class. Using [0]*10**7 or [1000]*10**7, load() is from 6 to 8 times faster. I removed last_string attribute because it wasn't used. If there are tail bytes, seek backward. --

[issue3873] Unpickling is really slow

2009-04-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I don't know why, but python-trunk is *much* slower than py3k (eg. with dump: 1000 ms vs 24 ms for py3k, or with load: 1500ms vs 186ms). -- ___ Python tracker rep...@bugs.python.org

[issue3873] Unpickling is really slow

2009-04-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: My version of pickletest.py: - make sure that file position is correct after the load() - some benchmark. most interesting numbers: without the patch : version | data | dump ms | load ms | py3k | 0,10^6 | 230 |

[issue1735418] file.read() truncating strings under Windows

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Is this valid? -- nosy: +ajaksu2, benjamin.peterson, pitrou stage: - test needed type: - behavior versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue1738179] help() can't find right source file

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - behavior versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1738179 ___

[issue1672568] silent error in email.message.Message.get_payload

2009-04-06 Thread Renaud Blanch
Renaud Blanch rndbl...@gmail.com added the comment: good idea, why not something like sketched in the attached patch? it does not break any existing code, while providing a way for new users to have a chance to get the decoding errors. of course, the doc should be updated accordingly, and tests

[issue1739118] Investigated ref leak report related to thread(regrtest.py -

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Attaching Hirokazu's tests and experimental patch as plaintext. -- keywords: +patch nosy: +ajaksu2 stage: - patch review type: - resource usage Added file: http://bugs.python.org/file13628/test_leak.py

[issue1726451] ftplib and ProFTPD NLST 226 without 1xx response

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Kenneth: can you confirm this is a valid issue? -- nosy: +ajaksu2 stage: - test needed type: - behavior versions: +Python 2.7, Python 3.1 -Python 2.4 ___ Python tracker rep...@bugs.python.org

[issue3873] Unpickling is really slow

2009-04-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Note about my patch: the buffer should be truncated after PyBytes_Concat(self-buffer.pybytes, data) to avoid very long buffer. Something like: self-buffer.pybytes += data; self-buffer.pybytes = self-buffer.pybytes[index:];

[issue1733259] ZipFile CallBack Needed...

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1733259 ___

[issue1734860] sitecustomize.py not found

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing as it's a documented change. -- nosy: +ajaksu2 resolution: - invalid stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org

[issue1774840] Not exiting when running tests

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1774840 ___

[issue1565509] Repair or Change installation error

2009-04-06 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Well it may be uncommon, but it's perfectly easily reproducible: Just try to reinstall / repair from a file not called python-2.5.2.msi. Maybe uninstall: haven't tried. If Martin doesn't get there, I'll try to look at the log and see if

[issue3873] Unpickling is really slow

2009-04-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't know why, but python-trunk is *much* slower than py3k (eg. with dump: 1000 ms vs 24 ms for py3k, or with load: 1500ms vs 186ms). Perhaps you tried with the pure Python version (pickle) rather than the C one (cPickle)? --

[issue1744456] Patch for feat. 1713877 Expose callbackAPI in readline module

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review title: Patch for feat. 713877 Expose callbackAPI in readline module - Patch for feat. 1713877 Expose callbackAPI in readline module type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.6

[issue3744] make altinstall installs pydoc instead of pydoc3.0

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing as duplicate of issue 1590, which has a patch and some discussion. -- dependencies: -make altinstall installs pydoc instead of pydoc3.0 nosy: +ajaksu2 resolution: - duplicate stage: test needed - committed/rejected status: open

[issue1761028] pickle - cannot unpickle circular deps with custom __hash__

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +collinwinter stage: - needs patch versions: +Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1761028 ___

[issue1202] zlib.crc32() and adler32() return value

2009-04-06 Thread J. David Ibáñez
J. David Ibáñez jda...@itaapy.com added the comment: There it is. -- Added file: http://bugs.python.org/file13630/Document.odt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1202 ___

[issue1752252] tkFileDialog closes Python when used

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Tkinter -None stage: - test needed type: - behavior versions: +Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1752252

[issue1739118] Investigated ref leak report related to thread regrtest.py

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- title: Investigated ref leak report related to thread(regrtest.py - - Investigated ref leak report related to thread regrtest.py Added file: http://bugs.python.org/file13629/experimental.patch ___ Python

[issue1458] installer crashes on attempted cancellation

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Joseph: can you reproduce this with the 2.6 installers? -- nosy: +ajaksu2 stage: - test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue1713877] Expose callback API in readline module

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +Patch for feat. 713877 Expose callbackAPI in readline module versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1713877

[issue1685962] socket.getaddrinfo() should take an address tuple.

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1685962 ___

[issue1756343] Python 2.5.1 fails to build on AIX

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: normal - low stage: - test needed status: open - pending type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue5676] Fix make clean in py3k/trunk

2009-04-06 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: So what's the fix? I upgraded to r71304 and it still does this. Worse, it adds all sorts of complaints to make test--and it actually slows down hg. (hg can't cd into that directory, so it gives up on creating its inotify socket.) Can

[issue1730480] dict init/update accesses internal items of dict derivative

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: IIRC, the same behavior is present for subclasses of other builtin types. -- nosy: +ajaksu2 stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 ___ Python tracker

[issue5676] Fix make clean in py3k/trunk

2009-04-06 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2009/4/6 Larry Hastings rep...@bugs.python.org: Larry Hastings la...@hastings.org added the comment: So what's the fix?  I upgraded to r71304 and it still does this.  Worse, it adds all sorts of complaints to make test--and it

[issue1726451] ftplib and ProFTPD NLST 226 without 1xx response

2009-04-06 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: According to the log file you have attached Proftpd always sends 1xx before 226 which is the RFC-compliant and widely adopted behavior, *also* when it's listing the content of an empty directory. See: 07:55:19 Cmd: LIST

[issue1774840] Not exiting when running tests

2009-04-06 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +fuzzyman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1774840 ___ ___ Python-bugs-list

[issue1774840] Not exiting when running tests

2009-04-06 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: +michael.foord -fuzzyman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1774840 ___ ___

[issue1774840] Not exiting when running tests

2009-04-06 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- stage: test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1774840 ___

[issue1726451] ftplib and ProFTPD NLST 226 without 1xx response

2009-04-06 Thread Kenneth Loafman
Kenneth Loafman loaf...@users.sourceforge.net added the comment: It's been a couple of years since I reported this and its entirely possible that the updated ProFTPd I'm now testing against has been fixed, and that ftplib has evolved since then. Short of one of you testing the current ftplib

[issue1774840] Not exiting when running tests

2009-04-06 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Seems like a straightforward request although TestProgram is pretty horrible in my opinion. I'll add an exit argument to TestProgram.__init__ - don't look forward to testing it though. -- ___

[issue3586] pwd.getpwnam('nobody') produces incorrect results if sizeof(uid_t) sizeof(long)

2009-04-06 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Fixed via issue5705 which I filed not having seen this one. -- assignee: - gregory.p.smith dependencies: +os.getpwent returns unsigned 32bit value, os.setuid refuses it keywords: +64bit nosy: +gregory.p.smith resolution: - fixed

[issue4591] 32-bits unsigned user/group identifier

2009-04-06 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #3586: pwd.getpwnam('nobody') produces incorrect results if sizeof(uid_t) sizeof(long) (now closed). -- ___ Python tracker rep...@bugs.python.org

[issue5709] PyObject_TypeCheck crashes the intepreter on extension callback functions

2009-04-06 Thread Te-jé Rodgers
New submission from Te-jé Rodgers cont...@tejerodgers.com: When a python callable is called from an extension module using PyEval_CallObjectWithKeywords, and that callable calls a function in the extension module that uses PyObject_TypeCheck (or *ParseTuple with O!), the interpreter crashes.

[issue5709] PyObject_TypeCheck crashes the intepreter on extension callback functions

2009-04-06 Thread Te-jé Rodgers
Te-jé Rodgers cont...@tejerodgers.com added the comment: Sorry about that; my err. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5709 ___

[issue3873] Unpickling is really slow

2009-04-06 Thread Collin Winter
Changes by Collin Winter coll...@gmail.com: -- nosy: +collinwinter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3873 ___ ___ Python-bugs-list

[issue5709] PyObject_TypeCheck crashes the intepreter on extension callback functions

2009-04-06 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5709 ___ ___

[issue5672] Implement a way to change the python process name

2009-04-06 Thread Marcelo Fernández
Marcelo Fernández fernandez...@yahoo.com.ar added the comment: This patch (to python 2.7 trunk) allows to call prctl() function from Linux kernel to change the process name. It adds two methods to the os module: os.getprocname() and os.setprocname(). Working example:

[issue5710] ctypes should return composite types from callbacks

2009-04-06 Thread Greg Holling
New submission from Greg Holling gholl...@vni.com: We have an application that calls a 3rd party library that returns a structure (by value) from a callback. I'm including some sample code that duplicates the behavior. The problem is that return types from callbacks cannot be anything other

[issue5672] Implement a way to change the python process name

2009-04-06 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: As for os.getprocname() I think you can borrow some code from psutil project [1] to implement it on FreeBSD, OS X and even Windows platforms. [1] http://code.google.com/p/psutil --

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2009-04-06 Thread daku9999
New submission from daku daku9...@gmail.com: from tkFileDialog import askopenfilenames a = askopenfilenames() print a print type(a) ''' --output-- J:/PortablePython_1.1_py2.6.1/Aatest26/tk_new/rgb2hex.py J:/PortablePython_1.1_py2.6.1/Aatest26/tk_new/bluebtn.jpg

[issue5672] Implement a way to change the python process name

2009-04-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Some remarks about the patch: 1 - this line causes a buffer overrun: strncpy(argv[0], name , strlen(name)); A possible solution is to do like posix_putenv(): have a static PyString that holds the memory, and just change the pointer

[issue5711] socket.create_connection not in __all__

2009-04-06 Thread Kevin Watters
New submission from Kevin Watters kevinwatt...@gmail.com: socket.create_connection was added in 2.6, but does not get exposed in socket's __all__. Attached is the simple fix against 2.6's socket.py. -- components: Library (Lib) files: socket-all-26.diff keywords: patch messages: 85656

[issue5707] IDLE will not load

2009-04-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Reproduced with the console python.exe. Click an item in the list on the right to choose the key (down arrow) Exception in Tkinter callback Traceback (most recent call last): File c:\Python30\lib\tkinter\__init__.py, line 1405, in

[issue2953] _zip_directory_cache untested and undocumented

2009-04-06 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: 2009/4/5 Tarek Ziadé rep...@bugs.python.org@psf.upfronthosting.co.za Tarek Ziadé ziade.ta...@gmail.com added the comment: Does distutils use _zip_directory_cache in any way? Not at all. But pkgutil does, Ah, OK. and uses to get a

[issue5672] Implement a way to change the python process name

2009-04-06 Thread Marcelo Fernández
Marcelo Fernández fernandez...@yahoo.com.ar added the comment: Great, it's my first patch to python and I'm very happy with your comments. :-) Thanks Amaury, do you think is better that I should take out getprocname() if setprocname() changes sys.argv too? When I got some spare time, I'll take

[issue1748960] os.path.expandvars: expand string without modifying the environment

2009-04-06 Thread Geoffrey Bache
Geoffrey Bache gjb1...@users.sourceforge.net added the comment: Thanks, didn't know about that feature. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1748960 ___

[issue5559] IDLE Output Window 's goto fails when path has spaces

2009-04-06 Thread Claudio Canepa
Claudio Canepa ccanep...@gmail.com added the comment: On a second look: 1. the code in OutputWindow.py for the 'goto' action looks for a match with the first regex in file_line_pats = [ r'file ([^]*), line (\d+)', r'([^\s]+)\((\d+)\)', r'([^\s]+):\s*(\d+):', ]

[issue5676] Fix make clean in py3k/trunk

2009-04-06 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: % rm -rf @test rm: cannot remove `...@test': Permission denied And, before you helpfully chime in with chmod, yes I know how to run that too. I stuck in and figured it out. The bug: test_on_error in test_shutil is out of sync with how

[issue5676] Fix make clean in py3k/trunk

2009-04-06 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Crapdoodles, I didn't update the patch to get the regrtest change I threw in at the last minute. Please see the v2 patch. -- Added file: http://bugs.python.org/file13640/lch.test_shutil.r71304.v2.diff

[issue5713] smtplib gets out of sync if server returns a 421 status

2009-04-06 Thread Mark Sapiro
New submission from Mark Sapiro m...@msapiro.net: RFC821 upon which smtplib was originally based does not define a 421 status code and implies the server should only disconnect in response to a QUIT command. Subsequent extensions in RFC2821 (and now RFC5321) define situations under which the

[issue5672] Implement a way to change the python process name

2009-04-06 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Please don't provide a wrapper around ptrctrl. Instead, expose prctl as is (similar to how ioctl and fcntl get wrapped). It's ok to make some convenience adjustments (e.g. allowing fewer parameters than the actual call), and it's also ok to

[issue5707] IDLE will not load

2009-04-06 Thread epitome83
epitome83 schadenfreud...@gmail.com added the comment: Thank you for the patch. I have applied it (which is to say, swapped out return filter(None, modList) for return [mod for mod in modList if mod] in keybindingDialog.py), but the problem persists. python.exe continues to load fine, but

[issue5579] Display for OrderedDict

2009-04-06 Thread Todd Weiler
Todd Weiler twei...@raggedcreek.com added the comment: Let me defend my idea a little bit. Some people hand code their UI's, some people put them into XML UI files then load those files. I'd like to create them using an OrderedDict. I'm using the pyQT for a gui. Attached is a really simple

[issue3586] pwd.getpwnam('nobody') produces incorrect results if sizeof(uid_t) sizeof(long)

2009-04-06 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'd completely forgotten about this issue! Indeed, test_httpservers now seems to be passing on a 64-bit build on my machine. Thank you! -- ___ Python tracker rep...@bugs.python.org

[issue5707] IDLE will not load

2009-04-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The incorrect settings have been saved in your %USERPROFILE%\.idlerc directory. Try deleting the idle-extensions.cfg there. BTW, pythonw.exe is not IDLE. It's a plain python interpreter without a console. When used with no argument it

[issue5711] socket.create_connection not in __all__

2009-04-06 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r71329. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5711

[issue5502] io-c: TextIOWrapper is faster than BufferedReader but not protected by a lock

2009-04-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch which provides a significant speedup (up to 30%) on small operations (small reads, iteration) on binary files. Please test. -- keywords: +patch Added file: http://bugs.python.org/file13642/speedup-bufio.patch

[issue5579] Display for OrderedDict

2009-04-06 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The proposal for a custom syntax has nearly zero chance of success. FWIW, the JSON module provides an alternative way to get a the same result using the new object_pairs_hook (being added to Py2.7 and Py3.1). --

[issue504152] rfc822 long header continuation broken

2009-04-06 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The source lines mentioned in this issue have not been changed in trunk, and the feedparser line has not been changed in py3k as of r71355 (rfc822 no longer exists, so I'm not sure if the replacement code in py3k has the issue or not).

[issue5579] Display for OrderedDict

2009-04-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: For this usage I'd suggest a class. See http://www.python.org/dev/peps/pep-3115/ the example containing OrderedClass. With a little work, your code could look like: class Interface(TabbedPane): class FirstTab(Pane): label =

[issue1697175] winreg module for cygwin?

2009-04-06 Thread Simon Law
Simon Law sfl...@sfllaw.ca added the comment: zooko: You may be interested in http://pypi.python.org/pypi/cygwinreg/ -- nosy: +sfllaw ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1697175

[issue5714] CGIHTTPServer._url_collapse_path_split should live elsewhere

2009-04-06 Thread Gregory P. Smith
New submission from Gregory P. Smith g...@krypto.org: CGIHTTPServer._url_collapse_path_split should probably live in a more general library and become a documented API. Perhaps in urlparse? -- keywords: easy messages: 85679 nosy: gregory.p.smith priority: normal severity: normal

[issue5715] listen socket close in SocketServer.ForkingMixIn.process_request()

2009-04-06 Thread Donghyun Kim
New submission from Donghyun Kim uryan...@gmail.com: During implement simple forking TCP server, I got the hang-up child process binding listen socket which caused parent(listen/accept) restarting failed. (port in use) Because child process does something with connected socket, there's no need

[issue1752919] Exception in HTMLParser for special JavaScript code

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk, py3k. -- nosy: +ajaksu2 stage: - test needed type: - behavior versions: +Python 2.6, Python 3.1 -Python 2.4 ___ Python tracker rep...@bugs.python.org

[issue1690201] Added support for custom readline functions

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1690201

[issue1760089] Cross Compiling Python

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing as invalid, please reopen if you can explain what 'python-patch' is and how this is a Python issue. -- components: +Build -None nosy: +ajaksu2 resolution: - invalid stage: - committed/rejected status: open - closed

[issue1768858] Python - Operation time out problem

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Unless someone can spot a Python bug here, this issue will be closed. -- nosy: +ajaksu2 stage: - test needed status: open - pending title: Python - Operation time out problem - Python - Operation time out problem type: - behavior

[issue1772721] [python-mode] Properly highlight lambda with no arguments

2009-04-06 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Many changes have landed in Misc/python-mode.el since rev 56963, can anyone confirm the described behavior? -- nosy: +ajaksu2 stage: - test needed status: open - pending type: - feature request versions: +Python 2.7

[issue1776674] glob.glob inconsistent

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Windows stage: - test needed type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1776674

[issue1776160] Buffer overflow when listing deeply nested directory

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: normal - low stage: - test needed type: - behavior versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1776160

[issue1217246] proposed patch for tls wrapped ssl support added to smtplib

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +documentation for new SSL module stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.4 ___ Python tracker rep...@bugs.python.org

[issue1054] scriptsinstall target fails in alternate build dir

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Installation stage: - test needed versions: +Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054 ___

[issue1115] Minor Change For Better cross compile

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Build type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1115 ___

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1104 ___

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - behavior versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1128 ___

[issue1155] Carbon.CF memory management problem

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +ronaldoussoren priority: normal - low status: open - pending versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1155

  1   2   >