[issue12866] Add support for 24-bit samples in the audioop module

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 97ad9af5d5e7 by Serhiy Storchaka in branch 'default': Issue #12866: Fix bias() for 24-bit. Add more tests. http://hg.python.org/cpython/rev/97ad9af5d5e7 -- ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I'm trying to let go of the AIX hang. Here's a brain dump of what I've figured out so far. * There were a lot of red herrings in the early discussion. This hang doesn't seem to have anything to do with nonblocking connect() or sockets, nor even signals. *

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Ezio Melotti
Ezio Melotti added the comment: I opened a new issue about improving the error message: #19307. After further discussion on IRC, we think that both #19307 and this issue should only be applied on 3.4 (the attached patch produces an even more misleading error that would require backporting #1930

[issue19307] Improve TypeError message in json.loads()

2013-10-19 Thread Ezio Melotti
New submission from Ezio Melotti: Currently the error raised when bytes are passed to json.loads() is not very clear: >>> json.loads(b'') Traceback (most recent call last): File "", line 1, in File "/home/wolf/dev/py/py3k/Lib/json/__init__.py", line 316, in loads return _default_decoder

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Let's just release the alpha with this as it stands; I will look at the race condition later, and also at CF's patch (which may be a good idea regardless of what it fixes). I did add the breaks to echo and echo3 since the busy-waiting just makes tracing thi

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Bolen
David Bolen added the comment: I've been trying to test this on the Ubuntu 8.04 buildbot, but so far, using the latest hg default head, haven't gotten test_asyncio to hang even before the patch. It also looks like the last 4 regular buildbot builds were fine too. I even tried rolling back to

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Discussing this with Ezio on IRC, we decided that it probably makes more sense to do this check outside the scanner as preliminary validation of the input passed in via the public API. That will minimise the overhead and also avoids any potential side effects if

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I wonder if subprocess pipes have a version of the race condition I fixed for sockets yesterday: http://code.google.com/p/tulip/source/detail?r=2d392599fa067038b5fc9eeaf051011307aeadee The pipe code seems derived from the socket code long ago. -- __

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: As does the Py3k version :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: I'll take a closer look at this prior to beta 1. In the meantime, Ron, I just noticed we don't have a Contributor Licensing Agreement in place for you. Given your past contributions, we should probably fix that :) The form can be signed electronically these day

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file32237/issue18958-2-py3k.diff ___ Python tracker ___ ___ Python-bugs-list mail

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Nick Coghlan
Nick Coghlan added the comment: Updated patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: BTW, another oddity in traceback.c: dump_hexadecimal() has the "int fd" argument at the end, while all other dump_*() functions have it at the front -- even its cousin dump_decimal(). Here's a patch that includes a fix. -- keywords: +patch Added file

[issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

2013-10-19 Thread Ezio Melotti
Ezio Melotti added the comment: Here is an updated patch with tests. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file32235/issue18958-2.diff ___ Python tracker _

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread koobs
koobs added the comment: You rock Antoine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: I added if not buf: break after buf = os.read() to echo.py, echo2.py and echo3.py. They now exit and do not spin, but the test still hangs. -- ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > test_subprocess_interactive > (test.test_asyncio.test_events.PollEventLoopTests) ... > 4588380:64422135: close(3) = 0 > 4588380:64422135: > statx("/home/dje/src/cpython/Lib/test/test_asyncio/echo.py", 0x2FF20870,

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Separate question for David: if CF's patch were committed, would we still need your patch to disable three subprocess-related tests on AIX? (That can be dealt with after the alpha release though -- in fact I propose not to wait for AIX if we can get the other

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: AIX has an equivalent to strace (called truss). I have recorded all AIX system calls and signals for test_process_interactive, which hangs, following all children created by fock. The uncompressed file is 82MB or 939KB compressed. The highlights are: test_su

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: RHEL 6 too: http://buildbot.python.org/all/builders/x86%20RHEL%206%203.x/builds/2911/steps/test/logs/stdio -- nosy: +ncoghlan ___ Python tracker ___

[issue17134] Use Windows' certificate store for CA certs

2013-10-19 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file28964/certstore.cpp ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17134] Use Windows' certificate store for CA certs

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: The new patch splits up the one function into enum_certificates() and enum_crls(). enum_certificates() now returns also trust settings for the certificate. Internally it maps the most common OIDs to human readable names. The patch comes without doc updates y

[issue19295] Make asyncio work without threads

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I looked into this a bit more and it's tricky, because without threads, asyncio/futures.py can't import some base exceptions concurrent.futures. Also, some tests create servers in separate threads, and getaddrinfo() would of course block. Not sure if I'll e

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> haypo nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19306] Warn unsuspecting readers that thread stacks are in reverse order

