[issue11734] Add half-float (16-bit) support to struct module

2011-04-04 Thread Eli Stevens
Eli Stevens added the comment: I see the distinction about the rounding error now. Thanks for clarifying; I've added more tests as suggested. Looking at _struct.c, line 2085: /* Skip float and double, could be "unknown" float format */

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-04-04 Thread Jesse Keating
Jesse Keating added the comment: I can duplicate this using python-2.7-8.fc14.1 on Fedora 14, and using map_async with the pool. -- nosy: +jkeating ___ Python tracker ___ _

[issue3905] subprocess failing in GUI applications on Windows

2011-04-04 Thread Denver Coneybeare
Denver Coneybeare added the comment: I just re-tested this in cpython trunk at changeset and the issue does not appear to be reproducible. I first launched IDLE by running "python lib\idlelib\idle.py". Then I entered the following: Python 3.3a0 (default, Apr 2 2011, 21:55:40) [MSC v.1500 3

[issue5120] Disabling test_ttk_guionly on mac

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: ttk_guionly creates a button (ttk.Button()) which calls _load_tile(), which crashs on: master.tk.eval('package require tile') Code of the function: - def _load_tile(master): if _REQUIRE_TILE: import os tilelib = os.e

[issue5120] Disabling test_ttk_guionly on mac

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: Recent crash on "PPC Tiger 3.x": [188/354] test_ttk_guionly Fatal Python error: Segmentation fault Traceback (most recent call first): File "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/tkinter/ttk.py", line 47 in _load_tile File "

[issue11727] Add a --timeout option to regrtest.py using the faulthandler module

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: regrtest default timeout is now 30 minutes. I opened specific issues for each failure: * test_sendall_interrupted() of test_socket: issue #11753 * test_itimer_real() of test_signal: issue #11755 * test_threadsignals: issue #11768 * test_notify() of test_th

[issue11769] test_notify() of test_threading hang on "x86 XP-4 3.x":

2011-04-04 Thread STINNER Victor
New submission from STINNER Victor : Timeout of 15 minutes on "x86 XP-4 3.x": ... [334/354] test_threading Thread 0x024c: File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\threading.py", line 235 in wait File "D:\cygwin\home\db3l\buildarea\3.x

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Attaching cleaned-up version of the patch, making it more like the pure python version: * Made 'obj' a member so it is an accessible field * Accept keyword arguments * Create arg tuple like was done in the Py2.7 code * Create the zero only once * Expanded t

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Attaching timing code. Results with and without patch (as cleaned-up): 7.1 seconds without patch 3.2 seconds with patch -- Added file: http://bugs.python.org/file21537/time_cmp_to_key.py ___ Python tracker

[issue11768] test_signals() of test_threadsignals failure on Mac OS X Tiger

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset d14eac872a46 by Victor Stinner in branch 'default': Issue #11768: add debug messages in test_threadsignals.test_signals http://hg.python.org/cpython/rev/d14eac872a46 -- nosy: +python-dev ___ Python track

[issue2736] datetime needs an "epoch" method

2011-04-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Apr 4, 2011 at 5:42 PM, Jay Taylor wrote: .. > I couldn't agree more with ping's position on this. Adding votes to a tracker issue without a working patch will not move it any further. There are several committers besides me in the nosy list in

[issue11768] test_signals() of test_threadsignals failure on Mac OS X Tiger

2011-04-04 Thread STINNER Victor
New submission from STINNER Victor : test_threadsignals hangs on "x86 Tiger 3.x" and "PPC Tiger 3.x": - [279/354] test_threadsignals Thread 0xa000d000: File "/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_threadsignals.py", line 46 in test_signals File "/Users

[issue7805] test_multiprocessing failure

2011-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9709] test_distutils warning: initfunc exported twice on Windows

2011-04-04 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10785] parser: store the filename as an unicode object

2011-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: > Hum, I'm not sure that my patch works if the locale encoding is not > UTF-8: import.c manipulates path in the filesystem encoding, whereas > PyTokenizer_FindEncodingFilename() expects UTF-8 filename. Thanks to my work on #3080, the import machinery (and other

[issue9709] test_distutils warning: initfunc exported twice on Windows

2011-04-04 Thread Santoso Wijaya
Santoso Wijaya added the comment: A workaround would be to define an arbitrary macro when building with distutils. For example, in setup.cfg: [build_ext] define = _DISTUTILS Then in some main header file(s) in your project: #ifdef _DISTUTILS #undef PyMODINIT_FUNC #define

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b8d625eb6e4 by Victor Stinner in branch 'default': Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. http://hg.python.org/cpython/rev/7b8d625eb6e4 -- nosy: +python-dev ___ Python tr

