[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread Steven D'Aprano
Steven D'Aprano st...@pearwood.info added the comment: I agree with Terry Reedy. I'm re-opening it as a documentation bug (if I can -- if I can't, I'll just request somebody who can do so). -- components: -Interpreter Core status: closed - open ___

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Is it possible that Stuffit tries to unpack every compressed file found inside the tar file? the wininst*.exe files are templates for installers. They likely contain part of the signature of a ZIP file, and Stuffit would handle them

[issue5829] float('1e500') - inf, complex('1e500') - ValueError

2009-05-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Patch against py3k. If someone can review this I'll apply it for 3.1; otherwise, it can wait until 3.2. -- keywords: +patch priority: - normal stage: test needed - commit review versions: -Python 2.6, Python 3.0 Added file:

[issue5829] float('1e500') - inf, complex('1e500') - ValueError

2009-05-16 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- components: +Interpreter Core ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5829 ___ ___

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-05-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Is it okay with everyone to close this as wont fix? (BTW, is there some reason that the Resolution field isn't allowed to have an apostrophe in it?) There's nothing we can do about 2.6.2; it appears 2.6.3 wasn't imminent, and as Raymond

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-05-16 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5786 ___ ___

[issue5864] format(1234.5, '.4') gives misleading result

2009-05-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Eric, any thoughts on whether this should be backported to 2.6 and 3.0? It looks like quite a lot of work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864

[issue5864] format(1234.5, '.4') gives misleading result

2009-05-16 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- priority: - normal versions: +Python 2.6, Python 3.0 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864 ___

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I was fearing some MacOS X-specific feature à la application bundles. Thanks for reporting the problem anyway :) -- resolution: - invalid status: open - closed ___ Python tracker

[issue5992] spurious space after opening parenthesis when auto-completing

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is with readline and rlcompleter enabled. However, it actually does this with the installed system Python too, so I fear some system-specific problem (perhaps a buggy readline library). -- ___

[issue6035] test_poplib Bus error with gcc-4.4 on OS X

2009-05-16 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: After building the py3k branch (r72674) with GCC 4.4 on OS X 10.5.7/x86 using: CC=gcc-mp-4.4 ./configure --with-pydebug make test_poplib.py is crashing with a Bus error: Macintosh-4:py3k dickinsm$ ./python.exe Lib/test/test_poplib.py

[issue6028] Interpreter crashes when chaining an infinite number of exceptions

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The code you posted causes an infinite loop in the 2.x branch as well. Anyway, I do not see how crashing is a desired result. I do not see what the desired result is in your example. The code is obviously wrong. Did you get hit by that in

[issue5786] len(reversed(

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Is it okay with everyone to close this as wont fix? (BTW, is there some reason that the Resolution field isn't allowed to have an apostrophe in it?) There's nothing we can do about 2.6.2; it appears 2.6.3 wasn't imminent, and as Raymond

[issue5786] len(reversed(

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oh, answering by e-mail reopened the bug for some unknown reason. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5786

[issue6033] LOOKUP_METHOD and CALL_METHOD optimization

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Can you give results of the richards benchmark? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6033 ___

[issue6036] test_posixpath.py

2009-05-16 Thread Philipp Hagemeister
New submission from Philipp Hagemeister phi...@phihag.de: At line 300 (version 72674) there is the following interesting construction: if hasattr(os, symlink): if hasattr(os, symlink): (...) (...) hasattr is idempotent. Additionally, test_posixpath.py is missing the

[issue6036] Clean up test_posixpath.py

2009-05-16 Thread Philipp Hagemeister
Changes by Philipp Hagemeister phi...@phihag.de: -- title: test_posixpath.py - Clean up test_posixpath.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6036 ___

[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't think it would be better to change the documentation to will raise a RuntimeError or result in undefined behavior. It already tells you not to do this strongly enough. -- status: open - closed

[issue6039] cygwin compilers should not check compiler versions

2009-05-16 Thread Cournapeau David
New submission from Cournapeau David da...@ar.media.kyoto-u.ac.jp: cygwin compiler modules in distutils check versions of the toolchain, and break is the version is not a released one. I can't see the rationale for such a behavior, and it is particularly annoying since it cannot be bypassed

[issue6040] bdist_msi does not deal with pre-release version

2009-05-16 Thread Cournapeau David
New submission from Cournapeau David da...@ar.media.kyoto-u.ac.jp: If bdist_msi is used on a package which has a non released version (defined from StrictVersion), it refuses to build the package. The code for the bdist_msi mentions that pre-release is not supported. Knowing nothing about msi, I

[issue6034] Fix object.__reversed__ doc

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r72675. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6034 ___

[issue6025] documentation of xml.dom.minidom.parse signature is wrong

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r72676. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6025 ___

[issue6009] optparse docs say 'default' keyword is deprecated but uses it in most examples

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree with you, and have removed the deprecation notice in r72677. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6009

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r72678. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2856 ___

[issue5987] Broken link to Curses Programming with Python

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes, we're only maintaining the docs for maintained branches, and 2.5 is now in security-fix-only status. I've clarified the reporting bugs document in the current docs now. -- ___ Python tracker

[issue5141] C API for appending to arrays

2009-05-16 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: A first thing would be to select a suitable prefix name for the Array API. Because the Numpy people have 'stolen' PyArray_ instead of staying home with PyNDArray_ or so ;-) In case sb goes into this: Other than PyList_ like stuff and

[issue6035] test_poplib Bus error with gcc-4.4 on OS X

2009-05-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: More information: gcc-mp-4.4 is GCC 4.4 from macports. For some reason the macports version of gcc is having problems, but not the regular Apple version. When I compile with gcc-4.2 from Apple, test_poplib.py passes. When I compile with

[issue6025] documentation of xml.dom.minidom.parse signature is wrong

2009-05-16 Thread Philipp Hagemeister
Philipp Hagemeister phi...@phihag.de added the comment: The patch has been applied to trunk, but not branches/py3k. Sorry for that, I should really get into the habit of providing patches for both branches. -- status: closed - open ___ Python tracker

[issue5864] format(1234.5, '.4') gives misleading result

2009-05-16 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I don't see any point in backporting to 3.0 at this point. While it's definitely a problem in 2.6, it seems like a big change to make in a bugfix release. I guess I'm +0 on it. -- ___ Python tracker

[issue6039] cygwin compilers should not check compiler versions

2009-05-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The cygwincompiler module has many workarounds for problems with cygwin and mingw32. Can you please show where the error is, and what is the error version of the tools you use? -- nosy: +amaury.forgeotdarc

[issue3058] Let SimpleXMLRPCServer pass client_address to called functions.

2009-05-16 Thread samwyse
samwyse samw...@gmail.com added the comment: A more general solution would be to pass the RequestHandler instance as a parameter to the dispatch function. This would allow the function to pick out more than just the client address. To avoid breaking pre-existing code, this should be made

[issue6033] LOOKUP_METHOD and CALL_METHOD optimization

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: With the patch: Richards benchmark (Python) starting... [function entry_point at 0x63b430] finished. Total time for 10 iterations: 8.49 secs Average time per iteration: 848.90 ms Without: Richards benchmark (Python) starting...

[issue6037] MutableSequence.__iadd__ should return self

2009-05-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6037 ___

[issue6028] Interpreter crashes when chaining an infinite number of exceptions

2009-05-16 Thread Yury
Yury yury.sobo...@gmail.com added the comment: I knew that python handles infinite recursion and gracefully errors out, and I knew that exception chaining was new to 3.0, so I wanted to see if they would work together. Apparently, they do not. Yet, the code works fine in the 2.x branch. So, the

[issue6028] Interpreter crashes when chaining an infinite number of exceptions

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: While we seem to disagree on whether this a real bug (and I'll leave it at that), I'll just stress once again that a fatal error is totally different from an uncontrolled crash like a segmentation fault -- as I explained and although you don't

[issue1182143] making builtin exceptions more informative

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Beware that making exceptions hold on arbitrary objects increases the possibility of delayed collection and reference cycles, though. (especially in trunk where the current exception can last after the end of an except block) -- nosy:

[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The precisionist in me insists that at a minimum 'will' should be changed to 'may'. Otherwise either the docs are lying or the implementation has a bug. Or perhaps we could add a footnote about the intentionally divergent behavior of the

[issue6025] documentation of xml.dom.minidom.parse signature is wrong

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No, you shouldn't :) It will be merged automatically. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6025 ___

[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread Steven D'Aprano
Steven D'Aprano st...@pearwood.info added the comment: With respect Georg, given that the behaviour won't be changed, the documentation is simply *wrong*. It's not a matter of telling people don't do this -- somebody, somewhere, is going to rely on the documented behaviour. The docs make the

[issue6033] LOOKUP_METHOD and CALL_METHOD optimization

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Similar results here. With the patch: Richards benchmark (Python) starting... [function entry_point at 0x7fc15b3f5848] finished. Total time for 4 iterations: 1.78 secs Average time per iteration: 443.90 ms Without the patch: Richards benchmark

[issue6035] test_poplib Bus error with gcc-4.4 on OS X

2009-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6035 ___ ___ Python-bugs-list mailing

[issue6035] test_poplib Bus error with gcc-4.4 on OS X

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Even stranger is that the crash happens in debug mode, i.e. without optimizations. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6035 ___

[issue6028] Interpreter crashes when chaining an infinite number of exceptions

2009-05-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: You should be in control of all the code running in your own program This is not the case with applications that embed Python to provide users a way to script the application. All the usages of Py_FatalError I've seen detect

[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-16 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I wouldn't call it *wrong* as much as *not the whole truth*. It is true that if just one key is added or removed, a RuntimeError will be raised. There are probably lots of places in our docs where the whole truth isn't told, but in a way that

[issue6038] Should collections.Counter check for int?

2009-05-16 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6038 ___ ___

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Jean Brouwers
Jean Brouwers mrje...@gmail.com added the comment: Possible, I do not know and had never seen this before. Also, I just installed the latest (free) version 13.0.3 (Intel Build 165) of Stuffit Expander and the problem does *not* occur. But the older Stuffit 11.0.2 (Intel Build 627) still

[issue5956] test_distutils fails for Python 3.1b1 on MacOS X

2009-05-16 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Another good reason not to install Stuffit or Stuffit Expander. These days OS X expands the standard open formats (i.e. .gz, .zip, .tar, etc) all by itself, and there are the standard command line tools as well. If you need Stuffit for actual

[issue6035] test_poplib Bus error with gcc-4.4 on OS X

2009-05-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'm still trying to work out whether the bug is in gcc, Python, or libssl. It was, of course, none of the above. It was a PEBCAK error. I had two versions of openssl: one from macports and one from OS X, and I was using the include files

[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1884 ___

[issue1855] Codepage unset in msilib.init_database()

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch priority: normal - low stage: - test needed type: resource usage - feature request versions: +Python 2.7, Python 3.2 -Python 2.5

[issue6028] Interpreter crashes when chaining an infinite number of exceptions

2009-05-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Well, perhaps something like #1195571 should be added. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6028

[issue2609] Tests fail if ./@test is not writeable

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +r.david.murray priority: - normal versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2609 ___

[issue2931] optparse: various problems with unicode and gettext

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +ezio.melotti, haypo, loewis priority: - normal stage: - patch review type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2931

[issue3001] RLock's are SLOW

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3001 ___ ___ Python-bugs-list

[issue4256] optparse: provide a simple way to get a programmatically useful list of options

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- keywords: +easy priority: - normal stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4256

[issue1778] SyntaxError.offset sometimes wrong

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. -- nosy: +ajaksu2 stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1778

[issue1827] svnversion_init() doesn't support svn urls in sandbox/trunk

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: I'm setting as 'behavior' because ISTM that a bogus svnversion making Python fail to start is a bug. -- nosy: +ajaksu2 priority: normal - low stage: - test needed type: - behavior versions: +Python 3.1 -Python 3.0

[issue1838] Ctypes C-level infinite recursion

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. Maybe we should treat ctypes segfaults that don't involve external C code more strictly as bugs? -- nosy: +ajaksu2 stage: - test needed versions: +Python 3.1 ___ Python

[issue1943] improved allocation of PyUnicode objects

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Collin, Can you test this patch with Unladen Swallow's benchmarks? -- components: +Unicode nosy: +ajaksu2, collinwinter, ezio.melotti, haypo stage: - test needed versions: +Python 3.2 -Python 3.0 ___

[issue2027] Module containing C implementations of common text algorithms

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Extension Modules, Unicode -Library (Lib) priority: normal - low stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue2122] mmap.flush does not check for errors on windows

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - high stage: - test needed versions: +Python 3.1 -Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2122 ___

[issue2295] cPickle corner case - docs or bug?

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2295 ___

[issue2423] test_smtplib.py no longer butt slow

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: What platform is that? I'm sure I don't get such a long runtime for test_smtplib on Linux. Maybe this was fixed by changes in socket or smtplib itself? -- nosy: +ajaksu2 versions: +Python 2.7, Python 3.2 -Python 2.6

[issue2489] Patch for bugs in pty.py

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Fergus, Can you provide a test for the _copy loop bug? IIUC, the spawn change is an RFE and shouldn't land on the maintenance branches (or 3.1). -- nosy: +ajaksu2 priority: - normal stage: - test needed versions: +Python 3.1 -Python

[issue2528] Change os.access to check ACLs under Windows

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Windows priority: - normal stage: - patch review type: - feature request versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue2690] Precompute range length

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - patch review versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2690 ___

[issue2857] add codec for java modified utf-8

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Unicode nosy: +ezio.melotti, haypo priority: - normal stage: - test needed type: - feature request versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Would this break existing code? Are the benefits worth it? -- nosy: +ajaksu2 priority: - normal versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue2973] _ssl compiler warnings

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Would HEADER_ASN1_MAC_H or IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname help? -- nosy: +ajaksu2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2973

[issue3030] compiler warning on HP-UX

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - low type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3030 ___ ___

[issue2122] mmap.flush does not check for errors on windows

2009-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2122 ___ ___ Python-bugs-list mailing

[issue1943] improved allocation of PyUnicode objects

2009-05-16 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Daniel, which patch? freelists2.patch or unialloc4.patch? If these are targeted py3k (judging by the Versions selector above), none of Unladen Swallow's benchmarks work under 3k (we're focusing on 2.x). --

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2009-05-16 Thread Alexander Solovyov
Changes by Alexander Solovyov pira...@piranha.org.ua: -- nosy: +piranha ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1424152 ___ ___

[issue1943] improved allocation of PyUnicode objects

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Daniel, which patch? freelists2.patch or unialloc4.patch? If these are targeted py3k (judging by the Versions selector above), none of Unladen Swallow's benchmarks work under 3k (we're focusing on 2.x). They target py3k indeed. Also, they need

[issue6042] Document and slightly simplify lnotab tracing

2009-05-16 Thread Jeffrey Yasskin
New submission from Jeffrey Yasskin jyass...@gmail.com: lnotab-based tracing is very complicated and isn't documented very well. There were at least 3 comment blocks purporting to document co_lnotab, and none did a very good job. This patch unifies them into Objects/lnotab_notes.txt which tries

[issue3401] wsgiref can't handle unicode environments

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3401 ___ ___ Python-bugs-list

[issue3071] The ValueError raised by failing to unpack sequence should have more information.

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: What would happen with infinite iterables? import itertools [foo] = itertools.count() -- nosy: +ajaksu2 stage: - test needed versions: +Python 2.7, Python 3.2 -Python 2.3, Python 2.4, Python 2.5 ___

[issue3132] implement PEP 3118 struct changes

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Travis, Do you think you can contribute for this to actually land in 3.2? Having a critical issue slipping from 3.0 to 3.3 would be bad... Does this supersede issue 2395 or is this a subset of that one.? -- nosy: +ajaksu2 stage: - test

[issue2395] [Py3k] struct module changes of PEP 3118

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: We're in 3.1 beta. Can you review the status of this implementation? -- dependencies: +implement PEP 3118 struct changes nosy: +ajaksu2 priority: - normal stage: - test needed versions: +Python 3.1 -Python 3.0

[issue2397] Backport 3.0 struct module changes to 2.6

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: This risks missing 2.x if nobody adopts the implementation of PEP 3118 in 3.x: 2.7 might be the last 2.x release. -- nosy: +ajaksu2 priority: - low stage: - test needed type: - feature request versions: +Python 2.7 -Python 2.6

[issue3163] module struct support for ssize_t and size_t

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - patch review versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3163 ___

[issue3232] Wrong str-bytes conversion in Lib/encodings/idna.py

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 3.1 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3232 ___

[issue3243] Support iterable bodies in httplib

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243 ___

[issue3246] configure: WARNING: sys/socket.h: present but cannot be compiled

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: ric, Can you confirm this for 2.6? -- nosy: +ajaksu2 priority: - normal stage: - test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue3293] incorrect comments for PyObject_ReleaseBuffer

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Travis, How should code, comment and PEP be reconciled? -- nosy: +ajaksu2 stage: - test needed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3293

[issue3338] cPickle segfault with deep recursion

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +test_cpickle crash on AMD64 Windows build priority: - normal versions: +Python 2.6 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3338

[issue3353] make built-in tokenizer available via Python C API

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3353 ___

[issue3354] Improve error reporting for the argument parsing API

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3354 ___

[issue3356] some tests fail with 'make EXTRA_CFLAGS=-DPy_DEBUG' (test_distutils, test_set)

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Build priority: high - low title: some tests fail with Py_DEBUG (test_distutils, test_set) - some tests fail with 'make EXTRA_CFLAGS=-DPy_DEBUG' (test_distutils, test_set) versions: +Python 3.1 -Python 3.0

[issue3435] trace.py tries to get coverage data from non Python files

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - test needed versions: +Python 2.6, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3435 ___

[issue5380] pty.read raises IOError when slave pty device is closed

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Uh, a file descriptor returned by openpty() doesn't satisfy S_ISFIFO(). It's just reported as a character device by fstat (st_mode is 0o20666). Perhaps the best thing is to just let the error propagate, since after all the user tries to read more

[issue3293] incorrect comments for PyObject_ReleaseBuffer

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: PyObject_ReleaseBuffer() is dead actually. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3293

[issue3471] PyObject_GetAttr() to get special methods

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: This snippet is fixed (returns False), see issue 2325: import abc isinstance(5, abc.ABCMeta) The general PyObject_GetAttr issue should be reviewed. -- components: +Interpreter Core nosy: +ajaksu2, benjamin.peterson priority: - normal

[issue3486] bytes.join does not accept a sequence of bytearrays

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: How about adding a note on this to 2.6 docs and be done with it? -- nosy: +ajaksu2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3486 ___

[issue3489] add rotate{left,right} methods to bytearray

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3489 ___

[issue3451] Asymptotically faster divmod and str(long)

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +haypo stage: - patch review versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3451 ___

[issue3527] Py_WIN_WIDE_FILENAMES removal

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- components: +Windows priority: - normal stage: - patch review type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue3532] bytes.tohex method

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Looks like transform/untransform went nowhere? -- nosy: +ajaksu2, lemburg priority: - normal stage: - patch review versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue3527] Py_WIN_WIDE_FILENAMES removal

2009-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3527 ___ ___ Python-bugs-list mailing

[issue3541] bsddb memory leak on ubuntu

2009-05-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk. -- nosy: +ajaksu2, jcea priority: - normal stage: - test needed versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3541

  1   2   >