[issue16612] Integrate Argument Clinic into CPython trunk

2013-10-18 Thread Larry Hastings
Larry Hastings added the comment: Spelling corrections from Arfrever (thanks Arfrever!), and some eentsy teensy weentsy bugfixes from me. And with a dramatic new patch number just so everybody can keep it straight. -- title: Integrate Argument Clinic specialized preprocessor into

[issue5411] Add xz support to shutil

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file27723/shutil-lzma_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5411 ___

[issue5411] Add xz support to shutil

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Serhiy's patch needs a versionchanged or versionadded tag in the Docs. Done. -- Added file: http://bugs.python.org/file32163/shutil-lzma_3.patch ___ Python tracker rep...@bugs.python.org

[issue1575020] Request wave support 16 bit samples

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually 24-bit samples are supported only on little-endian platforms (see issue19276). Here is simple patch which makes them supported on big-endian too. -- keywords: +patch resolution: out of date - stage: committed/rejected - patch review status:

[issue10976] json.loads() raises TypeError on bytes object

2013-10-18 Thread Nick Guenther
Changes by Nick Guenther n...@kousu.ca: -- nosy: +kousu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10976 ___ ___ Python-bugs-list mailing list

[issue1575020] Request wave support 16 bit samples

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And supporting the feature only on some platforms (without good reasons) is a bug. -- type: enhancement - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1575020

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39b06c3fbe2e by Ethan Furman in branch 'default': Close #19030: inspect.getmembers and inspect.classify_class_attrs http://hg.python.org/cpython/rev/39b06c3fbe2e -- resolution: - fixed stage: patch review - committed/rejected status: open

[issue10614] ZipFile: add a filename_encoding argument

2013-10-18 Thread Sergey Dorofeev
Sergey Dorofeev added the comment: I'd like to submit patch to support zip archives created on systems that use non-US codepage (e.g. russian CP866). Codepage would be specified in additional parameter of ZipFile constructor, named codepage. If it is not specified, old behavior is preserved

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
koobs added the comment: There are 5 unique test failures that have come up in the koobs-freebsd* buildbots post the test_asyncio import. Would we prefer to create a meta issue to track them, or put them here? -- nosy: +koobs ___ Python tracker

[issue16938] pydoc confused by __dir__

2013-10-18 Thread Ethan Furman
Ethan Furman added the comment: This has been fixed in #19030: every good object will have a home class; non-good objects (the result of buggy __dir__, __getattribute__, or __getattr__ methods) will not be returned and so cannot confuse pydoc. -- resolution: - fixed stage: -

[issue19281] add __objclass__ to the docs

2013-10-18 Thread Ethan Furman
New submission from Ethan Furman: Currently __objclass__ is only documented in a ten-year old PEP. -- messages: 200190 nosy: eric.araujo, ethan.furman, ezio.melotti, georg.brandl priority: normal severity: normal status: open title: add __objclass__ to the docs

[issue19272] Can't pickle lambda (while named functions are ok)

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d103ba56710e by Ethan Furman in branch 'default': Issue #19272: slight clarification of pickle docs with regard to lambda. http://hg.python.org/cpython/rev/d103ba56710e -- nosy: +python-dev ___ Python

[issue10614] ZipFile: add a filename_encoding argument

2013-10-18 Thread STINNER Victor
STINNER Victor added the comment: Please rename codepage to encoding. By the way, 437 is a codepage, cp437 is a (python) encoding. I don't think that ZIP is limited to windows. I uncompressed zip files many times on various OSes, github also produces zip (and github is probably not using

[issue19282] dbm is not a context manager

2013-10-18 Thread Nick Guenther
New submission from Nick Guenther: This code doesn't work. I think it should. import dbm with dbm.open(what is box.db, c) as db: db[Bpoind] = Boing Indeed, there is nothing supporting PEP 343 for dbm on my system: [kousu@galleon ~]$ grep -r __exit__ /usr/lib/python3.3/dbm

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32166/koobs-freebsd10-amd64-py3x-build588.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19030 ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread koobs
koobs added the comment: Multiple test_pydoc failures found on koobs-freebsd* buildbots after 39b06c3fbe2e6ef78a540513d4b81f2d095d1e62 Attaching complete logs from both bots to this issue, will reference #16938 as well -- nosy: +koobs Added file:

