[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-25 Thread Ned Deily
Ned Deily n...@acm.org added the comment: A similar issue on StackOverflow reminded me that Distutils has support for the ARCHFLAGS environment variable on Mac OS X which you can use when building a C extension module to override the ARCH values that Python was built with. I don't have Xcode

[issue11665] Regexp findall freezes

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, mrabarnett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11665 ___ ___

[issue11669] Clarify Lang Ref Compound statements footnote

2011-03-25 Thread Graham Wideman
New submission from Graham Wideman initcont...@grahamwideman.com: In Language Ref section 7 Compound Statements: http://docs.python.org/release/3.1.3/reference/compound_stmts.html there's a footnote regarding what happens to unhandled exceptions in a try-except statement: [1] The exception is

[issue11667] 'configure' script overrides users setting of CFLAGS

2011-03-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: You should override the OPT variable as well. I tried: $ CFLAGS= OPT=-fwrapv -O3 -Wall ./configure Then make shows lines like: gcc -pthread -c -fno-strict-aliasing -DNDEBUG -fwrapv -O3 -Wall -I. -IInclude -I./Include

[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

2011-03-25 Thread Thomas Wouters
Thomas Wouters tho...@python.org added the comment: I'm not surprised this test takes up more memory... It claims to take up 9 times the test size in memory, with a minimum useful test size of 1G. With a limit of 12G that would make the test size about 1.33G. However, it then proceeds to

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: The documentation for configparser.RawConfigParser.read_file() states: Read and parse configuration data from the file or file-like object in f (only the readline() method is used). This was true in Python 3.1 and before. However in 3.2

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: By the same token, readfp is now deprecate in favor of the new spelling read_file. That change *is* mentioned in configparser. If I'm touching What's New In Python 3.2, mind if I add a mention of that too? --

[issue11649] startElementNS in xml.sax.saxutils.XMLGenerator ignored encoding

2011-03-25 Thread Gunnar Aastrand Grimnes
Gunnar Aastrand Grimnes gromg...@gmail.com added the comment: I came across the bug when trying to write XML documents to StringIO objects. This does not work, since the output contains a mix of unicode and str objects, and StringIO gets confused. A better alternative is to use io.BytesIO,

[issue11667] 'configure' script overrides users setting of CFLAGS

2011-03-25 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: Thank you. That solved it, so you can close this. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11667 ___

[issue11667] 'configure' script overrides users setting of CFLAGS

2011-03-25 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11667 ___ ___

[issue6006] ffi.c compile failures on AIX 5.3 with xlc

2011-03-25 Thread David Kirkby
David Kirkby david.kir...@onetel.net added the comment: I've just downloaded libffi-3.0.9 (the latest) and it builds with no problems on my AIX 5.3 system. Is there any chance of the version of libffi in Python being updated? -- nosy: +drkirkby

[issue11671] Potential misuse of wsgiref.headers.Headers

2011-03-25 Thread Felix Gröbert
New submission from Felix Gröbert groeb...@google.com: As noted by secur...@python.org's response I'm filing this bug here. In wsgiref.headers.Headers it is possible to include headers which contain a newline (i.e. \n or \r) either through add_header or __init__. It is not uncommon that

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-03-25 Thread Davide Rizzo
Davide Rizzo sor...@gmail.com added the comment: The bugs seems not to be limited to the REPL. # Python 2.6 with readline on Mac OS X $ python -c raw_input() ^Z [1]+ Stopped python -c raw_input() $ fg python -c raw_input() Traceback (most recent call last): File string, line

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 1402c719b7cf by Ezio Melotti in branch '3.1': #2650: Refactor the tests for re.escape. http://hg.python.org/cpython/rev/1402c719b7cf New changeset 9147f7ed75b3 by Ezio Melotti in branch '3.1': #2650: Add tests with non-ascii chars

[issue11654] errors in atexit hooks don't change process exit code

2011-03-25 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Comparing to the atexit() in C, I think this is the wrong behavior. I's weird that error in atexit does't change process exit code while error in common python code does. There should be a fix. -- nosy: +ysj.ray

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d52b1faa7b11 by Ezio Melotti in branch '2.7': #2650: Refactor re.escape and its tests. http://hg.python.org/cpython/rev/d52b1faa7b11 -- ___ Python tracker rep...@bugs.python.org

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I did a few more tests and using a re.sub seems indeed slower (the implementation is just 4 lines though, and it's more readable): wolf@hp:~/dev/py/3.1$ ./python -m timeit -s 'import re,string; escape_pattern =

[issue11650] Faulty RESTART/EINTR handling in Parser/myreadline.c

2011-03-25 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Fri, Mar 25, 2011 at 12:25:21PM +, Davide Rizzo wrote: Some remarks here: 1) the patch does fix it. Yes! I can't comment the rest except for what .. function:: input([prompt]) states, which Davide surely have read

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The attached patch (issue2650.diff) adds '_' to the list of chars that are not escaped. -- keywords: +patch Added file: http://bugs.python.org/file21390/issue2650.diff ___ Python tracker

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thinking about this some more, I now think it is incorrect that an 8bit header causes getitem to return a Header object. I think instead it should be returning the stringified version of the header, including the unknown-8bit encoding.

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It is reasonably likely that the attached patch will fix this. It also removes 3 seconds of fixed overhead from the test. -- keywords: +patch nosy: +r.david.murray stage: - patch review versions: +Python 2.7, Python 3.1, Python

[issue11647] function decorated with a context manager can only be invoked once

2011-03-25 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Agreed with nick's idea, the implicitly recreation of the context managers would confuse users. How about removing the generator must yield exactly one value restriction of @contextlib.contextmanage? Then if I want a generator to be used as a

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Fri, Mar 25, 2011 at 01:51:46PM +, R. David Murray wrote: I now think it is incorrect that an 8bit header causes getitem to return a Header object. I think instead it should be returning the stringified version of the

[issue11654] errors in atexit hooks don't change process exit code

2011-03-25 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: A straight forward fix maybe making the interpreter exit code a static global variable and change it in Modules/atexitmodule.c:atexit_callfuncs() in the case of errors occurred. -- ___ Python tracker

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I documented that? Where? It is true that the fact that all headers will be objects when using the email6 API was one reason I did it this way, but in hindsight I don't think it was the right choice. However, I/we may now be stuck

[issue11647] function decorated with a context manager can only be invoked once

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Agreed with nick's idea, the implicitly recreation of the context managers would confuse users. Uh, why would it? That's exactly what I expect the decorator to do, and I was astonished to discover that it *doesn't*. --

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Fri, Mar 25, 2011 at 02:29:24PM +, R. David Murray wrote: I documented that? Where? Changeset: 67447:cad1811d9e13 user:R. David Murray rdmur...@bitdance.com date:Fri Jan 07 23:25:30 2011 + summary:

[issue11647] function decorated with a context manager can only be invoked once

2011-03-25 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Agreed with nick's idea, the implicitly recreation of the context managers would confuse users. Uh, why would it? That's exactly what I expect the decorator to do, and I was astonished to discover that it *doesn't*. Because there is no

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Heh. OK, so I think we're stuck with it, then. It does mean I don't have to handle certain other edge cases, and can punt more convenient handling of them into email6. I'll make the patch for decode_header instead, then. --

[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: To complement Terry’s closing message: bdist_rpm is frozen in distutils, removed in distutils2/packaging, but has a new life at https://bitbucket.org/tarek/pypi2rpm/ -- nosy: +eric.araujo ___ Python

[issue1597850] Cross compiling patches for MINGW

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.3 -3rd party, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1597850 ___

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, here is the patch. -- keywords: +patch Added file: http://bugs.python.org/file21392/decode_Header.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11584

[issue11647] function decorated with a context manager can only be invoked once

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Because there is no *OBVIOUS* code or sign which can illustrate that context manager changes from a one-shot to a reusable. I'm talking about the decorator, not the context manager. Surely there is a way for the decorator to instantiate a new

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Fri, Mar 25, 2011 at 03:04:29PM +, R. David Murray wrote: OK, here is the patch. Works fine at a first glance and for me - i see you didn't stuck :/. Say, though not belonging here, can you think of problems incurred in

[issue3754] cross-compilation support for python build

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3754 ___

[issue3754] cross-compilation support for python build

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I see some “fix for issue #NNN is bogus” in your patch: would you open separate bug reports for those? A diff file is not a very useful way to report bugs or express opinions wink. -- ___ Python

[issue8982] argparse docs cross reference Namespace as a class but the Namespace class is not documented

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8982 ___ ___

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, on my new setup (Windows 7 VM with a Python checkout located on an SMB drive), the test sometimes passes and sometimes fails, regardless of the patch. I suspect that maybe maildir requires atomicity guarantees that a network FS won't

[issue1006238] cross compile patch

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #3754. Please remember that the bug tracker is meant to develop Python, not offer support about autoconf or patch(1). -- nosy: +eric.araujo versions: +Python 3.3 -Python 3.2 ___ Python

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I don't think this is worthy of being in whatsnew. Feel free to update the other docs though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11670

[issue10914] Python sub-interpreter test

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Note that I think it would be a perfectly reasonable feature request to better isolate and improve the compiler in packaging/distutils2. (This does not mean this issue should be delayed.) -- ___

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: docs@python - lukasz.langa nosy: +lukasz.langa versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11670 ___

[issue11671] Security hole in wsgiref.headers.Headers

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - pje nosy: +pje stage: - needs patch title: Potential misuse of wsgiref.headers.Headers - Security hole in wsgiref.headers.Headers versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2

[issue11669] Clarify Lang Ref Compound statements footnote

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review, patch stage: - patch review versions: -Python 2.5, Python 2.6, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11669

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-25 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Let's try the Remote hg repo feature. -- hgrepos: +8 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11393 ___

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-25 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- keywords: +patch Added file: http://bugs.python.org/file21393/ec274420e9e2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11393

[issue11666] Test pydoc to display full help for named tuples

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: LGTM. I’m not sure I’d add it in stable versions, though. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11666 ___

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Theoretically there should be no way to get bytes into that code path. I'm sure there's a way if you try hard enough (I haven't tried directly assigning a byte string as a header value, for example), but they would be broken uses of

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-25 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, here is a full patch tested on Linux and Windows: - Add faulthandler module (code, doc, tests) as a builtin module - Add -X faulthandler=1 command line option and PYTHONFAULTHANDLER=1 en var to enable the fault handler at

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-25 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (Reminder for me: add something to Doc/whatsnew/3.3.rst and Misc/NEWS) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11393

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That could be, certainly. The code is depending on the mtime having a resolution of at least one second. Try making the constant 61 instead of 60. If that doesn't work, try putting the mtime back a lot farther and see if that makes

[issue11340] test_distutils fails

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you run “./python -m distutils.tests.test_archive_util”? We may get more output. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11340

[issue11665] Regexp findall freezes

2011-03-25 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: Alex is correct. This part: [^]* can match an empty string, and it's nested with a repeated group. It stalls, repeatedly matching an empty string. Incidentally, my regex implementation (available on PyPI) returns [].

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Ouch, this would be my fault. I agree with Raymond, at this point I think we should only update the docs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11670

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, 61 seems to work. I don't understand the comment about one-second granularity, shouldn't it be one-minute? (or why do you need 61?) -- ___ Python tracker rep...@bugs.python.org

[issue5845] rlcompleter should be enabled automatically

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ned, does readline.read_init_file() with libedit? -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___

[issue11664] Add patch method to unittest.TestCase

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

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hmm. You are right, I wasn't thinking clearly, and I copied that mtime setting call from another test. Now I have no idea why 61 would work, unless the clock between your virthost and your smb server is off by a minute? --

[issue11640] Shelve references globals in its __del__ method

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

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm. You are right, I wasn't thinking clearly, and I copied that mtime setting call from another test. Now I have no idea why 61 would work, unless the clock between your virthost and your smb server is off by a minute? No, they seem

[issue5845] rlcompleter should be enabled automatically

2011-03-25 Thread Ned Deily
Ned Deily n...@acm.org added the comment: readline.read_init_file() does work with libedit. The directives read have to be in libedit format. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Could you print out the mtime values that are being set, and the value of self._mbox._last_read? Or, rather, print out the result of calls to os.path.getmtime on the two directories after the mtime is changed. --

[issue11600] PY_CFLAGS and PY_CPPFLAGS inconsistent

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ditto for sysconfig. -- nosy: +benjamin.peterson, jcea, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11600 ___

[issue11614] import __hello__ is broken in Python 3

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What’s import __hello__? I don’t have it in any version from 2.4 to 3.2. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11614

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: get_makefile_filename also fails when run from a checkout. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6087 ___

[issue11667] 'configure' script overrides users setting of CFLAGS

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is this worth a README or doc update? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11667 ___

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: before: os.path.getmtime('cur') = 1301075411.6942866 before: os.path.getmtime('new') = 1301075411.693287 after: os.path.getmtime('cur') = 1301075347.38 after: os.path.getmtime('new') = 1301075347.38 self._box._last_read = 1301075407.365

[issue11614] import __hello__ is broken in Python 3

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Okay, it doesn’t work with -m __hello__, but using -c import __hello__ I can see the message in all versions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11614

[issue10617] Collections ABCs can’t be linked to

2011-03-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I put the list under the table and grouped a few more ABCs. If this patch is OK I'll commit it. -- Added file: http://bugs.python.org/file21394/issue10617-2.diff ___ Python tracker

[issue11071] What's New review comments

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: “unencoded” is still here. -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hmm. 411-61=350. Three seconds difference looks a little odd. But doesn't explain 60 vs 61 making the difference in the test. Can you change it back to 60 (or even less) and see what the values look like when the test fails? It is

[issue10617] Collections ABCs can’t be linked to

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file21395/10617-2.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10617 ___

[issue11614] import __hello__ is broken in Python 3

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11614 ___ ___

[issue10617] Collections ABCs can’t be linked to

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What about making the class names in the table not links? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10617 ___

[issue11671] Security hole in wsgiref.headers.Headers

2011-03-25 Thread Phillip J. Eby
Phillip J. Eby p...@telecommunity.com added the comment: It is not uncommon that developers provide web applications to the public in which the HTTP response headers are not filtered for newlines but are controlled by the user. Really? Which applications, and which response headers?

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm. 411-61=350. Three seconds difference looks a little odd. But doesn't explain 60 vs 61 making the difference in the test. Can you change it back to 60 (or even less) and see what the values look like when the test fails? Hmm, 60

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: All right, so how about I set the add factor to, say, 5, so that if things are mostly in sync it will succeed, and otherwise just ignore your failures :) -- ___ Python tracker

[issue1006238] cross compile patch

2011-03-25 Thread Jacob Godserv
Jacob Godserv jacobgods...@gmail.com added the comment: I have two questions: Will a new developer be assigned to this bug? And, why are we wasting comments and grave-digging five-year-old discussions? -- ___ Python tracker rep...@bugs.python.org

[issue11664] Add patch method to unittest.TestCase

2011-03-25 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11664 ___ ___ Python-bugs-list

[issue1006238] cross compile patch

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Will a new developer be assigned to this bug? If someone is willing to take charge, yes. We’re all volunteers, with varying free time and skill sets. For example, I’m not an expert about compilation, so I try to learn thanks to those issues.

[issue11644] Cross-link 2to3 documentation, what’s new and pyporting howto

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also the fifth piece in http://docs.python.org/release/3.2/howto/pyporting#universal-bits-of-advice Resources are here, but lack links. -- resolution: out of date - stage: - needs patch status: pending - open title: 2to3

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

2011-03-25 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11572 ___

[issue1006238] cross compile patch

2011-03-25 Thread Mike Frysinger
Mike Frysinger vap...@users.sourceforge.net added the comment: i really dont understand your point. python uses autoconf and therefore any questions about python's usage of autoconf to accomplish cross-compiles is completely valid here. no one was asking for general autoconf help.

[issue1006238] cross compile patch

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It seemed to me that there were quite a number of messages asking about how to apply the patch and what to do after the configure step. -- ___ Python tracker rep...@bugs.python.org

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

2011-03-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the updated patch. -t = getattr(types, CodeType, None) -if t is not None: -d[t] = _copy_immutable +d[types.CodeType] = _copy_immutable What was the use case for this again? The defunct restricted mode, another VM or something

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b21fdfa0019c by R David Murray in branch '3.2': #11584: Since __getitem__ returns headers, make decode_header handle them. http://hg.python.org/cpython/rev/b21fdfa0019c New changeset 12e39cd7a0e4 by R David Murray in branch

[issue11584] email.decode_header fails if msg.__getitem__ returns Header object

2011-03-25 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11584

[issue11071] What's New review comments

2011-03-25 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a805d4415e34 by Raymond Hettinger in branch '3.2': Issue #11071: Fix whatsnew description of O/S access to raw bytes. http://hg.python.org/cpython/rev/a805d4415e34 New changeset df1a1774a544 by Raymond Hettinger in branch

[issue11071] What's New review comments

2011-03-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11071 ___ ___

[issue11672] multiprocessing.Array fails if size parameter is a long

2011-03-25 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: [From a problem encountered by an EPD user, analyzed by Robert Kern] There appears to be an if isinstance(size_or_initializer, (int, long)): check in the Python 2.x source for multiprocessing.RawArray. As a result, the following

[issue11673] RawArray does not accept long

2011-03-25 Thread Robert Kern
New submission from Robert Kern robert.k...@gmail.com: The constructor for multiprocessing.RawArray() takes an argument that is either an integer size or a sequence to initialize the contents. To determine if the argument is a size, it uses isinstance(x, int). This means that integers that

[issue11672] multiprocessing.Array fails if size parameter is a long

2011-03-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Duplicate of issue 11673 :-) -- resolution: - duplicate superseder: - RawArray does not accept long ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11672

[issue11672] multiprocessing.Array fails if size parameter is a long

2011-03-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11672 ___ ___

[issue11673] RawArray does not accept long

2011-03-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the patch. Are there practical cases where the operator.index check is more useful that the isinstance(..., (int, long)) check that you originally proposed (off-tracker)? While I agree that it's the right fix in principle, the

[issue11673] RawArray does not accept long

2011-03-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: - mark.dickinson stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11673 ___

[issue11673] RawArray does not accept long

2011-03-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11673 ___ ___ Python-bugs-list

[issue11659] Fix ResourceWarning in test_subprocess

2011-03-25 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Looks good to me. [...] but I couldn't find any patches that fix this specific issue. Well, test_select_unbuffered() was only introduced a few days ago (changeset cb148da52c47), so I'm not surprised :) -- nosy: +nvawda

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 9a184d8211f5 by R David Murray in branch '3.1': #9557: eliminate 3 seconds of static overhead from test_mailbox. http://hg.python.org/cpython/rev/9a184d8211f5 New changeset 268ab32a89a9 by R David Murray in branch '3.2': Merge

[issue9557] test_mailbox failure under a Windows VM

2011-03-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Antoine agreed in IRC that this was an acceptable closure. -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5845] rlcompleter should be enabled automatically

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- hgrepos: +9 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___ ___ Python-bugs-list mailing list

  1   2   >