2013-10-19 Thread Guido van Rossum
New submission from Guido van Rossum: I was confused for a while when seeing the thread stacks dumped by the faulthandler module. (See issue 19293.) I propose the following tweaks of the output to make this more obvious. The first chunk changes the header written when called as _Py_DumpTraceb

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks ok on the buildbot. -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Separate question for David: if CF's patch were committed, would we still need your patch to disable three subprocess-related tests on AIX? (That can be dealt with after the alpha release though -- in fact I propose not to wait for AIX if we can get the othe

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I called it run_until. Hopefully this will manage to appease the buildbot. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> pending ___ Python tracker

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset f1447c152fb7 by Antoine Pitrou in branch 'default': Issue #19305: try to fix sporadic test_asyncio failure on FreeBSD 10.0 http://hg.python.org/cpython/rev/f1447c152fb7 -- nosy: +python-dev ___ Python tra

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: That patch looks good except please don't call it wait_for(), since there's already tasks.wait_for(). You can call it run_until(). Having to pass the loop to sleep() is only really required in the tests -- there was a movement a while ago (started by Alex G

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't have access to an Ubuntu 8.04 box, but if David Bolen can test the patch it would be great. -- nosy: +db3l ___ Python tracker ___ _

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: How about the following? I was a bit annoyed I had to pass the loop explicitly to task.sleep(). -- assignee: gvanrossum -> keywords: +patch Added file: http://bugs.python.org/file32233/asyncio_wait_for.patch ___ Pyth

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Hm... Maybe the wakeup_fd machinery is broken on some systems? Has anybody been able to confirm that CF's patch fixes the hang on any non-AIX system? If so, maybe we should commit first, understand later... -- ___

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: > Guido van Rossum added the comment: > > Actually, I think we're talking about the actual select() syscal not > returning when SIGCHLD is received and handled. Running the C-level handler > isn't enough, the syscall must return with EINTR so the Python

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: -> gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I'm guessing there's a whole lot of tests calling run_briefly() that really need to be fixed along these lines: http://code.google.com/p/tulip/source/detail?r=44e4c8257a9d I'd like to add a new method to test_utils.py for that purpose. But if at all possibl

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: If CF's patch fixes the Ubuntu hang, commit it! We can iterate on my nits post-alpha. -- ___ Python tracker ___

[issue19305] sporadic test_asyncio failure under FreeBSD

2013-10-19 Thread Antoine Pitrou
New submission from Antoine Pitrou: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/626/steps/test/logs/stdio == FAIL: test_create_server (test.test_asyncio.test_events.SelectEventLoopTests) -

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Larry Hastings
Larry Hastings added the comment: There's also a test that hangs for 1 hour on the Ubuntu x86 buildbot. Sample failure: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/8803/ -- nosy: +larry ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: The exact same hanging seems to happen under Ubuntu 8.04 LTS: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/8803/steps/test/logs/stdio [176/383] test_asyncio Timeout (1:00:00)! Thread 0x404e48c0: File "/srv/buildbot/buildarea/3.x.

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, should be fixed now! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4019694a1ce4 by Antoine Pitrou in branch 'default': Issue #19299: fix refleak test failures in test_asyncio http://hg.python.org/cpython/rev/4019694a1ce4 -- nosy: +python-dev ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: I guess it's a shame that the two issues got merged, since now it looks like they may have to be unmerged again. I sent a few comments to neologix' patch that should be easy to address; for AIX I'm afraid we're still looking for more info from David. --

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Looks good. How about adding executor.shutdown(wait=False)? E.g. def close(self): self._ready.clear() self._scheduled.clear() executor = self._default_executor if executor is not None: self._default_executor = No

[issue19249] Enumeration.__eq__

2013-10-19 Thread Ethan Furman
Ethan Furman added the comment: Given the rarity of singletons, I don't think changing pickle in that way is appropriate. Besides, pickle protocol 2 and above don't have the problem. -- ___ Python tracker ___

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Richard Oudkerk
Richard Oudkerk added the comment: I guess this should be clarified in the docs, but multiprocessing.pool.Pool is a *class* whose constructor takes a context argument, where as multiprocessing.Pool() is a *bound method* of the default context. (In previous versions multiprocessing.Pool was a

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-10-19 Thread Ron Adam
Ron Adam added the comment: Adding you Nick, I don't have commit rights. This probably doesn't need much.. maybe a one line comment in news is all. (And maybe not even that.) -- nosy: +ncoghlan ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: > The patch cleans up a lot of the other failures for asyncio on AIX Great. > but does not fix the hang. I was expecting this :-) Note that the hang is really strange, especially since the first run_until_complete() succeeds. Without more informatio

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2013-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: We've upgraded the versions of other embedded libraries in 2.7 bugfix releases, so I'm okay with this for 2.7. -- ___ Python tracker ___ ___

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Also, have you read what I've just posted? > > About the fuzziness of when startup is finished? As implied above, > I'd say at the end of Py_Initialize(). You only have imported a handful of modules by then. Real-world applications will import many more af

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Eric Snow
Eric Snow added the comment: > I don't really understand the algorithm you're proposing. In importlib._bootstrap: We have some global like "_CHECK_STAT=True". FileFinder would use it to decide on using stat checks or not. In Python/pythonrun.c: At the end of import_init(), we set importlib.

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2013-10-19 Thread Ned Deily
Ned Deily added the comment: I guess the one remaining question about this issue is whether it should be backported to 2.7.x and/or 3.3.x. The implementation depends on the build changes implemented in Issue1584 to provide options to override default search paths for Tcl and Tk so that would h

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would it be feasible to have an explicit (but private?) flag in > importlib indicating stat checking (or even all FS checking) should be > disabled, defaulting to True? runpy could set it to False after > initializing importlib and then back to True when start

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Lars Buitinck
Lars Buitinck added the comment: I also tried from multiprocessing.pool import Pool but that died with ImportError: cannot import name get_context -- ___ Python tracker ___ __

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Eric Snow
Eric Snow added the comment: Would it be feasible to have an explicit (but private?) flag in importlib indicating stat checking (or even all FS checking) should be disabled, defaulting to True? runpy could set it to False after initializing importlib and then back to True when startup is done

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Lars Buitinck
Lars Buitinck added the comment: Strange, I can't actually get it to work: >>> from multiprocessing import Pool, get_context >>> forkserver = get_context('forkserver') >>> Pool(context=forkserver) Traceback (most recent call last): File "", line 1, in TypeError: Pool() got an unexpected keywo

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14067] Avoid more stat() calls in importlib

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19216] stat cache for import bootstrap

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: The real problem here is that the definition of "bootstrap" or "startup" is fuzzy. How do you decide when you stop caching? The only workable approach IMO is to adopt a time-based heuristic, which I did in issue14067. -- __

