[issue5950] Make zimport work with zipfile containing comments

2010-07-09 Thread Dmitry
Dmitry added the comment: I'm talking about internal zimport function (see attached testcase): i.e. import sys; sys.path.insert(0,'test.zip'); import test test.testme() doesn't work if test.zip contains comment. -- ___ Python tracker

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > >> Could you explain what this bit is about ? >> -#if defined(HAVE_USABLE_WCHAR_T) && defined(WANT_WCTYPE_FUNCTIONS) >> +#if defined(Py_UNICODE_WIDE) && defined(WANT_WCTYPE_FUNCTION

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

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > This can no longer be a 2.5 issue but I am not sure how to update it. > > OP apparently opened it as a feature request, so I did update it to 3.2. > > But OP then says "I'm not sure if thi

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > > A new patch that doesn't remove an important check, avoids a crash when the C > macro is called with a huge number. thanks Ezio. Could you please be more specific on what you ch

[issue9203] Use computed gotos by default

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > >> No, but we do need to make sure that the casual user does not >> run into such issues by using the default compiler on a typical >> Unix system with Python default settings. > > I think t

[issue9162] License for multiprocessing files

2010-07-09 Thread Stefan Krah
Stefan Krah added the comment: [Cc: p...@python.org] Jesse Noller wrote: > > Yes; the copyright has to stay; but the license data can leave afaik. If R Oudkerk signed the agreement, replacing 'see COPYING.txt' with 'Licensed to PSF under a Contributor Agreement.' should be fine. Does the PS

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: The 'if' in 'gettyperecord'. (I would also rewrite that as "if (code > 0x10)", it looks more readable to me.) The patch seems OK to me. In the NEWS message 'python' should be capitalized and I would also mention .isprintable() and possibly other functions t

[issue6057] sqlite3 error classes should be documented

2010-07-09 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: ghaering -> keywords: +easy nosy: +flox type: -> behavior versions: -Python 2.6, Python 3.0 ___ Python tracker ___ ___

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ezio Melotti wrote: > > Ezio Melotti added the comment: > > The 'if' in 'gettyperecord'. (I would also rewrite that as "if (code > > 0x10)", it looks more readable to me.) Ah, good catch ! > The patch seems OK to me. In the NEWS message 'python' sh

[issue9162] License for multiprocessing files

2010-07-09 Thread Stefan Krah
Stefan Krah added the comment: If I'm not mistaken, the original code was BSD, so in the absence of a contributor agreement one could include the full BSD license in each file. http://pyprocessing.berlios.de/doc/COPYING.html -- ___ Python tracker <

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: str.isprintable() &co are not changed by this patch, because they enumerate Py_UNICODE units and do not join surrogates. See issue9200 -- ___ Python tracker

[issue9210] remove --with-wctype-functions configure option

