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

2010-08-26 Thread Göran Uddeborg
Göran Uddeborg 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 here. But in any ca

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Florent Xicluna
Florent Xicluna 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 True Since bo

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Florent Xicluna
Florent Xicluna added the comment: Patch. -- keywords: +patch Added file: http://bugs.python.org/file18649/issue9572_oserror.diff ___ Python tracker ___ _

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 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 require such special h

[issue9686] asyncore infinite loop on raise

2010-08-26 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 proposing and, again, it wo

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Dwayne Bailey
Dwayne Bailey 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 our code. But interestingly I haven

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

2010-08-26 Thread Ronald Oussoren
New submission from Ronald Oussoren : 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. When I create an sdist us

[issue9683] Dead code in py3k inspect module

2010-08-26 Thread Andreas Stührk
Andreas Stührk 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 arguments: >>> def f(x, (y, z)): pas

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Re-opening for investigation. (The previous message really should have been a new issue.) -- status: closed -> open ___ Python tracker ___

[issue7005] ConfigParser does not handle options without values

2010-08-26 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2010-08-26 Thread Georg Brandl
Georg Brandl 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 __

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson 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' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[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 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 tests should proba

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[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 : -- assignee: -> loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Vinay Sajip 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 prefer "fullstack" to "f

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

2010-08-26 Thread Vinay Sajip
Vinay Sajip 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 the upper frames above

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

2010-08-26 Thread Ich Neumon
Ich Neumon 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 seem like much, but the

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Changes by Vinay Sajip : -- Removed message: http://bugs.python.org/msg114972 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1553375] Add traceback.print_full_exception()

2010-08-26 Thread Vinay Sajip
Vinay Sajip 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". -- ___ Python tracker <

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

2010-08-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2010-08-26 Thread Andrey Vlasovskikh
Andrey Vlasovskikh 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 tasks that are currently in

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

2010-08-26 Thread Andrey Vlasovskikh
Changes by Andrey Vlasovskikh : -- nosy: +vlasovskikh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2010-08-26 Thread Ich Neumon
Ich Neumon 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 to the double-quote

[issue9689] threading.Timer poorly documented

2010-08-26 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r84326. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9681] small typo in online documentation

2010-08-26 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r84327. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
New submission from Ulrich Seidl : 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( '' ) oDoc.set( "ATTR", "ÄÖÜ" ) print ElementTree.tostring( oD

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +flox stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-08-26 Thread R. David Murray
R. David Murray added the comment: Ich, if your problem still exists in 2.7, 3.1, or 3.2, please open a new issue with a test case showing the problem you are running in to. -- nosy: +r.david.murray ___ Python tracker

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

2010-08-26 Thread R. David Murray
R. David Murray added the comment: Also, issue 7082 might be relevant here, since it fixed a bug in this fix. -- ___ Python tracker ___ ___

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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( "ATTR", u"ÄÖÜ" ) or

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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: +BreamoreBoy, brian.curtin, tim

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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

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

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2010-08-26 Thread Mark Matusevich
Mark Matusevich 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 Windows XP Professional Versi

[issue1080387] Making IDLE Themes and Keys Config more Robust

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 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 __

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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

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

2010-08-26 Thread Éric Araujo
Éric Araujo 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 needed versions:

[issue1098749] Single-line option to pygettext.py

2010-08-26 Thread Mark Lawrence
Mark Lawrence added the comment: My gut reaction is that pygettext should be deprecated, other opinions are welcome. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue1100562] deepcopying listlike and dictlike objects

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 ___

[issue1208730] expat binding for XML_ParserReset

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 ___ __

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence added the comment: Can the fix be backported to 2.7 or can this be closed? -- nosy: +BreamoreBoy ___ Python tracker ___ _

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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: +BreamoreBoy versions: +

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg86492 so I'll close unless someone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___ __

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

2010-08-26 Thread John Ehresman
John Ehresman 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

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence added the comment: No replky to msg83894. -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue9693] asynchat push_callable() patch

