[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-05 Thread Nadeem Vawda
Nadeem Vawda added the comment: Relevant: http://mail.python.org/pipermail/python-dev/2011-July/112551.html -- nosy: +nadeem.vawda ___ Python tracker ___ ___

[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-05 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12694] crlf.py script from Tools doesn't work with Python 3.2

2011-08-05 Thread Alexander Belchenko
New submission from Alexander Belchenko : Attempt to use crlf.py script from standard windows install always fail with traceback: C:\Python32\Tools\Scripts>C:\Python32\python.exe crlf.py 2to3.py Traceback (most recent call last): File "crlf.py", line 23, in main() File "crlf.py", line

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-08-05 Thread Martin von Gagern
Changes by Martin von Gagern : -- nosy: +gagern ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: On Mon, Jul 25, 2011 at 13:50, Éric Araujo wrote: > Éric Araujo added the comment: > > FTR, for Debian and derivatives, doko chose to use 'linux2' when building on > linux3. Luckily that has just been reverted. -- nosy: +sandro.tosi __

[issue12680] cPickle.loads is not thread safe due to non-thread-safe imports

2011-08-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > PyImport_ExecCodeModuleEx adds the module to sys.modules *before* > actually executing the code. This is a design flaw (can it really be > changed? ) I guess it is done so to allow for circular imports. > The second bug: in cPickle.c: func_class() > cPickle

[issue12695] subprocess.Popen: OSError: [Errno 9] Bad file descriptor

2011-08-05 Thread Martin von Gagern
New submission from Martin von Gagern : suprocess.Popen on POSIX (using _posixsubprocess Module) has a good chance of repeatedly closing the same file descriptor if the descriptor for stdin is also used for stdout and/or stderr. Only stdout and stderr are checked for equality with one another.

[issue12695] subprocess.Popen: OSError: [Errno 9] Bad file descriptor

2011-08-05 Thread Martin von Gagern
Martin von Gagern added the comment: Sorry, this is a duplicate of issue #11432. Failed to find that, and also failed to realize that python is now using hg and my svn checkout might be outdated. Sorry there. -- resolution: -> duplicate status: open -> closed ___

[issue12693] test.support.transient_internet prints to stderr when verbose is false

2011-08-05 Thread R. David Murray
R. David Murray added the comment: I'm pretty sure this was intentional. It is analogous to Skip messages and the messages issued when a resource hasn't been enabled, which also print when verbose is not true: the test wasn't run, and it lets you know why. -- nosy: +r.david.murray _

[issue12032] Tools/Scripts/crlf.py needs updating for python 3+

2011-08-05 Thread R. David Murray
Changes by R. David Murray : -- title: Tools/Scripts/crlv.py needs updating for python 3+ -> Tools/Scripts/crlf.py needs updating for python 3+ type: crash -> behavior ___ Python tracker __

[issue12694] crlf.py script from Tools doesn't work with Python 3.2

2011-08-05 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> committed/rejected superseder: -> Tools/Scripts/crlf.py needs updating for python 3+ ___ Python tracker ___

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-08-05 Thread Eli Bendersky
Eli Bendersky added the comment: On Fri, Aug 5, 2011 at 09:43, Ned Deily wrote: > > Ned Deily added the comment: > > With Eli's concurrence, I have applied the updated patch to 3.2 (for 3.2.2) > and to default (for 3.3). > > -- > Tested this on Windows XP with Python 3.2 installed in

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2011-08-05 Thread Tobias Klausmann
Tobias Klausmann added the comment: This bug is still not fixed and basically makes the curses module unusable except for very narrow use cases. Unfortunately, my C-fu is very weak, otherwise I'd try to make a patch. -- nosy: +klausman ___ Python t

[issue12696] pydoc error page due to lacking permissions on ./*

2011-08-05 Thread Martin von Gagern
New submission from Martin von Gagern : I'd like to be able to run "pydoc -b" in whatever directory I'm currently in. Most of the time that would be the root of my home directory, which is an ext4fs mount. So it has a subdirectory called "lost+found" for which I don't have any access permissio

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-08-05 Thread James Y Knight
James Y Knight added the comment: Oh wow, so it depends on the *build* time major version? That's really not useful at all for linux 2.x and 3.x; there is nothing useful anyone can possibly do with the distinction between platform == "linux2" and platform == "linux3". All it could possibly do

[issue9338] argparse optionals with nargs='+' can't be followed by positionals

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: There is. Someone wanting to help could reply to the question I asked :) -- type: feature request -> behavior versions: +Python 3.3 ___ Python tracker ___

[issue12641] Remove -mno-cygwin from distutils

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: The necessity of walking on eggs with the distutils codebase restrains me. I’ve read the thread on sourceforge (thanks Ruben) but don’t have enough information yet to decide whether to do a version check, call gcc -dumpspecs or remove the option altogether. BT

[issue12641] Remove -mno-cygwin from distutils

2011-08-05 Thread Jon
Jon added the comment: shortly after opening this issue i removed -mno-cygwin from my 2.7.2 install and have had no issues on win7 32bit. but i understand you're hesitation. regardless what you decide, please consider placing a summary note in the source comments as a safety net. if you'd li

[issue12697] timeiot documention still refers to the timeit.py script

2011-08-05 Thread Alexis Metaireau
New submission from Alexis Metaireau : The example section of the timeit documentation still refers to "timeit.py", and isn't using the "python -m timeit" syntax used above. http://docs.python.org/library/timeit.html#examples I'm not sure when and if the timeit.py script has been removed from t

[issue12697] timeiot documention still refers to the timeit.py script

2011-08-05 Thread Alexis Metaireau
Changes by Alexis Metaireau : -- nosy: +Boris.FELD ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12698] urllib does not use no_proxy when it has blanks

2011-08-05 Thread jimmi
New submission from jimmi : if you define your no_proxy var as mentioned in /etc/sysocnfig/proxy # Example: NO_PROXY="www.me.de, do.main, localhost" then python's urllib will never make use of it, cause there are blanks. urllib does not remove blanks. Reproducible: Always Steps to Reproduce:

[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Alexis Metaireau
Changes by Alexis Metaireau : -- title: timeiot documention still refers to the timeit.py script -> timeit documention still refers to the timeit.py script ___ Python tracker __

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: You should replace the v5 file (or even remove all files, for clarity) with the actual output of hg diff, not hg status ;-) -- ___ Python tracker ___

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. Could you tell us more about the use cases? Are you aware of some config files using this form? -- nosy: +eric.araujo title: Allow configparser to process suplicate options -> Add support for duplicate options in configparser __

[issue12661] Add a new shutil.cleartree function to shutil module

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: It looks like this new function would just replace a loop using os.walk and fnmatch. Is it really needed? -- nosy: +eric.araujo ___ Python tracker _

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: (HTTPS repos are not supported) -- hgrepos: +51 nosy: +eric.araujo ___ Python tracker ___ ___ Python-b

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: Can you provide a public URI? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- keywords: +patch Added file: http://bugs.python.org/file22839/bc362109eed8.diff ___ Python tracker ___ ___

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I don't know how that repo got to be private; I created it just like every other public repo I have, and I thought I was only allowed one private repo (this was my second). In any case, I updated the setting, and now it appears to be accessible via the bug t

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure how the bugtracker patch mechanism works, but the patch it produced included a lot of changes that I didn't make (changesets already committed to the master repo). -- keywords: -patch ___ Python trac

[issue12540] "Restart Shell" command leaves pythonw.exe processes running

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The replacement file, for anyone without a dev setup, is http://hg.python.org/cpython/file/cc86f4ca5020/Lib/idlelib/PyShell.py After renaming PyShell to PyShellBak and replacing with the above, IDLE seems to run better than ever. On my XP system, the several se

[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-05 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the info, Nadeem. -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ P

[issue12693] test.support.transient_internet prints to stderr when verbose is false

2011-08-05 Thread Brett Cannon
Brett Cannon added the comment: On Fri, Aug 5, 2011 at 04:33, R. David Murray wrote: It just seems odd to print when verbosity is off, but not when it is on. I don't have the repo in front of me right now, but is there some other mechanism which prints out similar info when verbosity is on?

[issue12693] test.support.transient_internet prints to stderr when verbose is false

2011-08-05 Thread R. David Murray
R. David Murray added the comment: I don't see any such code in the 3.3 source for the context manager. There the resource name is put in the ResourceDenied message. I think we'll need the reproducer. -- ___ Python tracker

[issue12694] crlf.py script from Tools doesn't work with Python 3.2

2011-08-05 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab added the comment: There is some [leagcy] proprietary soft-switches, which uses this config format. Personally I use [hacked] configparser to process Mera systems MVTS/SIP-HIT configs in this format, for example. -- ___ Python tracker

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Brian Curtin
Brian Curtin added the comment: This would break existing config files, including some of my own. It would also require that you have some end delimiter on every item in order to handle the event that someone duplicates options, otherwise the following would likely behave badly in your appli

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab added the comment: It may be impelmented as configparser.ConfigParser(strict=yes|no|multiline), so no existing configs will be broken. -- ___ Python tracker ___ __

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Ezio Melotti
Ezio Melotti added the comment: Sounds good to me. I would also replace the % with $ in the first example and use triple-quoted docstrings and spaces around the == in the last. -- keywords: +easy nosy: +ezio.melotti, sandro.tosi stage: -> needs patch versions: -Python 2.6, Python 3.

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have not used tokenize, but if it is *not* intended to exactly reproduce the internal tokenizer behavior, the claim that it is should be amended. -- nosy: +terry.reedy ___ Python tracker

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding a feature 'fixes' the deficiency of its absence. I personally have no use for 'accepted' and find it ambiguous. My best understanding is what David has seen (accepted in principle). -- nosy: +terry.reedy ___

[issue12690] Tix bug 2643483

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Gary, did you mean that there is a fix in the Tix bug report? (the addition of '-'?) If so, what has it not been applied to the Tix repository? Is it still active? Once changed there, the change should be propagated to the Python distribution. -- nosy:

[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-05 Thread Feth AREZKI
New submission from Feth AREZKI : Tested on linux arch & debian, freeBSD and MacOSX : % python2.7 [...] >>> import locale >>> locale.getlocale() (None, None) >>> locale.getlocale(locale.LC_CTYPE)  #or any type (None, None) % python3.2 [...] >>> import locale >>> locale.getlocale() ('fr_FR', 'UT

[issue12696] pydoc error page due to lacking permissions on ./*

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do any of you three have anything to do with pydoc? Given that the manual simply says "pydoc -b will start the server and additionally open a web browser to a module index page." without qualifications, quitting when started from certain locations strikes me

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22841/shutil_chown-default-v5.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi : Removed file: http://bugs.python.org/file22675/shutil_chown-default-v5.patch ___ Python tracker ___ ___ Python-bugs-l

[issue12690] Tix bug 2643483

2011-08-05 Thread Gary Levin
Gary Levin added the comment: Terry, I am just a new casual user. The fix described in the Tix report (adding the '-') fixed the problem for me. But the report (2009-02-26) is after the most recent Tix build (8.4.3 2008-03-17). I don't know if it was ever added to the repository. Is T

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Gaaah, sorry about that: I've just uploaded the correct fifth version. -- nosy: +ezio.melotti ___ Python tracker ___ _

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Gareth Rees
Gareth Rees added the comment: I think I can make these changes independently and issue two patches, one fixing the problems with untokenize listed here, and another improving tokenize. I've just noticed a third bug in untokenize: in full mode, it doesn't handle backslash-continued lines corr

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Łukasz Langa
Łukasz Langa added the comment: This specific config format you're discussing strikes me as error prone and barely useful. With the use case you've given I cannot justify introducing support for it in the standard library. Remember that each switch, variant, however obscure and rarely used, i

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 74e79b2c114a by Sandro Tosi in branch 'default': #11572: improvements to copy module tests along with removal of old test suite http://hg.python.org/cpython/rev/74e79b2c114a -- nosy: +python-dev ___ Pyth

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Gareth Rees
Gareth Rees added the comment: Terry: agreed. Does anyone actually use this module? Does anyone know what the design goals are for tokenize? If someone can tell me, I'll do my best to make it meet them. Meanwhile, here's another bug. Each character of trailing whitespace is tokenized as an E

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Brandon, thanks for your work on this patch! I've just committed the unittests update+removal of _test() part. For the remaining part, I see that Nick and you worked on it during a sprint, so I'm quite sure it's fine, but nonetheless it would be awesome if you c

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12698] urllib does not use no_proxy when it has blanks

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12699] strange behaviour of locale.getlocale() -> None, None

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> 3.x locale does not default to C, contrary to the documentation and to 2.x behavior ___ Python tracker

[issue12696] pydoc error page due to lacking permissions on ./*

2011-08-05 Thread Martin von Gagern
Martin von Gagern added the comment: The server continues all right. It's the browser window which displays the error message. Not much better in my opinion, though. To be completely accurate: currently the -b option doens't work as it should due to issue #11432. But using "-p 0" and opening

[issue11047] Bad description for an entry in whatsnew/2.7

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, the patch seems indeed to fix a "reverse" description of issue 7902. Was there a reason (given the quite long list of nosy people) why it was not applied? "lack of time" doesn't count :) -- nosy: +ezio.melotti, sandro.tosi stage: -> commit review

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Gareth Rees
Gareth Rees added the comment: Please find attached a patch containing four bug fixes for untokenize(): * untokenize() now always returns a bytes object, defaulting to UTF-8 if no ENCODING token is found (previously it returned a string in this case). * In compatibility mode, untokenize() succ

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-05 Thread Gareth Rees
New submission from Gareth Rees : On Mac OS 10.7, test_faulthandler fails. See test output below. It looks as though the tests may be at fault in expecting to see "(?:Segmentation fault|Bus error)" instead of "(?:Segmentation fault|Bus error|Illegal instruction)". test_disable (__main__.F

[issue12256] Link isinstance/issubclass doc to abc module

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: I think the patch is fine to apply. -- nosy: +ezio.melotti, sandro.tosi stage: patch review -> commit review ___ Python tracker ___ __

[issue11481] The copy module already uses copyreg

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: A quick reword could be the one attached. -- keywords: +patch nosy: +ezio.melotti, sandro.tosi stage: -> patch review versions: +Python 2.7 -Python 3.1 Added file: http://bugs.python.org/file22843/issue11481.patch ___

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Gareth Rees
Gareth Rees added the comment: Thanks Ezio for the review. I've made all the changes you requested, (except for the re-ordering of paragraphs in the documentation, which I don't want to do because that would lead to the "round-trip property" being mentioned before it's defined). Revised patch

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I wonder if we should raise LookupError for unknown uids/gids. Do we have other APIs with similar semantics? -- nosy: +pitrou ___ Python tracker _

[issue12661] Add a new shutil.cleartree function to shutil module

2011-08-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I also think it sounds too specialized. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-lis

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2011-08-05 Thread deadshort
New submission from deadshort : Apple Radar ticket 9908625 has been filed. The clang 2.1 optimizer causes overflows in Object/intobject.c:int_pow() to be missed, so 2**63 turns into a negative integer. The attached test program narrows it down. llvm-gcc is fine, so this ticket is mostly an FYI

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2011-08-05 Thread deadshort
deadshort added the comment: Blecch: cut-o. The bad case should have been the matching: idiotbox:Python-2.7.2 cloomis$ ./seqpoint 40 40 a=40, b=40, c(a*b)=-2446744073709551616, c/b=40 overflow detected: 0 -- _

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12696] pydoc error page due to lacking permissions on ./*

2011-08-05 Thread Ned Deily
Ned Deily added the comment: This is essentially a duplicate of Issue11914. The root cause is that pkgutil.iter_modules doesn't deal with permission errors when traversing paths. Issue7367 is also related. -- assignee: -> ned.deily nosy: +ned.deily

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily nosy: +ned.deily versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- assignee: -> ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-08-05 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12687] Python 3.2 fails to load protocol 0 pickle

2011-08-05 Thread Andrew Wilkins
Andrew Wilkins added the comment: In _pickle.c, the load_put function calls _Unpickler_Readline, which may prefetch data and place it after the line read in with "readline". load_put then calls PyLong_FromString, which doesn't like the trailing data after the '\n'. Maybe just use PyOS_strtol

[issue12698] urllib does not use no_proxy when it has blanks

2011-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5a35bcfa3ee by Senthil Kumaran in branch '2.7': Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items) http://hg.python.org/cpython/rev/c5a35bcfa3ee New changeset 1d4bd059a9b

[issue11047] Bad description for an entry in whatsnew/2.7

2011-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 298df0970eec by Senthil Kumaran in branch '2.7': Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902. http://hg.python.org/cpython/rev/298df0970eec New changeset dafdbd0d570a by Senthil Kumaran in branch '3.2': merge from 2.

[issue11047] Bad description for an entry in whatsnew/2.7

2011-08-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Sandro, perhaps got overlooked. :) But yeah, why wait. Done. -- nosy: +orsenthil ___ Python tracker ___ __

[issue12653] Provide accelerators for all buttons in Windows installers

2011-08-05 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +markm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12646] zlib.Decompress.decompress/flush do not raise any exceptions when given truncated input streams

2011-08-05 Thread Oleg Oshmyan
Oleg Oshmyan added the comment: I have another proposition (as an alternative). The new _bz2.BZ2Decompressor objects have an attribute called eof which is False until the end of the stream is read. The same attribute could be added to zlib.Decompress objects. -- _

[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa1e5fe55664 by Senthil Kumaran in branch '2.7': Fix closes Issue12697 - Update the usage syntax of timeit module in the docs. http://hg.python.org/cpython/rev/fa1e5fe55664 New changeset 87de58db3d40 by Senthil Kumaran in branch '3.2': Fix closes I

[issue12697] timeit documention still refers to the timeit.py script

2011-08-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the report, Boris Feld and Alexis. -- assignee: alexis -> docs@python nosy: +docs@python, orsenthil ___ Python tracker ___

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-05 Thread Petri Lehtinen
Petri Lehtinen added the comment: Terry J. Reedy wrote: > Adding a feature 'fixes' the deficiency of its absence. I personally > have no use for 'accepted' and find it ambiguous. My best > understanding is what David has seen (accepted in principle). Ditto. Having separate resolutions for bugs

[issue12702] shutil.copytree() should use os.lutimes() to copy the metadata of symlinks

2011-08-05 Thread Petri Lehtinen
New submission from Petri Lehtinen : As discussed in issue 12183, shutil.copytree(..., symlinks=True) should copy the metadata of symlinks instead of the metadata of the file that the symlink refers to. This can be achieved by using os.lstat() and os.lutimes() (new in 3.3) on symlinks. -