[issue10785] parser: store the filename as an unicode object

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e9dc970ac0e by Victor Stinner in branch 'default': Issue #10785: Store the filename as Unicode in the Python parser. http://hg.python.org/cpython/rev/6e9dc970ac0e -- nosy: +python-dev ___ Python tracker

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: michael.foord -> ezio.melotti components: +Library (Lib) nosy: +rhettinger stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file21536/issue11763-2.diff ___ Python tracker

[issue11767] Maildir iterator leaks file descriptors by default

2011-04-04 Thread Brendan Dolan-Gavitt
New submission from Brendan Dolan-Gavitt : The default constructor for Maildir is rfc822.Message. This means that when iterating over a Maildir mailbox instantiated with default settings, the Mailbox class will return self._factory(self.get_file(key)), leaking the file descriptor returned by g

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Rather than hardwiring `self.addCleanup(lambda: setattr(self, '_diffThreshold', 2**16))`, you should retrieve the previous value. -- ___ Python tracker __

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: Attached patch adds a _diffThreshold attribute of 2**16 and uses _baseAssertEqual whenever one of the two string is longer than 2**16 chars. -- keywords: +patch Added file: http://bugs.python.org/file21535/issue11763.diff ___

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread Stefan Krah
Stefan Krah added the comment: For the new FreeBSD bot, the issue was simply insufficient swap space. With 1GB of memory and 2GB of swap test_zlib runs fine. -- ___ Python tracker _

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, at this point I think we could simply skip the test on BSDs and OS X. The tested functionality is cross-platform, so testing under a limited set of systems should be ok. -- ___ Python tracker

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2011-04-04 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: The new FreeBSD buildbot had a sporadic SIGKILL in http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1/steps/test/logs/stdio (apparently, faulthandler didn't dump a traceback) By the way, we can be fairly certain now that the

[issue11761] fragile tests in test_gc

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed now. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11754] Changed test to check calculated constants in test_string.py

2011-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Being rather circular, that doesn't seem to be a particularly useful test. (Not that the original is either.) It'd be more "correct" if you actually tested that hex numbers are contained within string.hexdigits, for example. -- nosy: +benjamin.pete

[issue11734] Add half-float (16-bit) support to struct module