[issue18606] Add statistics module to standard library

2013-10-19 Thread Georg Brandl
Georg Brandl added the comment: > I'm sorry if I stepped on your toes, but I didn't ignore your patch. If I've > failed to follow the right procedure, it is due to inexperience, not malice. > You yourself suggested it was only a temporary version just good enough to > get the module committed,

[issue19287] __contains__() of dbm.ndbm databases fails with str

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +georg.brandl, larry priority: normal -> release blocker ___ Python tracker ___

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: The patch cleans up a lot of the other failures for asyncio on AIX, but does not fix the hang. -- ___ Python tracker ___ __

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-10-19 Thread Christian Heimes
Christian Heimes added the comment: Can somebody step in for #16487 please? For my stuff I just need to load DER as bytes and maybe PEM as str. -- ___ Python tracker ___ ___

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed the patch. I trust you that you got it right! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: There you go. I could do nonlocal, but that's a more work for no real benefit besides consistency. -- ___ Python tracker ___ ___

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c554194240fc by Antoine Pitrou in branch '3.3': Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX. http://hg.python.org/cpython/rev/c554194240fc New changeset e3ac917fcf9c by Antoine Pitrou in branch 'default': Issue #18235:

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 35b384ed594b by Benjamin Peterson in branch 'default': give explicitly global functions and classes a global __qualname__ (closes #19301) http://hg.python.org/cpython/rev/35b384ed594b -- nosy: +python-dev resolution: -> fixed stage: needs

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ha, that code dates back to 2000 and 2001 (f1e40abbedb3 and c958678720fd, respectively). -- nosy: +pitrou ___ Python tracker ___ __

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch changing asyncio to not rely on a Python-level signal handler at all: it reads the signal number from the self-pipe. It should therefore work even if the select()/poll()/etc syscall doesn't fail with EINTR, and incidentally require only

[issue19303] Typo in devguide - coverage

2013-10-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch. -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19303] Typo in devguide - coverage

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72c9907e208e by Ned Deily in branch 'default': Issue #19303: Fix typo noted by Martin Matusiak. http://hg.python.org/devguide/rev/72c9907e208e -- nosy: +python-dev ___ Python tracker

