[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 992ef855b3ed by Antoine Pitrou in branch 'default': Issue #17810: Implement PEP 3154, pickle protocol 4. http://hg.python.org/cpython/rev/992ef855b3ed -- nosy: +python-dev ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've now committed Alexandre's latest work (including the FRAME and MEMOIZE opcodes). -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker ___

[issue13633] Automatically convert character references in HTMLParser

2013-11-23 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the reviews! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19655] Replace the ASDL parser carried with CPython

2013-11-23 Thread anatoly techtonik
anatoly techtonik added the comment: +1 for initiative, points that are nice to be addressed are below. 1. "Python 3.4 with modern idioms" - too Python-specific code raises the barrier. I'd prefer simplicity and portability over modernism. Like how hard is it to port the parser into JS with Py

[issue19639] Improve re match objects display

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset bbfc559f7190 by Ezio Melotti in branch 'default': #19639: update the repr of the match objects in the docs. Patch by Claudiu Popa. http://hg.python.org/cpython/rev/bbfc559f7190 -- nosy: +python-dev ___

[issue19639] Improve re match objects display

2013-11-23 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue13592] repr(regex) doesn't include actual regex

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: * re.UNICODE omitted for string patterns. * Long patterns are truncated. -- Added file: http://bugs.python.org/file32807/issue13592_add_repr_to_regex_v4.patch ___ Python tracker

[issue19557] ast - docs for every node type are missing

2013-11-23 Thread anatoly techtonik
anatoly techtonik added the comment: http://stackoverflow.com/questions/8370132/what-syntax-is-represented-by-an-extslice-node-in-pythons-ast -- ___ Python tracker ___ __

[issue10712] 2to3 fixer for deprecated unittest method names

2013-11-23 Thread Ezio Melotti
Ezio Melotti added the comment: Here is an updated patch that is the same as my first patch but also includes the documentation provided by Berker (thanks!). -- Added file: http://bugs.python.org/file32808/issue10712-2.diff ___ Python tracker

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: mark.dickinson -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue10712] 2to3 fixer for deprecated unittest method names

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue10712] 2to3 fixer for deprecated unittest method names

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc0fc4e9b494 by Ezio Melotti in branch 'default': #10712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods. http://hg.python.org/cpython/rev/cc0fc4e9b494 -- nosy: +python-dev ___

[issue10712] 2to3 fixer for deprecated unittest method names

2013-11-23 Thread Ezio Melotti
Ezio Melotti added the comment: Committed in 3.4, I'll backport it to 2.7/3.3 later. Thanks for the review! -- stage: patch review -> commit review ___ Python tracker ___ ___

[issue19545] time.strptime exception context

2013-11-23 Thread Claudiu.Popa
Changes by Claudiu.Popa : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: So I think the right approach here is to signal an error if the input string is longer than INT_MAX. The the safe downcast really *is* a safe downcast. -- ___ Python tracker

[issue13788] os.closerange optimization

2013-11-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: gregory.p.smith -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16134] Add support for RTMP schemes to urlparse

2013-11-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: i'd like to see a proposed change against the 3.4 standard library for this with tests. -- assignee: gregory.p.smith -> ___ Python tracker _

[issue1195571] simple callback system for Py_FatalError