2011-04-04 Thread Mark Wiebe
Mark Wiebe added the comment: There's no disagreement, since they're different cases. Taking an arbitrary double, rounding to float, then rounding to half definitely has double-rounding issues. (And I would recommend constructing an example to add to the test case to make sure you understand

[issue11765] test_faulthandler failure

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: 8da8cd1ba9d9 should fix this issue. Please reopen it if it doesn't solved it. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue11765] test_faulthandler failure

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8da8cd1ba9d9 by Victor Stinner in branch 'default': Issue #11765: don't test time.sleep() in test_faulthandler http://hg.python.org/cpython/rev/8da8cd1ba9d9 -- nosy: +python-dev ___ Python tracker

[issue2736] datetime needs an "epoch" method

2011-04-04 Thread Jay Taylor
Jay Taylor added the comment: I couldn't agree more with ping's position on this. It is against the spirit of what Python has set out to be, and the blocking needs to stop. Any chance we could get a .epoch() function into python 2.7 as well? -- nosy: +Jay.Taylor

[issue11734] Add half-float (16-bit) support to struct module

2011-04-04 Thread Eli Stevens
Eli Stevens added the comment: There seems to be some disagreement about the double-rounding issue; Mark Dickinson posted on python-ideas that he doesn't think that there is one. If possible, I think that removing code paths that aren't needed are generally a good thing, especially if I'm go

[issue11765] test_faulthandler failure

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: I wrote the assertion while dump_tracebacks_later() was implemented using SIGALRM + alarm(timeout). A simple fix for this issue is just to remove the assertion. But... I'm curious, and I would like to understand. The problem is on the following code: tim

[issue11766] test_multiprocessing failure (test_pool_worker_lifetime)

2011-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : This sometimes happens on the buildbots: test test_multiprocessing failed -- Traceback (most recent call last): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_multiprocessing.py", line 1191, in test_pool_worker_lifetime self

[issue2193] Cookie Colon Name Bug

2011-04-04 Thread BM
BM added the comment: To Carsten Klein: It would be great if you turn your eyes on and try to read more carefully before posting something here. NAME=VALUE NAME is the cookie’s name, and VALUE is its value. Thus the header Set-Cookie: id=waldo sets a cookie with

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm working on cleaning-up (and speeding-up) the patch. I'll post new timings once that's done. -- ___ Python tracker ___

[issue11619] On Windows, don't encode filenames in the import machinery

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b7f484bab6e by Victor Stinner in branch 'default': Issue #11619: _PyImport_LoadDynamicModule() doesn't encode the path to bytes http://hg.python.org/cpython/rev/1b7f484bab6e -- nosy: +python-dev ___ Pyt

[issue11765] test_faulthandler failure

2011-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4334/steps/test/logs/stdio == FAIL: test_dump_tracebacks_later (test.test_faulthandler.FaultHandlerTests) -

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Here are some example performance results: def cmp(x, y): return y - x sorted(range(1, 1000), key=cmp_to_key(cmp)) ''' C version: real0m19.994s user0m8.053s sys 0m1.044s Python version: real0m28.825s user0m28.046s sys

[issue11731] Simplify email API via 'policy' objects

2011-04-04 Thread R. David Murray
R. David Murray added the comment: Try again with a patch going in the expected direction :) -- Added file: http://bugs.python.org/file21534/policy.patch ___ Python tracker ___

[issue11731] Simplify email API via 'policy' objects

2011-04-04 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21533/policy.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-04-04 Thread Michael Foord
New submission from Michael Foord : In Python 3 a metclass can create a class __dict__ that is not a true dictionary. This can trigger code execution when accessing __dict__ members. getattr_static should not access them directly but do so using dict methods directly for dict subclasses and sk

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-04-04 Thread Santoso Wijaya
Santoso Wijaya added the comment: Another workaround is by adding the linker argument to Extension() as extra_link_args: extra_link_args=['/MANIFEST'] -- ___ Python tracker ___

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

2011-04-04 Thread Christoph Gohlke
Changes by Christoph Gohlke : -- nosy: +cgohlke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Michael Foord
New submission from Michael Foord : >>> s = "x" * (2**29) >>> case.assertEqual(s + "a", s + "b") Traceback (most recent call last): File "", line 1, in File "/home/antoine/cpython/default/Lib/unittest/case.py", line 643, in assertEqual assertion_func(first, second, msg=msg) File "/home/antoin

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

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Is there any workaround we can use in setup.py to set correct version for build_msi subcommand only? -- nosy: +techtonik ___ Python tracker

[issue11731] Simplify email API via 'policy' objects

2011-04-04 Thread R. David Murray
R. David Murray added the comment: For some reason the create patch button isn't working (perhaps because I'm using a named branch?), so here is a patch representing the current state of the feature branch. -- keywords: +patch Added file: http://bugs.python.org/file21533/policy.patch

[issue4431] Distutils MSVC doesn't create manifest file (with fix)

2011-04-04 Thread Santoso Wijaya
Santoso Wijaya added the comment: And also with an extension module I'm trying to build with Python-2.7.1 AMD64. Schnur's suggestion fixes it. -- nosy: +santa4nt ___ Python tracker

[issue11734] Add half-float (16-bit) support to struct module

2011-04-04 Thread Mark Wiebe
Mark Wiebe added the comment: The patch currently assumes IEEE 754 with byte-order matching the integer type. I see that pyconfig.h defines three possible cases when IEEE 754 doubles are supported, DOUBLE_IS_LITTLE_ENDIAN_IEEE754, DOUBLE_IS_BIG_ENDIAN_IEEE754, and DOUBLE_IS_ARM_MIXED_ENDIAN_I

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch now committed, thank you! Since the patch adds a new API (GzipFile.read1()), I think it's better not to backport it. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: behavior -> feature request versio

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9775d67c9af9 by Antoine Pitrou in branch 'default': Issue #10791: Implement missing method GzipFile.read1(), allowing GzipFile http://hg.python.org/cpython/rev/9775d67c9af9 -- nosy: +python-dev ___ Pytho

[issue10339] test_lib2to3 leaks

2011-04-04 Thread Sandro Tosi
Sandro Tosi added the comment: closing like issue10023 -- nosy: +sandro.tosi resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue10023] test_lib2to3 leaks under 3.1

2011-04-04 Thread Sandro Tosi
Sandro Tosi added the comment: As discussed with Ezio on IRC, this doesn't apply anymore in 3.2 nor in 3.3, so we guess we can simply mark is already fixed in a later version. -- nosy: +sandro.tosi resolution: -> out of date status: open -> closed

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I was only aiming for Py3.3. If someone wanted to push for a backport to 3.2, it would be up to the release manager to decide whether a performance booster would be worth the risk of introducing a bug in a point release. ISTM that if someone really care

[issue11761] fragile tests in test_gc

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 36d92e923a1a by Antoine Pitrou in branch '3.1': Issue #11761: make tests for gc.get_count() less fragile http://hg.python.org/cpython/rev/36d92e923a1a New changeset 5daf9a8dc4e8 by Antoine Pitrou in branch '3.2': Issue #11761: make tests for gc.get

[issue10175] vs version for win32 compilation of extension modules is undocumented.

2011-04-04 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11707] Create C version of functools.cmp_to_key()

2011-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: [Question from python-list] Would a C version only be for 3.3 or backported to 3.2 and 2.7. The rationale for backport to 2.7 is that .cmp_to_key was added to 2.7 to aid transition to 3.x. A faster version would make use in 2.7 more inviting. I understand tha

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-04 Thread Nadeem Vawda
Nadeem Vawda added the comment: > Something looks fishy: what happens if size is -1 and EOFError is not raised? You're right - I missed that possibility. In that case, extrasize and offset get updated incorrectly, which will break subsequent calls to seek() and tell(). However, it seems that su

[issue11762] Ast doc: warning and version number

2011-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Modify entry slightly to String constant with version number of the abstract grammar file. 3.1: '67616'; 3.2: '82163'; 3.3: 'x' -- keywords: +patch ___ Python tracker

[issue11762] Ast doc: warning and version number

2011-04-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : Two related proposals. 1. Add a warning similar to the one for the dis module. As modified: "CPython implementation detail: The ast definition is specific to the CPython interpreter! Ast nodes may be added, removed, or changed between versions. Use *ast.__

[issue11758] increase xml.dom.minidom test coverage

2011-04-04 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11754] Changed test to check calculated constants in test_string.py

2011-04-04 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11738] ThreadSignals.test_signals() of test_threadsignals hangs on PPC Tiger 3.x buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: I think that the last test_threadsignals failures on PPC Tiger were related to the new regrtest timeout, and it is now fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for clarification, Ezio. I am still using Python 2.7 - that's why I've missed this part. -- ___ Python tracker ___ _

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Here's an implementation of read1() that satisfies that condition, along with > some relevant unit tests. Something looks fishy: what happens if size is -1 and EOFError is not raised? -- ___ Python tracker

[issue11759] assert for exception parameters

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: That was a design decision made by Guido (iirc), and even if it might seem not obvious at first, it's probably just because not everyone is Dutch. Many people would probably vote on sequence.join(sep) too, but it's unlikely that another way to do it will be intr

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: I've also found #9587. Now I wonder how many people requested return vs context, and how many would vote for one vs another. Nothing personal - just a pure curiosity. -- ___ Python tracker

[issue11759] assert for exception parameters

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: See also #6275. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue9815] assertRaises as a context manager keeps tracebacks and frames alive

2011-04-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11759] assert for exception parameters

2011-04-04 Thread R. David Murray
R. David Murray added the comment: Using assertRaises as a context manager is not a hack, and is the correct way to do this in unittest. -- nosy: +r.david.murray status: open -> closed ___ Python tracker

[issue9592] Limitations in objects returned by multiprocessing Pool

2011-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8428] buildbot: test_multiprocessing timeout (test_notify_all? test_pool_worker_lifetime?)

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: Here is a nice trace on "PPC Leopard 3.x" thanks to faulthandler + regrtest timeout (30 minutes): --- ... [218/354] test_multiprocessing Thread 0xf0617000: File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/threading.py",

[issue11734] Add half-float (16-bit) support to struct module

2011-04-04 Thread Mark Dickinson
Mark Dickinson added the comment: I've only glanced at the patch, but a couple of things: (1) It looks as though the patch assumes that a C double is IEEE 754 binary64 format, and that a C float is IEEE 754 binary32 format. Is that correct? If so, that's a significant break with tradition:

[issue8323] multiprocessing.Queue ignores pickle restrictions in .put()

2011-04-04 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Is the SIGBUS generated on the first page access ? How much memory does this buildbot have ? -- ___ Python tracker ___ ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : -- nosy: -sdaoden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: Issue #11760 has been marked as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bug

[issue11760] Bus error in test_big_buffer() of test_zlib on "AMD64 Snow Leopard 3.x" buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of #11277. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___

[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: This issue is not dead: test_zlib failed twice on "AMD64 Snow Leopard 3.x" buildbot: build 30 (024967cdc2f0e850f0b338e7593a12d965017a6a, Mar 31 01:40:00 2011) and 44 (ebc03d7e711052c0b196aacdbec6778c0a6d5c0c, Apr 4 10:11:20 2011). Build 44 has a traceback tha

[issue11760] Bus error in test_big_buffer() of test_zlib on "AMD64 Snow Leopard 3.x" buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: test_zlib failure is on zlib.crc32(mmap.mmap(...)) with a mapping bigger than 4 GB: -- # Issue #10276 - check that inputs >=4GB are handled correctly. class ChecksumBigBufferTestCase(unittest.TestCase): def setUp(self): with ope

[issue11760] Bus error in test_big_buffer() of test_zlib on "AMD64 Snow Leopard 3.x" buildbot

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: Another failure on test_zlib on the same buildbot: build 30 http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x/builds/30/steps/test/logs/stdio -- I already noticed some failures on test_mmap: build 8, 25 and 36 http://www.python.org/d

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Stefan Krah
Stefan Krah added the comment: Marc-Andre Lemburg wrote: > The "local" file you mention only contains "en_US.UTF-8 UTF-8" on > our Ubuntu 10.04.1 default installation. > > Have you installed some other package to get support for all those > locales ? On Ubuntu it is a bit messy: cp /usr/shar

[issue11749] test_socket failure

2011-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks fixed now. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11678] Add support for Arch Linux to platform.linux_distributions()

2011-04-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Westley Martínez wrote: > > Westley Martínez added the comment: > > Perhaps I wasn't clear. That release version isn't for the system. It's for > the installation disc. There's no way to get that info and it means nothing > to anyone anyways. All users

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Stefan Krah wrote: > > Stefan Krah added the comment: > > Is there another (authoritative) source for locale aliases apart > from X.org? On Ubuntu Lucid, many aliases for installed locales > are missing: > > f = open("/var/lib/locales/supported.d/local")

[issue10791] Wrapping TextIOWrapper around gzip files

2011-04-04 Thread Nadeem Vawda
Nadeem Vawda added the comment: Here's an implementation of read1() that satisfies that condition, along with some relevant unit tests. -- keywords: +patch Added file: http://bugs.python.org/file21531/gzipfile_read1.diff ___ Python tracker

[issue11738] ThreadSignals.test_signals() of test_threadsignals hangs on PPC Tiger 3.x buildbot

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d59ae98013c by Victor Stinner in branch 'default': Reenable regrtest.py timeout (30 min): #11738 and #11753 looks to be fixed http://hg.python.org/cpython/rev/9d59ae98013c -- nosy: +python-dev ___ Pytho

[issue11761] fragile tests in test_gc

2011-04-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4329/steps/test/logs/stdio == FAIL: test_collect_generations (test.test_gc.GCTests) ---

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Stefan, theoretically this is A valid locale description (as understood by S-SYS) is: language[_TERRITORY[.CODESET[@Modifier]]] where language is indeed a ISO 639 language code (see doc/iso639.txt) and _TERRITOR

[issue11760] Bus error in test_big_buffer() of test_zlib on "AMD64 Snow Leopard 3.x" buildbot

2011-04-04 Thread STINNER Victor
New submission from STINNER Victor : Trace: ... [ 79/354] test_time [ 80/354] test_zlib Fatal Python error: Bus error Traceback (most recent call first): File "/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86/build/Lib/test/test_zlib.py", line 85 in test_big_buffer F

[issue1294232] Error in metaclass search order

2011-04-04 Thread Daniel Urban
Daniel Urban added the comment: The attached patch seems to correct this issue. It contains the test attached yesterday, and it passes now. I factored out the winner calculation from type_new to a new _PyType_CalculateWinner function, and type_new calls this. I've put the declaration of th

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: I found that successful assert in twisted returns exception object. But thanks for workaround anyway. -- ___ Python tracker ___ ___

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Looks like a hack (and not the obvious one). I guess no asserts return values like this, so that usage is not really intuitive for me. -- ___ Python tracker __

[issue11759] assert for exception parameters

2011-04-04 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11759] assert for exception parameters

2011-04-04 Thread Daniel Urban
Daniel Urban added the comment: What about this: >>> class MyTestCase(TestCase): ... def test_foo(self): ... with self.assertRaises(SyntaxError) as cm: ... compile('asdf jkl', 'file.py', 'eval') ... self.assertEqual('file.py', cm.exception.filenam

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-04 Thread STINNER Victor
STINNER Victor added the comment: test_socket and test_signal succeed on "x86 FreeBSD custom": http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%20custom/builds/4 (there are other issues, but there are not related) I pushed the fix in Python 3.3 (ebc03d7e7110). -- resolutio

[issue11753] test_sendall_interrupted() of test_socket hangs on FreeBSD

2011-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebc03d7e7110 by Victor Stinner in branch 'default': Issue #11753: faulthandler thread uses pthread_sigmask() http://hg.python.org/cpython/rev/ebc03d7e7110 -- nosy: +python-dev ___ Python tracker

  1   2   >