2010-08-26 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : 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) class Sender(asynch

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
Ulrich Seidl 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 just wonder why the tos

[issue2527] Pass a namespace to timeit

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> patch review versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-b

[issue1397474] timeit execution enviroment

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list m

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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: which contains the numbers of the 3 pairs of surrogates. -- ___

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 _

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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

[issue1437699] allow unicode arguments for robotparser.can_fetch

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 _

[issue1438480] shutil.move raises OSError when copystat fails

2010-08-26 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: unit test needed -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ _

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

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

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

2010-08-26 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file18653/header_charset_fix.diff ___ Python tracker ___ ___ Python-bugs-lis

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

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 tracker

[issue1440472] email.Generator is not idempotent

2010-08-26 Thread Mark Lawrence
Mark Lawrence 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 _

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

2010-08-26 Thread R. David Murray
R. David Murray 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

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

2010-08-26 Thread R. David Murray
Changes by R. David Murray : -- stage: unit test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue877904] freeze: problems excluding site

2010-08-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: wont fix -> accepted status: closed -> languishing ___ Python tracker ___ ___ Python-bugs

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

2010-08-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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. -- assignee: -> le

[issue9693] asynchat push_callable() patch

2010-08-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[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' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9650] format codes in time.strptime docstrings

2010-08-26 Thread Catherine Devlin
Catherine Devlin 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 in synch. I suspect it

[issue9692] UnicodeDecodeError in ElementTree.tostring()

2010-08-26 Thread Ulrich Seidl
Ulrich Seidl 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 doing an ElementTree.fr

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

2010-08-26 Thread David Watson
David Watson 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 the issue is now about how use

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

2010-08-26 Thread David Watson
David Watson 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 contains a non-ASCII byte

[issue9690] Cannot distinguish b"str" from "str" in ast module.

2010-08-26 Thread Kay Hayen
Kay Hayen 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. Fortunately I do

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

2010-08-26 Thread R. David Murray
R. David Murray 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 b"str" from "str" in ast module.

2010-08-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/26 Kay Hayen : > > Kay Hayen 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? W

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

2010-08-26 Thread Ben Schmaus
New submission from Ben Schmaus : 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 = argparse.ArgumentParser( description = 'D

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1433886] pointer aliasing causes core dump, with workaround

2010-08-26 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2010-08-26 Thread Eric Smith
Eric Smith 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 _

[issue5556] interactive interpreter, source encoding

2010-08-26 Thread R. David Murray
R. David Murray 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: -> invalid stage: unit

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

2010-08-26 Thread R. David Murray
R. David Murray 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

[issue1437699] allow unicode arguments for robotparser.can_fetch

2010-08-26 Thread Terry J. Reedy
Terry J. Reedy 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 appropriate to 3.x? In 3.

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

2010-08-26 Thread Eric Smith
Eric Smith added the comment: Duh. Sorry about that. Also applies to 3.2. -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-

[issue9632] Remove sys.setfilesystemencoding()

2010-08-26 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor 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 FS-interaction or have fixed FS-encodings. >

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-08-26 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9572] IOError or OSError in test_multiprocessing

2010-08-26 Thread Brett Cannon
Brett Cannon 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 ___ Python tracker

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

2010-08-26 Thread Martin v . Löwis
Martin v. Löwis 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: -> wont fix status: o

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

2010-08-26 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailin

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

2010-08-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 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 Pandora's box

[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 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 re-raise it as a

[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 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 reconfigure the compan

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-08-26 Thread kxroberto
kxroberto 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 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? -- ___ Python tracker

[issue9695] Return from generators in Python 3.2

2010-08-26 Thread Yury Selivanov
New submission from Yury Selivanov : 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: Interpreter Core files: gen

[issue9696] xdrlib's pack_int generates DeprecationWarnings for negative in-range values

2010-08-26 Thread David Powell
New submission from David Powell : The problem is easy to reproduce: >>> import xdrlib >>> p = xdrlib.Packer() >>> p.pack_int(-1) __main__:1: DeprecationWarning: struct integer overflow masking is deprecated The cause is xdrlib.Packer uses the same pack operation for both signed and unsigned in

[issue9697] python 2.3.4 installation error on 64 bit env

2010-08-26 Thread Jayesh
New submission from Jayesh : [r...@server Python-2.3.4]# ./configure checking MACHDEP... linux2 checking EXTRAPLATDIR... checking for --without-gcc... no checking for --with-cxx=... no checking for c++... no checking for g++... no checking for gcc... gcc checking for C++ compiler default output..

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

2010-08-26 Thread R. David Murray
R. David Murray added the comment: Ah, I wondered if it was something like that (encoding=>UnicodeError). It's not really a *unicode* error, it's a syntax error in the domain name construction (ie: it is invalid whether or not unicode is involved, it just isn't caught in 2.x for non-unicode

  1   2   >