2013-11-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: i obviously didn't add this to 3.3, unassigning to reflect the attention it (isn't) currently getting. sorry! -- assignee: gregory.p.smith -> ___ Python tracker _

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses Ezio's comments. -- Added file: http://bugs.python.org/file32809/deprecate-U-mode_3.patch ___ Python tracker ___ _

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: I'm thinking of something like the attached patch, which limits nd to 2 billion, comfortably within the range of int on machines that Python's likely to meet. (If anyone's worried about machines with ints smaller than 32 bits, we could add a configure check f

[issue19699] Update zipimport for PEP 451

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

[issue19697] refactor pythonrun.c to make use of specs (__main__.__spec__)

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

[issue19698] Implement _imp.exec_builtin and exec_dynamic

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

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-11-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: For reference the current state of things for this is the proposal in: https://mail.python.org/pipermail/python-dev/2013-May/126196.html With a prototype using a ctypes based implementation as proof of concept in https://github.com/benhoyt/scandir. A combin

[issue19700] Update runpy for PEP 451

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

[issue19702] Update pickle to PEP 451

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

[issue19704] Update test.test_threaded_import to PEP 451

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

[issue19701] Update multiprocessing for PEP 451

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

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: > So size_t should be used instead ("s - s1" is unsigned, s >= s1). That was one of my original thoughts, but the size_t would then creep into all the exponent calculations, requiring fairly substantial changes throughout the code. That's not something I'd wa

[issue19739] Legit compiler warnings in new pickle code on 32-bit Windows

2013-11-23 Thread Tim Peters
New submission from Tim Peters: 1>..\Modules\_pickle.c(710): warning C4293: '>>' : shift count negative or too big, undefined behavior 1>..\Modules\_pickle.c(711): warning C4293: '>>' : shift count negative or too big, undefined behavior 1>..\Modules\_pickle.c(712): warning C4293: '>>' : shift

[issue19703] Upate pydoc to PEP 451

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

[issue19705] Update test.test_namespace_pkgs to PEP 451

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

[issue19706] Check if inspect needs updating for PEP 451

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

[issue19708] Check pkgutil for anything missing for PEP 451

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

[issue19739] Legit compiler warnings in new pickle code on 32-bit Windows

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, there is actually a bug which shows up as errors in the tests. I'm currently testing a patch for it. -- ___ Python tracker ___ ___

[issue19707] Check if unittest.mock needs updating for PEP 451

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

[issue19710] Make sure documentation for PEP 451 is finished

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

[issue19711] add test for changed portions after reloading a namespace package

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

[issue19712] Make sure there are exec_module tests for _LoaderBasics subclasses

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

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

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

[issue19713] Deprecate various things in importlib thanks to PEP 451

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

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file32810/limit_dtoa_string.patch ___ Python tracker ___ ___ Python-bugs-list

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: Whoops; half-baked patch. This one's better (but still not as tested as I'd like). -- Added file: http://bugs.python.org/file32811/limit_dtoa_string.patch ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d719975f4d25 by Christian Heimes in branch 'default': Issue #17810: Add NULL check to save_frozenset http://hg.python.org/cpython/rev/d719975f4d25 -- ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c54becd69805 by Christian Heimes in branch 'default': Issue #17810: return -1 on error http://hg.python.org/cpython/rev/c54becd69805 -- ___ Python tracker

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: Christian: I don't think this code is safe: -nd0 = nd = s - s1; +tmp = s - s1; +nd0 = nd = Py_SAFE_DOWNCAST(tmp, Py_SSIZE_T, int); The result of the Py_SAFE_DOWNCAST could be almost anything, and in particular could be negative. It would take a c

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: Mark, I was talking about the attached "fix" (or more a workaround). You are right, my initial patch wasn't a good idea. -- Added file: http://bugs.python.org/file32812/float_overflow.patch ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70bd6f7e013b by Serhiy Storchaka in branch 'default': Issue #15204: Deprecated the 'U' mode in file-like objects. http://hg.python.org/cpython/rev/70bd6f7e013b -- nosy: +python-dev ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset a02adfb3260a by Christian Heimes in branch 'default': Issue #17810: Add two missing error checks to save_global http://hg.python.org/cpython/rev/a02adfb3260a -- ___ Python tracker

[issue15204] Deprecate the 'U' open mode

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Victor and Ezio for the reviews. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: Ah, sorry; I misunderstood. Yep, that looks like a fine solution to me. -- ___ Python tracker ___ _

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: And if you limit the length to a little less than INT_MAX, I don't think you need to modify dtoa.c at all. -- ___ Python tracker ___ __

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e16c8c34e69 by Christian Heimes in branch 'default': Issue #17810: Fixed NULL check in _PyObject_GetItemsIter() http://hg.python.org/cpython/rev/3e16c8c34e69 -- ___ Python tracker

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: PyOS_string_to_double() is a public function. The check is needed in case 3rd party code uses it without extra checks. -- ___ Python tracker