[issue19272] Can't pickle lambda (while named functions are ok)

2013-10-18 Thread Ethan Furman
Ethan Furman added the comment: Added some clarification to the docs to make it clearer that lambda functions cannot be pickled. Facundo [1], if you want to pursue being able to pickle lambda functions please open an enhancement issue. Some of the questions that come to mind: 1) for a

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2013-10-18 Thread Mark Dickinson
Mark Dickinson added the comment: I still need to act on some of Serhiy's comments. I do plan to get this in for 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17576 ___

[issue16938] pydoc confused by __dir__

2013-10-18 Thread koobs
koobs added the comment: Some test failures have cropped, I have attached buildbot logs and referenced them in #19030 -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16938 ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02c9d26d231f by Ethan Furman in branch 'default': Issue #19030: special-cased __dict__ as the actual dict is not returned, a proxy is. http://hg.python.org/cpython/rev/02c9d26d231f -- ___ Python

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32199/koobs-freebsd9-py3x-build180.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19262 ___

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
koobs added the comment: Summary of 4 test failures below, will attach the complete buildbot logs for detail. == FAIL: test_call_later (test.test_asyncio.test_events.SelectEventLoopTests)

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32200/koobs-freebsd9-py3x-build182.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19262 ___

[issue19282] dbm is not a context manager

2013-10-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Working on a patch for this. -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282 ___ ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changed the documentation as was discussed with Ezio on IRC. Ezio, do you want commit this patch? Feel free to reword the documentation if you are feeling be better. -- Added file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch

[issue19282] dbm is not a context manager

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - needs patch type: - enhancement versions: -Python 3.1, Python 3.2, Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file32202/utf_16_32_surrogates_6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue15237] Add capsule API to _decimal

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: I believe you, but I'd like to understand why. :) It seems to me that a module and also PyInit_xxx() can be loaded portably. Say the handles to the module are cached somewhere after loading and initializing. I think this already happens in Python/dynload_shlib.c.

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: == FAIL: test_call_later (test.test_asyncio.test_events.SelectEventLoopTests) -- Traceback (most recent call last):

[issue15237] Add capsule API to _decimal

2013-10-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 18.10.2013 11:39, Stefan Krah wrote: Stefan Krah added the comment: I believe you, but I'd like to understand why. :) :-) It seems to me that a module and also PyInit_xxx() can be loaded portably. Say the handles to the module are cached

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: The hpux bot fails at the compile stage: http://buildbot.python.org/all/builders/IA64%20HP-UX%2011iv3%20%5BSB%5D%203.x/builds/2152/steps/compile/logs/stdio ld -b

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
New submission from Debarshi Goswami: Some support is needed to avoid compatibility issues in different version of CRT in Windows. I have an application which embeds Python interpreter and the application is build on MSVC11, whereas I am using Python 3.3.2 which is build on MSVC10. I know

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
Debarshi Goswami added the comment: If any workaround is available. It is also fine. -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19283 ___

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: The easy answer is: don't execute a script, import a module instead (and either do something at that module's top-level, or execute a function inside the module). Also, as for ABI issues, take a look at: http://docs.python.org/3.3/c-api/stable.html

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

2013-10-18 Thread Piotr Dobrogost
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net: -- nosy: +piotr.dobrogost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19279 ___ ___

[issue19282] dbm is not a context manager

2013-10-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file32203/dbm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282 ___

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
Debarshi Goswami added the comment: My question is, even a FILE* of MSVC10 type is provided, why these APIs are crashing, after all it expects MSVC10 type. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19283

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
koobs added the comment: Marc, you just reminded me I need to ask antoine to re-create the custom DTrace builder that passes --with-dtrace, thanks :) I've been keeping both of the FreeBSD (9.x and 10.x) buildslaves as close to HEAD as possible with frequent world updates, which have been

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Nick Coghlan
New submission from Nick Coghlan: Trying to provoke the buildbot failure from issue 16129 I was puzzled as to why setting PYTHONHASHSEED was behaving strangely. The subprocess._args_from_interpreter_flags() helper used by test.support (and multiprocessing) misbehaves when PYTHONHASHSEED is

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: I'll deal with this as part of getting issue 16129 sorted out. -- assignee: - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19284 ___

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ba7280545fe by Nick Coghlan in branch 'default': Close #19284: Handle -R properly in flag helper http://hg.python.org/cpython/rev/0ba7280545fe -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed

