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

2011-08-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cc86f4ca5020 by Ned Deily in branch '3.2': Issue #12540: Prevent zombie IDLE processes on Windows due to changes http://hg.python.org/cpython/rev/cc86f4ca5020 New changeset c2fd1ce1c6d4 by Ned Deily in branch

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

2011-08-05 Thread Ned Deily
Ned Deily n...@acm.org 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). -- assignee: - ned.deily resolution: - fixed stage: commit review - committed/rejected status: open - closed

[issue12692] test_urllib2net is triggering a ResourceWarning

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

[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-05 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12692 ___ ___

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

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

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

2011-08-05 Thread Martin von Gagern
Changes by Martin von Gagern martin.vgag...@gmx.net: -- nosy: +gagern ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list

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

2011-08-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Mon, Jul 25, 2011 at 13:50, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: FTR, for Debian and derivatives, doko chose to use 'linux2' when building on linux3. Luckily that has just been

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

2011-08-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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()

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

2011-08-05 Thread Martin von Gagern
New submission from Martin von Gagern martin.vgag...@gmx.net: 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

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

2011-08-05 Thread Martin von Gagern
Martin von Gagern martin.vgag...@gmx.net 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 rdmur...@bitdance.com 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. --

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

2011-08-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- title: Tools/Scripts/crlv.py needs updating for python 3+ - Tools/Scripts/crlf.py needs updating for python 3+ type: crash - behavior ___ Python tracker rep...@bugs.python.org

[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 rdmur...@bitdance.com: -- resolution: - duplicate stage: - committed/rejected superseder: - Tools/Scripts/crlf.py needs updating for python 3+ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12694

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

2011-08-05 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: On Fri, Aug 5, 2011 at 09:43, Ned Deily rep...@bugs.python.org wrote: Ned Deily n...@acm.org 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

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

2011-08-05 Thread Tobias Klausmann
Tobias Klausmann klaus...@gentoo.org 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

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

2011-08-05 Thread Martin von Gagern
New submission from Martin von Gagern martin.vgag...@gmx.net: 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

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

2011-08-05 Thread James Y Knight
James Y Knight f...@users.sourceforge.net 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.

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

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

[issue12641] Remove -mno-cygwin from distutils

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue12641] Remove -mno-cygwin from distutils

2011-08-05 Thread Jon
Jon jon.for...@gmail.com 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

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

2011-08-05 Thread Alexis Metaireau
New submission from Alexis Metaireau ale...@notmyidea.org: 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

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

2011-08-05 Thread Alexis Metaireau
Changes by Alexis Metaireau ale...@notmyidea.org: -- nosy: +Boris.FELD ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12697 ___ ___

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

2011-08-05 Thread jimmi
New submission from jimmi ch...@computersalat.de: 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

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

2011-08-05 Thread Alexis Metaireau
Changes by Alexis Metaireau ale...@notmyidea.org: -- title: timeiot documention still refers to the timeit.py script - timeit documention still refers to the timeit.py script ___ Python tracker rep...@bugs.python.org

[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 mer...@netwok.org 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 rep...@bugs.python.org

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

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

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: (HTTPS repos are not supported) -- hgrepos: +51 nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12666 ___

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

2011-08-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you provide a public URI? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12666 ___ ___

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

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

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

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

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

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com 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

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

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-05 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Thanks for the info, Nadeem. -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12692 ___

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

2011-08-05 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Fri, Aug 5, 2011 at 04:33, R. David Murray rep...@bugs.python.orgwrote: 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

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

2011-08-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rdmur...@bitdance.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12694 ___ ___

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

2011-08-05 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12666 ___

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab o...@ojab.ru 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

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Brian Curtin
Brian Curtin br...@python.org 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

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12691 ___ ___ Python-bugs-list

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12675 ___ ___ Python-bugs-list

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread ojab
ojab o...@ojab.ru added the comment: It may be impelmented as configparser.ConfigParser(strict=yes|no|multiline), so no existing configs will be broken. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12662

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

2011-08-05 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12666 ___ ___ Python-bugs-list

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

2011-08-05 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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:

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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 tjre...@udel.edu 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 tjre...@udel.edu 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.

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

2011-08-05 Thread Feth AREZKI
New submission from Feth AREZKI f...@tuttu.info: 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',

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

2011-08-05 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[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 sandro.t...@gmail.com: Added file: http://bugs.python.org/file22841/shutil_chown-default-v5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12191 ___

[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 sandro.t...@gmail.com: Removed file: http://bugs.python.org/file22675/shutil_chown-default-v5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12191 ___

[issue12690] Tix bug 2643483

2011-08-05 Thread Gary Levin
Gary Levin gary.marc.le...@gmail.com 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

[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 sandro.t...@gmail.com added the comment: Gaaah, sorry about that: I've just uploaded the correct fifth version. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12191

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Gareth Rees
Gareth Rees g...@garethrees.org 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

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl 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

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

2011-08-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Gareth Rees
Gareth Rees g...@garethrees.org 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

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

2011-08-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10570 ___ ___ Python-bugs-list mailing list

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

2011-08-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12675 ___ ___ Python-bugs-list

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

2011-08-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12698 ___ ___ Python-bugs-list mailing list

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

2011-08-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- 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 martin.vgag...@gmx.net 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

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

2011-08-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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:

[issue12691] tokenize.untokenize is broken

2011-08-05 Thread Gareth Rees
Gareth Rees g...@garethrees.org 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

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-05 Thread Gareth Rees
New submission from Gareth Rees g...@garethrees.org: 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).

[issue12256] Link isinstance/issubclass doc to abc module

2011-08-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I think the patch is fine to apply. -- nosy: +ezio.melotti, sandro.tosi stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12256

[issue11481] The copy module already uses copyreg

2011-08-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 g...@garethrees.org 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

[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 pit...@free.fr 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 rep...@bugs.python.org

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

2011-08-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I also think it sounds too specialized. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12661 ___

[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 cploo...@gmail.com: 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

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

2011-08-05 Thread deadshort
deadshort cploo...@gmail.com 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 n...@acm.org: -- nosy: +ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12701 ___ ___

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

2011-08-05 Thread Ned Deily
Ned Deily n...@acm.org 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 n...@acm.org: -- assignee: - ned.deily nosy: +ned.deily versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11914 ___

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

2011-08-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7367 ___ ___ Python-bugs-list mailing

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

2011-08-05 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7367 ___ ___

[issue12687] Python 3.2 fails to load protocol 0 pickle

2011-08-05 Thread Andrew Wilkins
Andrew Wilkins axw...@gmail.com 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

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

2011-08-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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)

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

2011-08-05 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2011-08-05 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Sandro, perhaps got overlooked. :) But yeah, why wait. Done. -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11047

[issue12653] Provide accelerators for all buttons in Windows installers

2011-08-05 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +markm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12653 ___ ___ Python-bugs-list

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

2011-08-05 Thread Oleg Oshmyan
Oleg Oshmyan chor...@inbox.lv 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 devn...@psf.upfronthosting.co.za 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

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

2011-08-05 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Thanks for the report, Boris Feld and Alexis. -- assignee: alexis - docs@python nosy: +docs@python, orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12697