[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-23 Thread Mark Dickinson
Mark Dickinson added the comment: > PyOS_string_to_double() is a public function. The check is needed in case > 3rd party code uses it without extra checks. In that case, I'd suggest something more like my modifications to dtoa.c. By the time that you end up with a negative 'e', all sorts of

[issue19641] Add audioop.byteswap()

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset fbebc90abcd1 by Serhiy Storchaka in branch 'default': Issue #19641: Added the audioop.byteswap() function to convert big-endian http://hg.python.org/cpython/rev/fbebc90abcd1 -- nosy: +python-dev ___ Pytho

[issue19641] Add audioop.byteswap()

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have committed simplified patch, without optimization for 1-byte samples. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue19739] Legit compiler warnings in new pickle code on 32-bit Windows

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've fixed the first 4 in 458340ed0606 and the signed/unsigned warning in c3fd79b17983. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue13592] repr(regex) doesn't include actual regex

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c00677da6c0 by Serhiy Storchaka in branch 'default': Issue #13592: Improved the repr for regular expression pattern objects. http://hg.python.org/cpython/rev/8c00677da6c0 -- nosy: +python-dev ___ Python

[issue19308] Tools/gdb/libpython.py does not support GDB linked against Python 3

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: The buildbots look ok now. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue13592] repr(regex) doesn't include actual regex

2013-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue13592] repr(regex) doesn't include actual regex

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Hugo for your contribution. Thank you Thomas and Ezio for your reviews and suggestions. -- ___ Python tracker ___ _

[issue16203] Proposal: add re.fullmatch() method

2013-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16203] Proposal: add re.fullmatch() method

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89dfa2671c83 by Serhiy Storchaka in branch 'default': Issue #16203: Add re.fullmatch() function and regex.fullmatch() method, http://hg.python.org/cpython/rev/89dfa2671c83 -- ___ Python tracker

[issue16203] Proposal: add re.fullmatch() method

2013-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed with additional test (re.fullmatch('a+', 'ab')) which proves that change for SRE_OP_REPEAT_ONE are needed. Thank you Matthew for your contribution. -- ___ Python tracker

[issue16203] Proposal: add re.fullmatch() method

2013-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bug

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this is more of a documentation issue. People who don't want a new fd can hardcode PollSelector (poll has been POSIX for a long time). -- nosy: +pitrou ___ Python tracker

[issue19736] posixmodule.c: Add flags for statvfs.f_flag to constant list

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19735] ssl._create_stdlib_context

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03cc1b55faae by Christian Heimes in branch 'default': Issue #19735: Implement private function ssl._create_stdlib_context() to http://hg.python.org/cpython/rev/03cc1b55faae -- nosy: +python-dev ___ Python

[issue19735] ssl._create_stdlib_context

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: Thanks Antoine! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Tim Peters
Tim Peters added the comment: Just noting for the record that a C double (time.time() result) isn't quite enough to hold a full-precision Windows time regardless: >>> from datetime import date >>> d = date.today() - date(1970, 1, 1) >>> s = int(d.total_seconds()) # seconds into "the epoch" >>>

[issue19722] Expose stack effect calculator to Python

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Attached is revision 3 of the patch. I'm gonna check it in pretty soon, so as to make beta (and feature freeze). I changed the API so the oparg is optional, and it raises if it gets one it shouldn't have or didn't get one when it should. -- Added fil

[issue19736] posixmodule.c: Add flags for statvfs.f_flag to constant list

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: LGTM The patch has no doc updates, though. -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps we need a time_ns() method? (returning an integer timestamp in nanoseconds) -- ___ Python tracker ___ _

[issue19730] Clinic fixes: add converters with length, version directive, "self converter"

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Attached is a fresh patch. I added a third new feature: the "self converter", which allows you to change the type of (or rename) self. For an example of its use, check out dbm.dbm.get in Modules/_dbmmodule.c. -- title: Clinic fixes: add converters wi

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Tim Peters
New submission from Tim Peters: With current default branch, test_asyncio always fails on my 32-bit Windows Vista box, in test_wait_for_handle: test test_asyncio failed -- Traceback (most recent call last): File "C:\Code\Python\lib\test\test_asyncio\test_windows_events.py", line 122, in test

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think this issue can be resolved by reducing the loss to the maximum available precision; it's about time.time(), after all. I don't think pygettimeofday can change; gettimeofday traditionally has only µs. So the issue really is that it is used in implement

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Tim Peters
Tim Peters added the comment: I agree overall with Martin, although time.time() could be made a little better on Windows by getting the Windows time directly (instead of "needlessly" losing info by going thru pygettimeofday). -- ___ Python tracker

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-11-23 Thread Charles-François Natali
Charles-François Natali added the comment: > Antoine Pitrou added the comment: > > I think this is more of a documentation issue. People who don't want a new fd > can hardcode PollSelector (poll has been POSIX for a long time). That's also what I now think. I don't think that the use case is co