2010-07-09 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : Quoting Marc-Andre Lemburg: """ The support for the wctype functions should have been remove long ago, since they cause subtle incompatibilities between Python builds. I should have probably never added it in the first place... people were worried about

[issue9211] Cannot close socket after ssl handshake failed

2010-07-09 Thread Christian Hager
New submission from Christian Hager : When running a SSL socket server in Python 2.5 or 2.6 (didn't try with newer versions), new connections are setup with "ssl.wrap_socket()". Everything works fine if I connect a client with SSL, but if I just telnet to the server it's not possible to close

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

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I actually would challenge the first sentence "A pythonic programming > style which determines an object’s type by inspection of its method or > attribute signature ". To me, and at least some usage on python-list, > duck-typing means determining the interface

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-09 Thread Mark Dickinson
Mark Dickinson added the comment: +!. I had to do a very similar refactoring recently when trying to fix the parser module to understand keyword-only arguments and annotations. Taking keyword-only arguments into account, I think the replacement needs to be: varargslist: (vfpdef ['=' test] (',

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: This has broken all non-Windows buildbots. Can you take a look? -- nosy: +pitrou ___ Python tracker ___ _

[issue9208] SMTPHandler does not handle unicode strings

2010-07-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> vinay.sajip nosy: +vinay.sajip versions: +Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ __

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-09 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. I'm assuming that this doesn't violate the moratorium, since it's not so much a change to the grammar itself as a modification to the way that it's expressed. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.o

[issue9198] Should repr() print unicode characters outside the BMP?

2010-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch to "fix" sys_displayhook (note: the patch is just a proof of concept -- it seems to work fine but I still have to clean it up, add comments, rename and reorganize some vars and add tests). This is an example output while using iso-8859-1 as IO en

[issue9208] SMTPHandler in the logging module does not handle unicode strings

2010-07-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- title: SMTPHandler does not handle unicode strings -> SMTPHandler in the logging module does not handle unicode strings ___ Python tracker ___ ___

[issue9211] Cannot close socket after ssl handshake failed

2010-07-09 Thread Christian Hager
Christian Hager added the comment: Sorry for posting that issue -- I was able to solve it with newsock.shutdown(socket.SHUT_WR) ("newsock.shutdown(socket.SHUT_RD)" doesn't work for that). # SSL Setup try: sslsock = ssl.wrap_socket(newsock, server_side=True, certfile="../cert.pem", keyfil

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Andrew Clegg
Changes by Andrew Clegg : Removed file: http://bugs.python.org/file17901/py3k-fnmatch.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Andrew Clegg
Changes by Andrew Clegg : Removed file: http://bugs.python.org/file17902/py27-fnmatch.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Andrew Clegg
Andrew Clegg added the comment: OK, regenerated both patches from the top level of the checkout (paths within the patch are 'Lib/fnmatch.py' and 'Lib/test/test_fnmatch.py'. Sorry about the corrupted patch before - I've tested this version by reverting my changes and reapplying it, and it seem

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Andrew Clegg
Changes by Andrew Clegg : Added file: http://bugs.python.org/file17917/py3k-fnmatch.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-09 Thread Nick Coghlan
Nick Coghlan added the comment: > BTW, I'm a bit surprised that the grammar doesn't allow for trailing commas > after keyword-only arguments:  that is, > > def f(a, b,): ...     is fine, but > def f(*, a, b,): ...  is a SyntaxError That seems more like an oversight than a deliberate restrictio

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-09 Thread Mark Dickinson
Mark Dickinson added the comment: No, "def f(*, a,): ..." is still a SyntaxError with the patch. I'd think that allowing that extra comma *would* be a violation of the moratorium, though maybe it's debatable. Perhaps worth bringing up on python-dev? --

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2010-07-09 Thread Nick Coghlan
Nick Coghlan added the comment: > No,  "def f(*, a,): ..." is still a SyntaxError with the patch.  I'd think > that allowing that extra comma *would* be a violation of the moratorium, > though maybe it's debatable.  Perhaps worth bringing up on python-dev? Good point - I just wouldn't worry a

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Instead of writing `bytes('foo', encoding='ascii')`, you can just write `b'foo'`. Otherwise, patch looks ok. -- nosy: +pitrou ___ Python tracker __

[issue1945] Document back ported C functions

2010-07-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mai

[issue5962] Ambiguity about the semantics of sys.exit() and os._exit() in multithreaded program

2010-07-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +exarkun, gps ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue4609] Allow use of > 256 FD's on solaris in 32 bit mode

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: 3.x doesn't use FILE pointers for the main I/O library (it uses unbuffered I/O instead). It only uses them for importing, and a couple of extension modules such as bz2 and zipimport. It might still mean, though, that a Python program opening many files might

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread Andrew Clegg
Andrew Clegg added the comment: Updated py3k patch to use the more concise bytes syntax, cheers. -- Added file: http://bugs.python.org/file17918/py3k-fnmatch.patch ___ Python tracker ___

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-09 Thread Jesse Noller
Jesse Noller added the comment: I'm not sure if there would still be the possibility; the thing which worries me is the debug() function vanishing on us - something not good is happening on interpreter shutdown. -- ___ Python tracker

[issue9162] License for multiprocessing files

2010-07-09 Thread Jesse Noller
Jesse Noller added the comment: Hi Stefan - I'm familiar with the license/etc of the original module. This bug isn't urgent; I shot a quick email to the PSF's secretary Pat to confirm we have a contributor agreement however. -- ___ Python tracker

[issue9162] License for multiprocessing files

2010-07-09 Thread Stefan Krah
Stefan Krah added the comment: Jesse, there's no doubt that you know the original license. :) I should have been more verbose: My BSD comment was intended for public consumption. People often think GPL if they see a reference to COPYING.txt. -- ___

[issue9162] License for multiprocessing files

2010-07-09 Thread Jesse Noller
Jesse Noller added the comment: Egad No! I gotcha. I'll find out what the deal with the contrib. agreement is. Pretty sure we had to wait on it when we brought it in. -- ___ Python tracker

[issue9210] remove --with-wctype-functions configure option

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file17919/kill-wctype.patch ___ Python tracker ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm building now and will report back shortly... -- Added file: http://bugs.python.org/file17920/smime.p7s ___ Python tracker ___ smime.p7s

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Also, GetFinalPathNameByHandle() is called 5 times with VOLUME_NAME_DOS, and once with VOLUME_NAME_NT. This one looks suspect to me. [I noticed this because these symbols are not defined with the SDK shipped with VS8.0. I'll propose another patch for t

[issue9210] remove --with-wctype-functions configure option

2010-07-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > > Patch attached. Thanks. The patch looks good and I'd be +1 on applying it. The only problem I see is that we may have to follow the deprecation process. OTOH, I've announce the

[issue9038] test_distutils failure

2010-07-09 Thread R. David Murray
R. David Murray added the comment: I see this error too, but only when running under -j. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: Here's a patch to address the posix failures: - test_posixpath seems to have lost the creation of one test file. - WindowsError doesn't exist on other platforms, so it can't be caught directly (in tarfile.py). I've written a work-around, but I don't particula

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Jason R. Coombs
Changes by Jason R. Coombs : Removed file: http://bugs.python.org/file17920/smime.p7s ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue2044] test_sunaudiodev.py converted to unittest

2010-07-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Not in Py3. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Pyth

[issue2024] test_gl.py converted to unittest

2010-07-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Not in Py3. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Pyth

[issue2022] test_al converted to unittest

2010-07-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Not in Py3. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Pyth

[issue2023] test_cd converted to unittest

2010-07-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: Not in Py3. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Pyth

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Hm, the patch could be more "pythonic". Something like: symlink_exception = (AttributeError,) try: symlink_exception += (NotImplementedError, WindowsError) except NameError: pass try: ... except symlink_exception: ... -- ___

[issue5121] PyRun_InteractiveLoop disagrees with documentation?

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this will be a doc change, in which case it applies to all versions. The comment is actually against PyRun_InteractiveLoopFlags. -- assignee: -> d...@python components: +Documentation -Interpreter Core nosy: +BreamoreBoy, d...@python

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hm, the patch could be more "pythonic". Something like: > > symlink_exception = (AttributeError,) > try: > symlink_exception += (NotImplementedError, WindowsError) > except NameError: > pass Probably better as: symlink_exception = (AttributeError, N

[issue5089] Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be reproduced with 3.1, 3.2 or even 2.7, or can it be closed? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue749722] isinstance and weakref proxies.

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Being seven years old is this request still valid, or has it been overtaken by events? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue5089] Error in atexit._run_exitfuncs [...] Exception expected for value, tuple found

2010-07-09 Thread Mark Dickinson
Mark Dickinson added the comment: I haven't seen this for a while; it can probably be closed. Thanks! -- resolution: -> works for me status: open -> closed ___ Python tracker

[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Pau, this isn't likely to be progressed unless you can provide a unit test and possibly doc patches as well. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker

[issue9033] cmd module tab misbehavior

2010-07-09 Thread Zvezdan Petkovic
Zvezdan Petkovic added the comment: Does a translation really need to be in Python? I use .editrc file in my home directory with this content: python:bind ^I rl_complete and everything works fine. -- nosy: +zvezdan ___ Python tracker

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

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: As it's not actually known whether urllib2 or IIS is at fault, I suggest this is closed, it can always be reopened. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue7846] Fnmatch cache is never cleared during usage

2010-07-09 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r82730, 3.1 in r82733, 2.7 in r82732, and, since 2.6.6 is still to come, 2.6 in r82740. Andrew: FYI I changed the assertTrue to assertLessEqual to take advantage of the better failure messages provided by the newer unittest methods. Tha

[issue902065] fails building C++ extensions when configured --without-cxx

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: This can be closed as a duplicate as Lib/distutils/sysconfig.py already refers to LDSHARED and CCSHARED. -- nosy: +BreamoreBoy ___ Python tracker

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-09 Thread Greg Brockman
Greg Brockman added the comment: Think http://www.mail-archive.com/python-l...@python.org/msg282114.html is relevant? -- ___ Python tracker ___ _

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-09 Thread Jesse Noller
Jesse Noller added the comment: Greg - yeah. it's the same problem. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue921868] socket_htons does not work under AIX 64-bit

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Do the socket tests still fail under 64 bit AIX? If yes could this patch or something similar be applied? If no please close this issue. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 _

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-07-09 Thread Brian Curtin
Brian Curtin added the comment: Committed Jason's patch with Antoine's twist as r82743 after running on Arch Linux. Thanks for catching and looking into this stuff. -- ___ Python tracker ___

[issue877904] freeze: problems excluding site

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: This strikes me as a reasonable request, would someone please like to comment. -- nosy: +BreamoreBoy versions: +Python 3.1 -Python 2.7 ___ Python tracker _

[issue1053687] PyOS_InputHook not called in IDLE subprocess

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Wuld anyone with the relevant expertise care to comment on this please? -- nosy: +BreamoreBoy title: PyOS_InputHook not called in subprocess -> PyOS_InputHook not called in IDLE subprocess versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 _

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2010-07-09 Thread Ask Solem
Changes by Ask Solem : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue1040439] Missing documentation on How To Link With libpython

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: The number of google hits tells me this is still an issue. -- assignee: -> d...@python nosy: +BreamoreBoy, d...@python versions: +Python 3.2 -Python 2.6 ___ Python tracker _

[issue8402] glob returns empty list with "[" character in the folder name

2010-07-09 Thread Eric Smith
Eric Smith added the comment: The note about no quoting meta-chars is in the docstring for fnmatch.translate, not the documentation. I still see it in 3.1. I have a to-do item to add this to the actual documentation. I'll add an issue. -- ___ Pytho

[issue1178136] cgitb.py support for frozen images

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: This is a small patch which could be useful, could someone please test it against a frozen program? -- nosy: +BreamoreBoy ___ Python tracker

[issue1158231] string.Template does not allow step-by-step replacements

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Stefan, could you provide a patch to move this forward, can this issue be closed, or what? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue1158231] string.Template does not allow step-by-step replacements

2010-07-09 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.1 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue9033] cmd module tab misbehavior

2010-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: We either have to add some translation, or tweak parts of python: * the cmd module needs to learn how to configure libedit when the readline extension was linked to libedit * the rlcompleter documentation needs to be updated to do the same And that's just

[issue1147646] Windows deadlock with PyEval_ReleaseLock

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Anyone with Windows threading experience who could comment on this please, i.e. is it still an issue? -- nosy: +BreamoreBoy ___ Python tracker __

[issue1147646] Windows deadlock with PyEval_ReleaseLock

2010-07-09 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list

[issue6507] Enhance dis.dis to autocompile codestrings

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

[issue1248658] dir should accept dirproxies for __dict__

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Ronald has this already been implemented, if not could you provide a patch for it, or what? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7 ___ Python tracker __

[issue921868] socket_htons does not work under AIX 64-bit

2010-07-09 Thread Stefan Krah
Stefan Krah added the comment: The proposed change was for socket_htons() to use ints instead of unsigned longs. This is the case now, so I'm closing the issue. -- nosy: +skrah resolution: -> out of date stage: unit test needed -> committed/rejected status: open -> closed

[issue1248658] dir should accept dirproxies for __dict__

2010-07-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: AFAIK this is not yet implemented. Patched would be appreciated. I will get around to doing it myself some day, but this issue doesn't have high priority for me. -- priority: normal -> low ___ Python tracker

[issue1250] Building external modules using Sun Studio 12

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming this is still an issue, comments please. -- components: -Distutils nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.6 ___ Python tracker

[issue5024] sndhdr.whathdr returns -1 for WAV file frame count

2010-07-09 Thread Robert Pyle
Robert Pyle added the comment: On Jul 8, 2010, at 6:52 PM, Mark Lawrence wrote: > > Mark Lawrence added the comment: > > Robert, could you provide a patch for this? > > -- > nosy: +BreamoreBoy > stage: -> needs patch > versions: +Python 3.2 > > ___

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Just a one line addition to mimetypes.py -- nosy: +BreamoreBoy stage: -> patch review versions: +Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue5321] I/O error during one-liner gives no (!) diagnostic (and fails to return OS error status)

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can anyone with a Linux box please check to see if this is still an issue. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___

[issue4044] test_output_textcalendar fails on non-englisch locale

2010-07-09 Thread R. David Murray
R. David Murray added the comment: This passes for me on linux (2.7), which is what I would expect, since the locale should not actually affect a python program unless locale.setlocale is called, which regrtest doesn't do. I also tried OSX 2.7+, and the 10.4 system python (2.6.1). test_calen

[issue5346] mailbox._singlefileMailbox.flush doesn't preserve file rights

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: What platform is this on? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5346] mailbox._singlefileMailbox.flush doesn't preserve file rights

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

[issue5347] SocketIO redefines RawIOBase.__del__

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Does anyone need to do anything with this, or can it be closed? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue5384] mmap and exception type

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone please advise on the appropriate exception types for mmap. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue5321] I/O error during one-liner gives no (!) diagnostic (and fails to return OS error status)

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, py3k r82745 still shows the problem -- nosy: +amaury.forgeotdarc ___ Python tracker ___ _

[issue2941] Propagate define to resurce mingw32 compile

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not entirely sure what msg67184 means but the patch is simple enough. -- nosy: +BreamoreBoy stage: -> unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker

[issue5412] extend configparser to support [] syntax

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Patch is simple, are people for or against syntactic sugar in configparser? -- nosy: +BreamoreBoy stage: -> unit test needed versions: +Python 3.2 -Python 3.1 ___ Python tracker __

[issue5424] Packed IPaddr conversion tests should be extended

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Adding tests into test_socket.py for invalid input can't be wrong can it? Patch seems clean but would someone cast a more experienced Mk1 eyeball over it please. -- nosy: +BreamoreBoy stage: -> patch review versions: +Python 3.2 -Python 2.7, Python 3

[issue9189] Improve CFLAGS handling

2010-07-09 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Hearing no further comments, I've committed this as r82746. Let me know if it breaks anything. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue444582] Finding programs in PATH, adding shutil.which

2010-07-09 Thread Jan Killian
Jan Killian added the comment: @tarek: Sorry for not reacting, it completely vaporized out of my head. I'll do the patch this weekend. Agree, only which/which_files belong to public API. Regarding PATHEXT: 1. When a new process is created, the value is taken from registry variable PATHEXT

[issue1147646] Windows deadlock with PyEval_ReleaseLock

2010-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This issue looks invalid to me: PyEval_ReleaseLock manipulates the interpreter lock, but not the thread state. Both have to be released/reset before another thread can install its own thread state and run. In other words, PyEval_SaveThread() should be u

[issue9200] str.isprintable() is always False for large code points

2010-07-09 Thread Adam Olsen
Adam Olsen added the comment: There should be a way to walk the unicode string in Python too. Afaik there isn't. -- nosy: +Rhamphoryncus ___ Python tracker ___

[issue5321] I/O error during one-liner gives no (!) diagnostic (and fails to return OS error status)

2010-07-09 Thread Stefan Krah
Stefan Krah added the comment: Yes, it's an issue in py3k. Also, I prefer the behavior of 2.5, but I'm not sure if that can be changed easily in 2.7. $ python2.5 -c 'print((1, 2, 3))' > /dev/full close failed: [Errno 28] No space left on device $ python2.7 -c 'print((1, 2, 3))' > /dev/full cl

[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

2010-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this problem repeatable? I haven't got a big enough box on which to try this out. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.2 ___ Python tracker ___

[issue7268] 2to3 execfile conversion changes behavior

2010-07-09 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file15273/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7268] 2to3 execfile conversion changes behavior

2010-07-09 Thread Éric Araujo
Éric Araujo added the comment: Not sure if this merits a new bug report: The conversion currently promotes the open().read() anti-pattern, which is not guaranteed to release file handles as soon as possible in all VMs. Using a with block would fix that. -- nosy: +merwok _

  1   2   >