[issue13405] Add DTrace probes

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Marc, you just reminded me I need to ask antoine to re-create the custom DTrace builder that passes --with-dtrace, thanks :) Well, I don't think it makes a lot of sense to re-create it, until DTrace support is integrated. --

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
koobs added the comment: antoine, is it possible test/pass --with-dtrace on a buildbot without including it in the master build configuration? If not, I'm happy to create a special (dedicated) slave for Jesús so he can continue to test his branch at leisure without messing up the existing

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12d7b6171b28 by Nick Coghlan in branch 'default': Issue #16129: Py_SetStandardStreamEncoding cleanups http://hg.python.org/cpython/rev/12d7b6171b28 -- ___ Python tracker rep...@bugs.python.org

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: I dealt with the comments folks made here and on python-dev regarding the docs and the limited API, as well as the fact it isn't safe to call PyErr_NoMemory() when this function fails. However, I still haven't been able to reproduce the failure seen on the

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: (As expected, the original FreeBSD randomization seed passed here without any problems) Before I disabled the test completely, I did a run with full error diffs enabled. Here's the FreeBSD log with full diffs:

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: A test order problem is indeed unlikely: I ran the tests as the buildbot user with the same random seed and they passed. Let's blame the buildbot software. ;) -- ___ Python tracker rep...@bugs.python.org

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

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here is a patch for 2.7. -- Added file: http://bugs.python.org/file32204/utf7_errors-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19279 ___

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: Larry - I'm kinda stumped on this one. I'm not sure how to debug the failure on the buildbots, because, as Victor said, sys.stdout/err having an encoding attribute of None *isn't* supposed to happen, so the test should be fine as it stands. And nobody has been

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, that got it: LC_ALL=C ./python -m test -W test_capi = boom :) And, of course it's a StringIO object at that point... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16129

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +larry priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16129 ___

[issue15237] Add capsule API to _decimal

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: Marc-Andre Lemburg rep...@bugs.python.org wrote: This may work on Linux (and probably does if you use the right DL flags), but I don't think this works reliably or at all on other platforms such as Windows. Symbols from shared libs are not necessarily available

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4af20969c592 by Nick Coghlan in branch 'default': Issue #16129: this should appease the buildbots http://hg.python.org/cpython/rev/4af20969c592 -- ___ Python tracker rep...@bugs.python.org

[issue16612] Integrate Argument Clinic into CPython trunk

2013-10-18 Thread Larry Hastings
Larry Hastings added the comment: Incorporated suggestions from Antoine and Berker Peksag. Thanks! -- Added file: http://bugs.python.org/file32205/larry.clinic.patch.6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16612

[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: So, does that mean asked the release manager for a ruling is the buildbot debugging equivalent of threatened it with tech support? :) -- priority: release blocker - normal resolution: - fixed stage: needs patch - committed/rejected status: open -

[issue17429] platform.platform() can throw Unicode error

2013-10-18 Thread STINNER Victor
STINNER Victor added the comment: Ping myself, I just installed Fedora 19 and I cannot run the Python test suite with the ASCII locale encoding, because of this bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17429

[issue17221] Resort Misc/NEWS

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17221 ___

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: @Koobs: I'll look into these, but in the future it's better to report bugs upstream for now, i.e. at http://code.google.com/p/tulip/ -- they will get my immediate attention. @Antoine: while most of the timing-related tests use a simulated clock, there are

[issue19216] stat cache for import bootstrap

2013-10-18 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19216 ___ ___

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

2013-10-18 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18810 ___ ___

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

2013-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: 2.6.9 doesn't produce a SystemError afaict: Python 2.6.9rc1+ (unknown, Oct 18 2013, 10:29:22) [GCC 4.4.3] on linux3 Type help, copyright, credits or license for more information. content = b'+1911\' rel=\'stylesheet\' type=\'text/css\' /\nlink

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

2013-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 18, 2013, at 02:33 PM, Barry A. Warsaw wrote: 2.6.9 doesn't produce a SystemError afaict: Please note that 2.6.9 is security only, so the threshold for worrying about things is a remotely exploitable security vulnerability that cannot be reasonably