[issue19304] Typo in statistics.rst

2013-10-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch. -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: (by the way, the part that really made a difference was losing the reference to the executor. I added the rest out of completeness.) -- ___ Python tracker

[issue19304] Typo in statistics.rst

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 900460f0fb2a by Ned Deily in branch 'default': Issue #19304: Fix typos noted by Claudiu Popa. http://hg.python.org/cpython/rev/900460f0fb2a -- nosy: +python-dev ___ Python tracker

[issue19299] test_asyncio refleak failures

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: It seems the attached patch solves it. -- assignee: -> gvanrossum keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file32231/base_event_close.patch ___ Python tracker

[issue19304] Typo in statistics.rst

2013-10-19 Thread Claudiu.Popa
New submission from Claudiu.Popa: There are two small typos in statistics.rst. -- assignee: docs@python components: Documentation files: typos.patch keywords: patch messages: 200480 nosy: Claudiu.Popa, docs@python priority: normal severity: normal status: open title: Typo in statistics.r

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: With my patch applied, _sysconfig.py looks like 'BLDSHARED': '/usr/local/lib/python3.4/config/ld_so_aix gcc -pthread ' '-bI:/usr/local/lib/python3.4/config/python.exp', 'LDSHARED': '/usr/local/lib/python3.4/config/ld_so_aix gcc -pthread '

[issue18606] Add statistics module to standard library

2013-10-19 Thread Larry Hastings
Larry Hastings added the comment: Checked in. Thanks, Mr. D'Aprano! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18606] Add statistics module to standard library

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 685e044bed5e by Larry Hastings in branch 'default': Issue #18606: Add the new "statistics" module (PEP 450). Contributed http://hg.python.org/cpython/rev/685e044bed5e -- nosy: +python-dev ___ Python trac

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Patch against current trunk -- keywords: +patch Added file: http://bugs.python.org/file32229/issue18235.patch ___ Python tracker ___ ___

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > [Off-topic: Heck, another one of those upside-down tracebacks. WHY???] These are tracebacks emitted by the faulthandler module. They don't use the normal traceback printing machinery because it is impossible to do so in the conditions where those tracebacks

[issue19303] Typo in devguide - coverage