[issue19465] selectors: provide a helper to choose a selector using constraints

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Pyth

[issue19674] Add introspection information for builtins

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Fresh patch attached. pydoc now uses inspect.signature instead of inspect.getfullargspec to generate the arguments for the function, and supports builtins. That's everything :D Planning on checking this in pretty soon, to get it in for beta (which hopefully

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Martin: I think the best choice would be a decimal object--which, now that we have decimal in C, is probably sufficiently performant for serious consideration. -- nosy: +larry ___ Python tracker

[issue16203] Proposal: add re.fullmatch() method

2013-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue19722] Expose stack effect calculator to Python

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5fe72b9ed48e by Larry Hastings in branch 'default': Issue #19722: Added opcode.stack_effect(), which accurately http://hg.python.org/cpython/rev/5fe72b9ed48e -- nosy: +python-dev ___ Python tracker

[issue19722] Expose stack effect calculator to Python

2013-11-23 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19726] BaseProtocol is not an ABC

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think it's necessary either. They don't *need* to be ABCs, but if they aren't the docstring should be fixed :) -- ___ Python tracker __

[issue19730] Clinic fixes: add converters with length, version directive, "self converter"

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 760ccd78e874 by Larry Hastings in branch 'default': Issue #19730: Argument Clinic now supports all the existing PyArg http://hg.python.org/cpython/rev/760ccd78e874 -- nosy: +python-dev ___ Python tracker

[issue19730] Clinic fixes: add converters with length, version directive, "self converter"

2013-11-23 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19726] BaseProtocol is not an ABC

2013-11-23 Thread Guido van Rossum
Guido van Rossum added the comment: I'm not sure that "ABC" implies "an instance of abc.ABC". It's still an abstract base class (in the usual definition of that concept) even if it doesn't enforce anything. I propose to close this as wontfix. -- __

[issue19358] Integrate "Argument Clinic" into CPython build

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29370c25e0f1 by Larry Hastings in branch 'default': Issue #19358: "make clinic" now runs the Argument Clinic preprocessor http://hg.python.org/cpython/rev/29370c25e0f1 -- nosy: +python-dev ___ Python trac

[issue19358] Integrate "Argument Clinic" into CPython build

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Fixed. By the way, this checkin also added a tiny new feature to Argument Clinic: if the file hasn't changed, it doesn't bother to rewrite it (or touch it in any way). -- assignee: -> larry resolution: -> fixed stage: patch review -> commit review s

[issue19737] Documentation of globals() and locals() should be improved

2013-11-23 Thread Zahari Dim
Zahari Dim added the comment: I am looking at the docs of the built-in functions: http://docs.python.org/2/library/functions.html -- ___ Python tracker ___ _

[issue19674] Add introspection information for builtins

2013-11-23 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19674] Add introspection information for builtins

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78ec18f5cb45 by Larry Hastings in branch 'default': Issue #19674: inspect.signature() now produces a correct signature http://hg.python.org/cpython/rev/78ec18f5cb45 -- nosy: +python-dev ___ Python tracker

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Richard Oudkerk
Richard Oudkerk added the comment: It would be nice to try this on another Vista machine - the WinXP, Win7, Windows Server 2003 and Windows Server 2008 buildbots don't seem to show this failure. It looks as though the TimerOrWaitFired argument passed to the callback registered with RegisterWa

[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-23 Thread STINNER Victor
New submission from STINNER Victor: Christian posted me this warning on IRC: ** CID 1131947: Unchecked return value (CHECKED_RETURN) /Modules/_tracemalloc.c: 462 in tracemalloc_log_alloc() -- messages: 204131 nosy: christian.heimes, haypo priority: normal severity: normal status: ope

[issue19738] pytime.c loses precision under Windows

2013-11-23 Thread STINNER Victor
STINNER Victor added the comment: > I think the best choice would be a decimal object--which, now that we have > decimal in C, is probably sufficiently performant for serious consideration. This idea was rejected: see the PEP 410 :-) -- ___ Python t

[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: The functions can't signal an error because it has void as return type. -- ___ Python tracker ___

[issue13477] tarfile module should have a command line

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset a5b6c8cbc473 by Serhiy Storchaka in branch 'default': Issue #13477: Added command line interface to the tarfile module. http://hg.python.org/cpython/rev/a5b6c8cbc473 -- nosy: +python-dev ___ Python tracke

<    1   2   3   >