[issue12837] Patch for issue #12810 removed a valid check on socket ancillary data

2013-10-18 Thread Brett Cannon
Brett Cannon added the comment: Attached is a patch that silences the warning for just the 'if' statement under Clang using pragmas. I don't know if we have ever had it out on python-dev on our view of using pragmas, but this seems like a reasonable place to use it. -- Added file:

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

2013-10-18 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19279 ___ ___

[issue19280] Add a datatype to represent mime types to the email module

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know much about the email module, but FWIW I think str subclasses (or any subclass of built-in types) are a delicate thing to expose in an API. I think a namedtuple would be the more idiomatic choice here (perhaps with an appropriate __str__ for

[issue16803] Make test_import test_importlib run tests under both _frozen_importlib and importlib._bootstrap

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d96a3163dbf by Brett Cannon in branch 'default': Issue #16803: test.test_importlib.test_api now runs under frozen and http://hg.python.org/cpython/rev/9d96a3163dbf -- ___ Python tracker

[issue13405] Add DTrace probes

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: antoine, is it possible test/pass --with-dtrace on a buildbot without including it in the master build configuration? If not, I'm happy to create a special (dedicated) slave for Jesús so he can continue to test his branch at leisure without messing up the

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: I fixed the easy one (the expected delay in test_call_later). I could use some hands with the rest -- I suspect there are similar race conditions. I'm tracking this now in http://code.google.com/p/tulip/issues/detail?id=75 --

[issue19274] make zipfile.PyZipFile more usable

2013-10-18 Thread Christian Tismer
Christian Tismer added the comment: Hi Georg, So do you think it is ok this way? I was not sure if extending the function with an optional arg is ok, or if a method to configure PyZipFile would be better. At the moment I just needed the simple functionality. Should it maybe get a regex like

[issue16662] load_tests not invoked in package/__init__.py

2013-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The failure in test_discovery.py is odd. It's failing because loadTestsFromModule() is being passed a keyword arguemnt use_load_tests=False. On the surface, the failure makes sense because if you look in test_discover.py, it's defining a lambda for

[issue16662] load_tests not invoked in package/__init__.py

2013-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On the second failure, the expected output just needs to be updated. Is that the right thing to do? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16662

[issue18606] Add statistics module to standard library

2013-10-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Here is the updated version which I hope is not too late for alpha 4. Main changes: * sum is now private * docstrings have been simplified and shrunk somewhat * I have a draft .rst file, however I'm having trouble getting Sphinx working on my system and I

[issue19276] test_wave failing on PPC64 Linux

2013-10-18 Thread David Edelsohn
David Edelsohn added the comment: Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19276 ___ ___ Python-bugs-list mailing list

[issue16662] load_tests not invoked in package/__init__.py

2013-10-18 Thread Michael Foord
Michael Foord added the comment: use_load_tests was deliberately undocumented. IIRC it only exists to allow us to load tests from a package module (__init__.py) without invoking load_tests - it maybe that it can just go away altogether now. I'll need to look at the code to confirm.

[issue19274] make zipfile.PyZipFile more usable

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think this is needed. You can walk a tree and call writepy() for files and directories which you want. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19274

[issue18416] Move to absolute file paths for module.__file__

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76184b5339f2 by Brett Cannon in branch 'default': Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd http://hg.python.org/cpython/rev/76184b5339f2 -- nosy: +python-dev ___ Python

[issue18416] Move to absolute file paths for module.__file__

2013-10-18 Thread Brett Cannon
Brett Cannon added the comment: I went with option 1 (changed PathFinder to consider '' the cwd) which allowed me to flat-out remove the special-casing for '' in FileFinder. Thanks for the initial patch, Madison! -- resolution: - fixed stage: test needed - committed/rejected status:

[issue19170] telnetlib: use selectors

2013-10-18 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- nosy: +haypo, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19170 ___ ___

[issue18716] Deprecate the formatter module

2013-10-18 Thread Brett Cannon
Brett Cannon added the comment: Documented in f1fde6ef92e2 -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18716 ___ ___

[issue19274] make zipfile.PyZipFile more usable

2013-10-18 Thread Christian Tismer
Christian Tismer added the comment: @serhiy.storchaka I don't think this is needed. You can walk a tree and call writepy() for files and directories which you want. What exactly do mean by this and needed? I cannot see the connection of my initial post and your reply. Running PyZipFile on a

[issue18416] Move to absolute file paths for module.__file__

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33844153cd02 by Brett Cannon in branch 'default': Issue #18416: Fix various os calls in importlib.machinery.FileFinder http://hg.python.org/cpython/rev/33844153cd02 -- ___ Python tracker

[issue18606] Add statistics module to standard library

2013-10-18 Thread Georg Brandl
Georg Brandl added the comment: The rst file is missing from your patch. I already posted a patch with statistics.rst five days ago. I have no idea why you ignored it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18606

[issue19274] make zipfile.PyZipFile more usable

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: this is a filter function. Not needed means that you can got what you want without adding a filter function to zipfile.PyZipFile. Just don't call writepy() on directories which contains files which shouldn't be zipped. --

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: The --without-threads buildbot fails, so I guess all tests need to be skipped in that case: http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/5333/steps/test/logs/stdio -- nosy: +skrah

[issue19229] operator.py: move the Python implementation in the else block of try/except ImportError

2013-10-18 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19229 ___ ___ Python-bugs-list

[issue19259] Provide Python implementation of operator.compare_digest()

2013-10-18 Thread Zachary Ware
Zachary Ware added the comment: Oops, forgot to provide the [1] link... [1] https://mail.python.org/pipermail/python-dev/2013-October/129477.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19259

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe adding something that returns [] from suite() if therea re no threads in test/test_asyncio/__init__.py would help? I don't have time to test this, but go ahead and commit something if it's a release blocker. Even better would or course be to fix

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

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11f2f4af1979 by Brett Cannon in branch 'default': Issue #18810: Be optimistic with stat calls when seeing if a directory http://hg.python.org/cpython/rev/11f2f4af1979 -- nosy: +python-dev ___ Python

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

2013-10-18 Thread Brett Cannon
Brett Cannon added the comment: The directory savings has actually been handled w/o semantics changes; in the last commit for this issue. The possibility of leaning on file extensions has been asked on python-dev. Once that is resolved then this issue will either get another commit or simply

[issue18606] Add statistics module to standard library

2013-10-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Georg Brandl wrote: The rst file is missing from your patch. Oops! Sorry about that. Fixed now. I already posted a patch with statistics.rst five days ago. I have no idea why you ignored it. I'm sorry if I stepped on your toes, but I didn't ignore your

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm going to close this as invalid: Python 3.3.2+ (3.3:247344a0d12e, Oct 18 2013, 13:14:59) [GCC 4.8.1] on linux Type help, copyright, credits or license for more information. from socket import * gethostbyname('in.val.id') Traceback (most recent call

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

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9895a9c20e8a by Brett Cannon in branch 'default': Add NEWS entry for issue #18810 http://hg.python.org/cpython/rev/9895a9c20e8a -- ___ Python tracker rep...@bugs.python.org

[issue19274] make zipfile.PyZipFile more usable

2013-10-18 Thread Christian Tismer
Christian Tismer added the comment: Ah, I understand: The case that does not compile comes from the toplevel test folder, which I could have excluded explicitly. But it is not a complete solution: If I want to add every package from the standard lib, then I necessarily encounter enclosed test

[issue19259] Provide Python implementation of operator.compare_digest()

2013-10-18 Thread Zachary Ware
Zachary Ware added the comment: Even after reading through #15061, I still wonder why _compare_digest is in _operator at all. It makes even less sense to me to put a Python implementation in operator; shouldn't the Python implementation be in the module that actually uses it? Branching from

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-10-18 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17759 ___

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-18 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8964 ___ ___ Python-bugs-list

[issue16612] Integrate Argument Clinic into CPython trunk

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is awesome! Clinic adds too much visual garbage. Could we move all generated content into separated *_clinic.h files? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16612

[issue19285] test_asyncio failures on FreeBSD

2013-10-18 Thread Stefan Krah
New submission from Stefan Krah: I'm splitting this off of #19262, since certain failures (hanging for one hour) remind me of #15599, which is an issue of epic proportions. Also it should not be a release blocker, since threading failures under FreeBSD-9 (running under KVM!) aren't uncommon.

  1   2   3   >