[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I checked in a modified version of reset the retry count for respnse code !=401 in the following checkins: r84323 (py3k) r84324 (release21-maint) r84325 (release31-maint) Unfortunately, we wont be able to patch the 2.6.x release. You might

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed Added file: http://bugs.python.org/file18648/basic_auth.patch ___ Python tracker rep...@bugs.python.org

[issue9690] Cannot distinguish bstr from str in ast module.

2010-08-26 Thread Kay Hayen
Kay Hayen kayha...@gmx.de added the comment: You didn't understand. Please tell me, how to decide if this is a unicode literal or a str (2.x) literal: value=Str(s='d') It's just not possible. When I found a from __future__ import unicode_literals in the code before, it means I should convert

[issue9683] Dead code in py3k inspect module

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Indeed, with 3.1: def f(x, y): pass ... inspect.formatargspec(inspect.getargspec(f)) TypeError: object of type 'map' has no len() -- nosy: +amaury.forgeotdarc type: - behavior ___ Python

[issue1487481] Could BIND_FIRST be removed on HP-UX?

2010-08-26 Thread Göran Uddeborg
Göran Uddeborg goe...@uddeborg.se added the comment: Although BIND_FIRST is still there, I could not reproduce the problem with Python 3.1.2. If it is because something changed in Python, or that HP-UX has fixed something, I don't know. I still don't see the point in specifying BIND_FIRST

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Łukasz, _closing is not necessary on FileIO instances. The class already declares an __exit__ method which takes care of closing file. import io f = io.FileIO('/tmp/test_closing', 'wb') f.closed False f.__exit__() f.closed

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Patch. -- keywords: +patch Added file: http://bugs.python.org/file18649/issue9572_oserror.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9572

Re: [issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Senthil Kumaran
r84324 (release21-maint) That should be release27-maint. :) ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

[issue8797] urllib2 basicauth broken in 2.6.5: RuntimeError: maximum recursion depth exceeded in cmp

2010-08-26 Thread Mads Kiilerich
Mads Kiilerich m...@kiilerich.com added the comment: Senthil, can you tell us why this fix is correct - and convince us that it is the Final Fix for this issue? Not because I don't trust you, but because this issue has a bad track record. Some comments/questions to this patch: Why do 401

[issue9686] asyncore infinite loop on raise

2010-08-26 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I agree with you that asyncore API model is far from being robust and I've personally seen infinite recursion more than once if certain asyncore methods aren't properly subclassed. What I don't understand is what changes you are

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Dwayne Bailey
Dwayne Bailey dwayne+pythonb...@translate.org.za added the comment: This is causing a regression in our code. Previously when we write out our INI file for an entry that has a value of None we saw the following: value = None These are now stored as: value This is now causing a traceback in

[issue9691] sdist includes files that are not in MANIFEST.in

2010-08-26 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: The attached file 'manifest-test.zip' is a small distutils project that demonstrates a problem I have with the sdist command. The archive contains a directory 'sandbox' that is not mentioned in MANIFEST.in or anywhere in setup.py.

[issue9683] Dead code in py3k inspect module

2010-08-26 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: The correct call is more something like ``inspect.formatargspec(*inspect.getargspec(f))``, which should work for all (Python) functions in Python 3. In Python 2, tuple unpacking was represented using a nested list for the

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Re-opening for investigation. (The previous message really should have been a new issue.) -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7005

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7005 ___ ___ Python-bugs-list

[issue1552] fromfd() and socketpair() should return wrapped sockets

2010-08-26 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: fromfd is already taken care of in 3.2. Otherwise, this looks like a good fix once updated to trunk. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1552

[issue9690] Cannot distinguish bstr from str in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I see that it's a problem, but there's nothing we can do about it now, so you'll have to determine whether it was unicode literals or not based on compile flags. -- ___ Python tracker

[issue1552] fromfd() and socketpair() should return wrapped sockets

2010-08-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1552 ___ ___

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-08-26 Thread jan matejek
jan matejek jmate...@suse.cz added the comment: this affects 2.7 as well. the problem was introduced by r78136 which skips out of the directory containing newly built libpython2.7, so the linking command cannot find it in -L. and fails (unless a systemwide libpython is already present) the

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1553375 ___ ___

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2010-08-26 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682 ___ ___ Python-bugs-list

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: This functionality would be useful in format_exception(), too, so it might be better to implement in format_exception_only(). This latter function formats the exception part of a traceback, so it makes sense to implement it here. I would

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2010-08-26 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: This also happens on later versions. Since 2.x is essentially frozen, this feature request can't be implemented in 2.x, so recategorising as a Python 3.2 issue. Here, a change in logging will either duplicate code in traceback.py or print

[issue1403349] in email can't get attachments' filenames using get_filename

2010-08-26 Thread Ich Neumon
Ich Neumon ichneumo...@gmail.com added the comment: Looks like this one needs reopening to me... I've recently had to parse out attachments with the following Content-Type lines and no Content-Disposition provided: Content-Type: application/vnd.ms-excel; name=transactions.xls It might not

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- Removed message: http://bugs.python.org/msg114972 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1553375 ___

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: This functionality would be useful in format_exception(), too. I prefer fullstack to full as it's clearer what the 'full' pertains to. An alternative might be upperframes or allframes. -- ___

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2010-08-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9427 ___ ___

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2010-08-26 Thread Andrey Vlasovskikh
Andrey Vlasovskikh andrey.vlasovsk...@gmail.com added the comment: On closer look your patch is also ignoring SystemExit. I think it's beneficial to honor SystemExit, so a user could use this as a means to replace the current process with a new one. Yes, SystemExit should cancel all the

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

2010-08-26 Thread Andrey Vlasovskikh
Changes by Andrey Vlasovskikh andrey.vlasovsk...@gmail.com: -- nosy: +vlasovskikh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9205 ___ ___

[issue1403349] in email can't get attachments' filenames using get_filename

2010-08-26 Thread Ich Neumon
Ich Neumon ichneumo...@gmail.com added the comment: A slight update for my workaround for the above with the following code: if not filename: ct = part.get(Content-Type) if ct: m = re.compile('name=\?(\S+)\?').search(ct, 1) if m: filename = m.group(1) I've added ? operators

[issue9689] threading.Timer poorly documented

2010-08-26 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r84326. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9689 ___

[issue9681] small typo in online documentation

2010-08-26 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r84327. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9681 ___

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
New submission from Ulrich Seidl ulrich.se...@muneda.com: The following code leads to an UnicodeError in python 2.7 while it works fine in 2.6 2.5: # -*- coding: latin-1 -*- import xml.etree.cElementTree as ElementTree oDoc = ElementTree.fromstring( '?xml version=1.0

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +flox stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9692 ___

[issue1403349] in email can't get attachments' filenames using get_filename

2010-08-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Also, issue 7082 might be relevant here, since it fixed a bug in this fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1403349

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: IMO the code is not correct: how does ElementTree know which encoding is used for the attribute value? Even 2.5 prints a different content when the script is saved with a different encoding. The line should look like: oDoc.set(

[issue1076515] shutil.move clobbers read-only files.

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Brian, Tim, any comments on this wrt Windows or do you think this can be closed? Could there be an impact on any other OS? I'll close if there's no response, unless someone else feels fit to close this anyway. -- nosy:

[issue1078245] Python2.4: building '_socket' extension fails with `INET_ADD

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I don't believe that this can still be a problem. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1078919] Email.Header encodes non-ASCII content incorrectly

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1078919 ___

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-26 Thread Mark Matusevich
Mark Matusevich mark...@users.sourceforge.net added the comment: This is what I got on computer with 512 MB RAM: Mandriva Linux 2009.1 = Python 2.6.1 (r261:67515, Jul 14 2010, 09:23:11) [GCC 4.3.2] - Python process killed by operating system after 14 Microsoft

[issue1080387] Making IDLE Themes and Keys Config more Robust

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'm assuming that the attached patches are simply out of date. -- nosy: +BreamoreBoy stage: unit test needed - needs patch versions: +Python 3.2 -Python 2.7 ___ Python tracker

[issue1083299] Distutils doesn't pick up all the files it should.

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @Éric can you please select the appropriate stage, component(s) or version(s) as you see fit, thanks. -- assignee: - tarek nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: The consensus is that this should have gone into Python years ago. -- nosy: +BreamoreBoy stage: - patch review versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue1083299] Distutils doesn't pick up all the files it should.

2010-08-26 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Setting all three branches that accept bug fixes. Someone coming here thanks to the easy keyword could write a unit test, otherwise I’ll do it and adjust versions as needed. -- components: +Distutils2 keywords: +easy stage: - unit test

[issue1098749] Single-line option to pygettext.py

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: My gut reaction is that pygettext should be deprecated, other opinions are welcome. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1098749

[issue1100562] deepcopying listlike and dictlike objects

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: The patch is small and clean, can a core dev please take a look and commit if you see fit, thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100562

[issue1208730] expat binding for XML_ParserReset

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Anyone interested in updating the patch for 3.2? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue1209447] os.path.join() fails if 2nd arg is a UNC path

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Can the fix be backported to 2.7 or can this be closed? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1209447

[issue1223976] error locale.getlocale() with LANGUAGE=eu_ES

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: From msg60764 Note that this bug is fixed in CVS:. I'd test myself, but the last time I tried soemthing like this it took me ages to persuade Windows Calendar that I wasn't Dutch. -- components: +Library (Lib) -None nosy:

[issue1379416] email.Header encode() unicode P2.6

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I believe that RDM is working on this sort of issue as part of email6. -- nosy: +BreamoreBoy versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue1379804] HP-UX thread stack size needs to be increased

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No reply to msg86492 so I'll close unless someone objects. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379804

[issue1209447] os.path.join() fails if 2nd arg is a UNC path

2010-08-26 Thread John Ehresman
John Ehresman j...@wingware.com added the comment: I say close it since it is a change in behavior and shouldn't go in a point release. I'm happy to see it fixed in 3.1. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1394135] Deleting first item causes anydbm.first() to fail

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No replky to msg83894. -- nosy: +BreamoreBoy resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1394135

[issue9693] asynchat push_callable() patch

2010-08-26 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: This can be useful in those circumstances where the user wants to execute some action right after some data has been sent (push()) or a producer has been consumed (push_with_producer()). Example: def log(msg): logging.debug(msg)

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
Ulrich Seidl ulrich.se...@muneda.com added the comment: Of course, if you use an unicode string it works and of course it would be easy to switch to unicode for this demo code. Unfortunately, the affected application is a little bit more complex and it is not that easy to switch to unicode. I

[issue2527] Pass a namespace to timeit

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - patch review versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2527 ___

[issue1397474] timeit execution enviroment

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: - d...@python nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1397474 ___

[issue1398781] Example in section 5.3 Pure Embedding doesn't work.

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: georg.brandl - d...@python nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1398781 ___

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Testing with python 2.5: oDoc.set(ATTR, ÄÖÜ) uses the encoding used by the source code (with # -*- coding:;) If I use utf-8 instead, the output is: ROOT ATTR=#195;#132;#195;#150;#195;#156; / which contains the numbers of the 3 pairs

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @Brian, Tim, any views on this? -- nosy: +BreamoreBoy, brian.curtin, tim.golden versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Can a core dev please look at this now that we're at 3.2 alapha, thanks. Or has it already been fixed? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue1437699] allow unicode arguments for robotparser.can_fetch

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: No comments on this for 4 1/2 years. Is this still valid and/or is anyone still interested? -- nosy: +BreamoreBoy versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1438480] shutil.move raises OSError when copystat fails

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: unit test needed - patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1438480

[issue1379416] email.Header encode() unicode P2.6

2010-08-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +patch Added file: http://bugs.python.org/file18652/header_encode_test.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416

[issue1379416] email.Header encode() unicode P2.6

2010-08-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: Added file: http://bugs.python.org/file18653/header_charset_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___

[issue1439312] Patch for bug 1438185: os.renames deletes junction points

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: @Brian, Tim, any views on this? -- components: +Library (Lib) -None nosy: +BreamoreBoy, brian.curtin, tim.golden versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python

[issue1440472] email.Generator is not idempotent

2010-08-26 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Does this belong with RDM or d...@python? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue1379416] email.Header encode() unicode P2.6

2010-08-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I've attached a fix and test. I've uploaded them separately since the fix only applies to 2.7, but I want to put the test into 3.x as well. -- ___ Python tracker rep...@bugs.python.org

[issue1379416] email.Header encode() unicode P2.6

2010-08-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: unit test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1379416 ___

[issue877904] freeze: problems excluding site

2010-08-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: wont fix - accepted status: closed - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue877904 ___

[issue1223976] error locale.getlocale() with LANGUAGE=eu_ES

2010-08-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Closing the report: eu_es has been Python for quite a while (at least since Python 2.5). If you also feel that 'basque' should be added as alias, please provide proof that this alias is really in use and open a new bug report. --

[issue9693] asynchat push_callable() patch

2010-08-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9693 ___ ___ Python-bugs-list

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2010-08-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682 ___ ___

[issue9650] format codes in time.strptime docstrings

2010-08-26 Thread Catherine Devlin
Catherine Devlin fredv8vi...@liquidid.net added the comment: There is the non-zero cost of keeping two copies of that bit of information in-sync with each other (and the code). That's true, but how often do the strftime format codes change? I'd be happy to personally volunteer to keep them

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
Ulrich Seidl ulrich.se...@muneda.com added the comment: Well, the output of the print is not that interesting as long as ElementTree is able the restore the former attributes value when reading it in again. The print was just used to illustrate that an UnicodeDecodeError appears. Think about

[issue1512163] mailbox (2.5b1): locking doesn't work (esp. on FreeBSD)

2010-08-26 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: Is this still an issue on later versions of Python and/or FreeBSD? Yes, there is still an issue. There is no longer a deadlock on FreeBSD because the module been changed to use only lockf() and dot-locking (on all platforms), but

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-08-26 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: The surrogateescape mechanism is a very hackish approach, and violates the principle that errors should never pass silently. I don't see how a name resolution API returning non-ASCII bytes would indicate an error. If the host table

[issue9690] Cannot distinguish bstr from str in ast module.

2010-08-26 Thread Kay Hayen
Kay Hayen kayha...@gmx.de added the comment: Hello Benjamin, thank you for the response. What do you mean with there is nothing we can do about it. Is it not possible to add another field indicating the prefix given to a literal? BTW: I believe raw strings are also no longer recognizable.

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

2010-08-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: As far as I can tell from a little bit of testing, if it is even possible to quote ':' in a posix path it isn't obvious how you do it. -- nosy: +r.david.murray ___ Python tracker

[issue9690] Cannot distinguish bstr from str in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/8/26 Kay Hayen rep...@bugs.python.org: Kay Hayen kayha...@gmx.de added the comment: Hello Benjamin, thank you for the response. What do you mean with there is nothing we can do about it. Is it not possible to add another field

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-26 Thread Ben Schmaus
New submission from Ben Schmaus benjamin.schm...@gmail.com: The argparse module lists required args as optional in the default help message. If you run the following program (also attached) you'll get the output listed below. #!/usr/bin/env python import argparse parser =

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1433886 ___

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1433886 ___ ___

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-26 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: It looks to me like reqarg is marked as required, since it's not in brackets. Or am I missing something? -- nosy: +bethard, eric.smith ___ Python tracker rep...@bugs.python.org

[issue5556] interactive interpreter, source encoding

2010-08-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Agreed. Although the docs do not explicitly say you cannot use bytes as source, this is clearly implicit in the Python3 bytes/string separation. The docs talk only about string inputs. -- nosy: +r.david.murray resolution: -

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yeah, the fact that it is listed under the heading optional arguments: :) Guess we need a new section? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue1437699] allow unicode arguments for robotparser.can_fetch

2010-08-26 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: While Python is 'GPL compatible', whatever that means, it cannot incorporate GPLed code in the PSF distribution. Code must be contributed under one on the two licenses in the contributor agreement. Philip, can you contribute a patch

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-26 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Duh. Sorry about that. Also applies to 3.2. -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9694 ___

[issue9632] Remove sys.setfilesystemencoding()

2010-08-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: Think of e.g. embedded Python interpreters or py2exe-style applications running on Linux or other systems that don't use Unicode APIs for

[issue2236] Distutils' mkpath implementation ignoring the mode parameter

2010-08-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2236 ___

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: r84329 has the fix. I decided to catch IOError and OSError separately rather than EnvironmentError as a blanket 'except' clause; explicit is better than implicit and all. -- status: open - closed ___

[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Ok, I'm closing this as won't fix. The OP doesn't have the issue anymore; anybody else having some issue please report that separately (taking into account that you are likely asked to provide a patch as well). -- resolution: -

[issue5904] strftime docs do not explain locale effect on result string

2010-08-26 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: georg.brandl - d...@python nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5904 ___

[issue9613] Python considers pid longs under 64-bit Windows

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The spawn* functions return intptr_t, because it's the process handle. But _getpid() returns an int. Both seem to be correctly handled. Which part do you suspect to truncate data? -- nosy: +amaury.forgeotdarc

[issue9650] format codes in time.strptime docstrings

2010-08-26 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Catherine, Did my suggestion to alter pydoc output so it always contains a link to the enclosing module's documentation not seem like a reasonable compromise? Another problem with embedding the format codes in the docstring is that it opens up a

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2010-08-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: why is it a UnicodeError? Because IDNA is an encoding, and codecs are supposed to raise UnicodeErrors. The string you are trying to encode is not supported in the encoding in question. It would be possible to catch the UnicodeError, and

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-08-26 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't see how a name resolution API returning non-ASCII bytes would indicate an error. It's in violation of RFC 952 (slightly relaxed by RFC 1123). But to be more explicit, that's like saying if it hurts, get your sysadmin to

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-08-26 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: I'm not working with Py3. don't how much that module is different in 3. unless its going into a py2 version, I'll leave the FR so far to the py3 community -- ___ Python tracker

[issue9694] argparse: Default Help Message Lists Required Args As Optional

2010-08-26 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Yeah, I guess the optional vs. positional isn't the best terminology now that you can have required flag-based arguments. Did you have a word other than optional that you'd prefer? -- ___

[issue9695] Return from generators in Python 3.2

2010-08-26 Thread Yury Selivanov
New submission from Yury Selivanov yseliva...@gmail.com: The patch is intended to fix behaviour of 'return' statement in python's generators. Please read this message before looking at the patch. http://mail.python.org/pipermail/python-dev/2010-August/103297.html -- components:

  1   2   >