2013-10-19 Thread Martin Matusiak
New submission from Martin Matusiak: - Another option is to use an installed copy of coverage.py if you already have an installed copy. -- components: Devguide files: typo_coverage.diff keywords: patch messages: 200474 nosy: ezio.melotti, numerodix priority: normal severity: normal stat

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-10-19 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue1772673] Replacing char* with const char*

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bd69bd6e129 by Serhiy Storchaka in branch 'default': Restore prototypes for the 'openpty' and 'forkpty' on BSDI (broken in issue #1772673). http://hg.python.org/cpython/rev/8bd69bd6e129 -- ___ Python tr

[issue18606] Add statistics module to standard library

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Larry! On Sat, Oct 19, 2013 at 11:32 AM, Larry Hastings wrote: > > Larry Hastings added the comment: > > Mr. D'Aprano emailed me about getting this in for alpha 4. Since nobody > else stepped up, I volunteered to check it in for him. There were some

[issue19288] __contains__() of dbm.gnu databases fails with str

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +easy, patch stage: -> patch review Added file: http://bugs.python.org/file32227/issue19288.patch ___ Python tracker __

[issue18606] Add statistics module to standard library

2013-10-19 Thread Larry Hastings
Larry Hastings added the comment: Mr. D'Aprano emailed me about getting this in for alpha 4. Since nobody else stepped up, I volunteered to check it in for him. There were some minor ReST errors in statistics.rst but I fixed 'em. -- nosy: +larry _

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Charles-François Natali
Charles-François Natali added the comment: > Guido van Rossum added the comment: > > Actually, I think we're talking about the actual select() syscal not > returning when SIGCHLD is received and handled. Running the C-level handler > isn't enough, the syscall must return with EINTR so the Python

[issue1772673] Replacing char* with const char*

2013-10-19 Thread Ned Deily
Ned Deily added the comment: Compile errors on OS X 10.8 with clang: cc -Wno-unused-result -Werror=declaration-after-statement -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I../../source/Include-DPy_BUILD_CORE -c ../../source/Modules/posixmodule.c -o Modules/posixmodule.o In file in

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Supporting nonlocal variables would be nice. However, unless it is easy to implement, I don't think it is worth the effort since these variables can't be accessed outside the enclosing function's scope. -- ___

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: poll() vs select() does not make a difference. Using the default poll(), if I run python in GDB, test_process_interactive hangs in poll(). The top of the traceback looks like: #0 0xd02389d4 in __fd_poll () from /usr/lib/libc.a(shr.o) #1 0xd717e604 in poll (_

[issue12866] Add support for 24-bit samples in the audioop module

2013-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Antoine. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73ab6aba24e5 by Serhiy Storchaka in branch '3.3': Fixed tests for issue #19279. http://hg.python.org/cpython/rev/73ab6aba24e5 -- ___ Python tracker ___

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I suppose it would also be desirable to have def f(): C = None def g(): nonlocal C class C: pass return g() have a different qualname, too? -- ___ Python tracker

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread Guido van Rossum
Guido van Rossum added the comment: Actually, I think we're talking about the actual select() syscal not returning when SIGCHLD is received and handled. Running the C-level handler isn't enough, the syscall must return with EINTR so the Python handler can run (which then writes a byte to the self

[issue12866] Add support for 24-bit samples in the audioop module

2013-10-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1fa70053828 by Serhiy Storchaka in branch 'default': Issue #12866: The audioop module now supports 24-bit samples. http://hg.python.org/cpython/rev/e1fa70053828 -- nosy: +python-dev ___ Python tracker <

[issue19293] test_asyncio hanging for 1 hour

2013-10-19 Thread David Edelsohn
David Edelsohn added the comment: Check that which processes are terminated? The test eventually timed out after 1 hour and the process running echo.py continued to run. -- ___ Python tracker _

[issue19301] Globals declared in function scope have wrong __qualname__

2013-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's interesting. I suppose it requires some tweaking in the compiler to get right. -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue18810] Stop doing stat calls in importlib.machinery.FileFinder to see if something is a file or folder

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19298] Use __atribute__(cleanup ...) to detect refleaks

2013-10-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

  1   2   >