[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2013-11-23 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > New changeset 3912934e99ba by Serhiy Storchaka in branch '2.7': > Issue #19733: Temporary disable test_image on MacOSX. > http://hg.python.org/cpython/rev/3912934e99ba This commit introduced SyntaxError in Lib/lib-tk/test/test_tkinter/tes

[issue19734] venv and ensurepip are affected by pip environment variable settings

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: test_venv appears to be green on all the stable buildbots now. However, blocking PIP_REQUIRE_VIRTUALENV in the test probably isn't the right place for workaround - resolution in venv or ensurepip would be more appropriate. -- priority: release blocker

[issue19700] Update runpy for PEP 451

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: D'oh, I forgot there was a runpy API change I planned to offer as part of the PEP 451 integration: exposing a "target" parameter in both run_path and run_module. http://www.python.org/dev/peps/pep-0451/#the-target-parameter-of-find-spec I guess that slips to 3.

[issue3158] Doctest fails to find doctests in extension modules

2013-11-23 Thread Zachary Ware
Zachary Ware added the comment: One-year-olds don't like productivity. Committed, 3 hours after I said I would :). I'll leave this open for a couple days just in case. -- assignee: -> zach.ware resolution: -> fixed stage: -> commit review status: open -> pending __

[issue3158] Doctest fails to find doctests in extension modules

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95dc3054959b by Zachary Ware in branch 'default': Issue #3158: doctest can now find doctests in functions and methods http://hg.python.org/cpython/rev/95dc3054959b -- nosy: +python-dev ___ Python tracker

[issue19545] time.strptime exception context

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

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Also noting that the reason for the dummy ssl in the venv would be to provoke the "SSL/TLS not available" behaviour when running the tests in a Python that actually has those pieces (since the buildbots will have them available unless something goes wrong with t

[issue19694] test_venv failing on one of the Ubuntu buildbots

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Using isolated mode addressed the warning noise, issue 19734 covers additional environment dependent problems in the test. -- ___ Python tracker

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 124e51c19e4f by Nick Coghlan in branch 'default': Issue #19734: Also run pip version check in isolated mode http://hg.python.org/cpython/rev/124e51c19e4f -- ___ Python tracker

[issue19747] New failures in test_pickletools on 32-bit Windows Vista

2013-11-23 Thread Tim Peters
Tim Peters added the comment: OK! This went away after a68c303eb8dc was checked in. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue19747] New failures in test_pickletools on 32-bit Windows Vista

2013-11-23 Thread Tim Peters
New submission from Tim Peters: Alexandre, this started after your latest checkin (to finish the framing work): == FAIL: test_framing_large_objects (test.test_pickletools.OptimizedPickleTests) (proto=4)

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9186fdae7e1f by Nick Coghlan in branch 'default': Issue #19734: Ensure test_venv ignores PIP_REQUIRE_VIRTUALENV http://hg.python.org/cpython/rev/9186fdae7e1f -- ___ Python tracker

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Confirmed: $ PIP_REQUIRE_VIRTUALENV=true ./python -m test test_venv [1/1] test_venv test test_venv failed -- Traceback (most recent call last): File "/home/ncoghlan/devel/py3k/Lib/test/test_venv.py", line 298, in test_with_pip self.run_with_capture(venv.cre

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: test_venv is now passing on 3.x OpenIndiana: http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/7129/steps/test/logs/stdio Ubuntu LTS buildbot is still unhappy: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3221/st

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Tim Peters
Tim Peters added the comment: [Alexandre Vassalotti] > I've finalized the framing implementation in de9bda43d552. > > There will be more improvements to come until 3.4 final. However, feature-wise > we are done. Thank you everyone for the help! Woo hoo! Thank YOU for the hard work - I know how

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-23 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I've finalized the framing implementation in de9bda43d552. There will be more improvements to come until 3.4 final. However, feature-wise we are done. Thank you everyone for the help! -- status: open -> closed ___

[issue15397] Unbinding of methods

2013-11-23 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- resolution: -> duplicate status: open -> closed superseder: -> Implement PEP 3154 (pickle protocol 4) ___ Python tracker ___ __

[issue3158] Doctest fails to find doctests in extension modules

2013-11-23 Thread Zachary Ware
Zachary Ware added the comment: In the absence of input, I'm going to go ahead and commit this just in case in needs to be in before feature freeze, but I'll leave the issue open at "commit review" stage for a few days in case anyone does have something to say about it. -- ___

[issue19742] pathlib group unittests can fail

2013-11-23 Thread Ned Deily
Ned Deily added the comment: You should be able to find the group and group name using the "Directory Utility" app. The easiest way to launch it is from a shell with: open "/System/Library/CoreServices/Directory Utility.app" There is a command line utility, dscl, but it is much more painful.

[issue15009] urlsplit can't round-trip relative-host urls.

2013-11-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19746] No introspective way to detect ModuleImportFailure

2013-11-23 Thread Robert Collins
New submission from Robert Collins: https://bugs.launchpad.net/testtools/+bug/1245672 was filed on testtools recently. It would be easier to fix that if there was some way that something loading a test suite could check to see if there were import errors. The current code nicely works in the c

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c080ee796a6 by Nick Coghlan in branch 'default': Issue #19734: ctypes resource management fixes http://hg.python.org/cpython/rev/7c080ee796a6 -- ___ Python tracker __

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue16134] Add support for RTMP schemes to urlparse

2013-11-23 Thread Martin Panter
Martin Panter added the comment: Looks like Issue 9374 already covers most of this, with fixes in 2.7, 3.2 and 3.3. $ python3.3 Python 3.3.2 (default, May 16 2013, 23:40:52) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from urllib.parse import

[issue19347] PEP 453 implementation tracking issue

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 19744 covers better handling of the case where SSL/TLS support is not available in the current Python. -- ___ Python tracker ___ __

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Temporarily skipped the test to appease the build bots for the beta release, but this should be changed so that ensurepip refuses to bootstrap pip if SSL/TLS support is not available. test_venv would then be updated to check for the appropriate behaviour (e.g. b

[issue19744] test_venv failing on 32-bit Windows Vista

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9891ba920f3c by Nick Coghlan in branch 'default': Issue #19744 (temp workaround): without ssl, skip pip test http://hg.python.org/cpython/rev/9891ba920f3c -- nosy: +python-dev ___ Python tracker

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +dstufft ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: OpenIndiana failure looks like a resource management issue in ctypes: == FAIL: test_with_pip (test.test_venv.EnsurePipTest) -- Tr

[issue19745] TEST_DATA_DIR for out-of-tree builds

2013-11-23 Thread Christian Heimes
New submission from Christian Heimes: test.support declares a TEST_DATA_DIR directory inside the source tree of Python: TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__)) TEST_HOME_DIR = os.path.dirname(TEST_SUPPORT_DIR) TEST_DATA_DIR = os.path.join(TEST_HOME_DIR, "data") make distc

[issue19744] test_venv failing on 32-bit Windows Vista

2013-11-23 Thread Tim Peters
Tim Peters added the comment: FYI, here's the new output: [1/1] test_venv test test_venv failed -- Traceback (most recent call last): File "C:\Code\Python\lib\test\test_venv.py", line 289, in test_with_pip self.run_with_capture(venv.create, self.env_dir, with_pip=True) subprocess.CalledPro

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

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: I think we should definitely support them, I just haven't thought of a way to do that yet which is cleaner than the status quo (it's only the loader part of the API that isn't fully covered - the rest of the legacy APIs can be deprecated happily). I may come up wit

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: That specific stack trace is from the commit where I inadvertently reverted the isolated mode fix - the pip installation test is always run with PYTHONWARNINGS=e now to make sure it will fail in non-isolated mode. --

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Christian, that was my original theory in issue 19694 (since that box runs with PYTHONWARNINGS=d set), but it doesn't look like it is the problem, since running in isolated mode didn't fix the issue (although it did suppress the warnings). -- _

[issue13244] WebSocket schemes in urllib.parse

2013-11-23 Thread Martin Panter
Martin Panter added the comment: Suspect this is now fixed in a generic way by Issue 9374. The fix seems to be in 2.7, 3.2 and 3.3. $ python3.3 Python 3.3.2 (default, May 16 2013, 23:40:52) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from url

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Christian Heimes
Christian Heimes added the comment: Could a deprecation warning cause the failing test? Traceback (most recent call last): File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "C:\buildbot.python.org

[issue19744] test_venv failing on 32-bit Windows Vista

2013-11-23 Thread Tim Peters
Tim Peters added the comment: Ah, I didn't even notice the "S" in "HTTPS"! I'm not building the SSL cruft on my box, so it's not surprising that anything requiring it would fail. It is surprising that this is the only test that _does_ fail without it ;-) -- _

[issue19743] test_gdb failures

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: The test passes if I turn on "--with-pydebug". And Antoine told me in IRC that he sees the failure if he turns off "--with-pydebug". So we're in business. -- ___ Python tracker

[issue19743] test_gdb failures

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, it seems the failures are due to a non-pydebug build. I'll investigate tomorrow. -- ___ Python tracker ___

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 989de1a267b1 by Nick Coghlan in branch 'default': Issue #19734: venv still needs isolated mode http://hg.python.org/cpython/rev/989de1a267b1 -- ___ Python tracker

[issue19743] test_gdb failures

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: That's correct, it is skipped. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19743] test_gdb failures

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: If you go back one revision, test_gdb isn't run at all, right? (it should be skipped) -- ___ Python tracker ___

[issue19744] test_venv failing on 32-bit Windows Vista

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Interesting - this isn't *quite* a duplicate of the buildbot failures in issue 19734 (at least, I don't think it is - the extra diagnostics I just checked in should tell us for sure). Since pip isn't useful without HTTPS, we may want to add a check for ssl supp

[issue9374] urlparse should parse query and fragment for arbitrary schemes

2013-11-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19743] test_gdb failures

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: The first bad revision is: changeset: 87426:9f2a0043396b user:Antoine Pitrou date:Sat Nov 23 17:40:36 2013 +0100 files: Lib/test/test_gdb.py Tools/gdb/libpython.py description: Issue #19308: fix the gdb plugin on gdbs linked with Python 3

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb598129837c by Nick Coghlan in branch 'default': Issue 19734: better diagnostics for test_venv failures http://hg.python.org/cpython/rev/cb598129837c -- nosy: +python-dev ___ Python tracker

[issue19744] test_venv failing on 32-bit Windows Vista

2013-11-23 Thread Tim Peters
New submission from Tim Peters: With the current default branch, test_venv fails every time for me: [1/1] test_venv Traceback (most recent call last): File "C:\Code\Python\lib\runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "C:\Code\Python\lib\runpy.

[issue19715] test_touch_common failure under Windows

2013-11-23 Thread Tim Peters
Tim Peters added the comment: [MvL] > A. t1=t2=1385161652120375500 > B. pygettimeofday truncates this to 1385161652.120375 > C. time.time() converts this to float, yielding > 0x1.4a3f8ed07b439p+30 i.e. > (0.6450161580556887, 31) > 1385161652.120375 (really .1203749566283776) > D. _PyTime_Ob

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Nick: I get that gdb failure, bisecting now. See #19743. -- ___ Python tracker ___ ___ Python-bugs-

[issue19734] test_venv.test_with_pip() fails on "AMD64 Ubuntu LTS 3.x" buildbot

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Bumping priority and adding Larry to the nosy list Checking the latest results from the systems listed above: Ubuntu LTS still failing due to this: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3213/steps/test/logs/stdio (added Łukas

[issue19743] test_gdb failures

2013-11-23 Thread Larry Hastings
Larry Hastings added the comment: Please see the attached output from the test run. But here's a sample: == FAIL: test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists -

[issue19743] test_gdb failures

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > test_gdb started failing on me within the past few days Can you please bisect to find the offending changeset? -- ___ Python tracker ___

[issue19545] time.strptime exception context

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

[issue19743] test_gdb failures

2013-11-23 Thread Larry Hastings
New submission from Larry Hastings: test_gdb started failing on me within the past few days. (I would have reported it sooner but I figured the omniscient CPython core dev community already knew about it.) The machine it's failing on is Ubuntu 13.10, 64-bit. -- components: Tests file

[issue19691] Weird wording in RuntimeError doc

2013-11-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19742] pathlib group unittests can fail

2013-11-23 Thread Guido van Rossum
New submission from Guido van Rossum: When running test_pathlib on my OSX (10.8) laptop I get these errors: == ERROR: test_group (test.test_pathlib.PathTest) --

[issue19742] pathlib group unittests can fail

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the KeyError is legitimate then (it's even in the docs :-)). The test will probably have to be skipped in this case. -- ___ Python tracker ___

[issue19740] test_asyncio problems on 32-bit Windows

2013-11-23 Thread Tim Peters
Tim Peters added the comment: @sbt, this is reproducible every time for me, so if there's anything you'd like me to try, let me know. I don't know anything about this code, and gave up after half an hour of trying to find out _where_ `False` was coming from - too convoluted for this old brain

[issue19726] BaseProtocol is not an ABC

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Well, it *is* abstract because it has no implementations and all the > methods raise NotImplementedError. We can do better in the .rst docs though. I didn't know what to do with it, so I didn't mention it at all in the .rst docs :-) -- __

[issue19726] BaseProtocol is not an ABC

2013-11-23 Thread Guido van Rossum
Guido van Rossum added the comment: Well, it *is* abstract because it has no implementations and all the methods raise NotImplementedError. We can do better in the .rst docs though. -- ___ Python tracker __

[issue19726] BaseProtocol is not an ABC

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, IMHO it's better spelt "base class" if it isn't technically an ABC. At least I was personally a bit surprised at first. -- ___ Python tracker ___

[issue13477] tarfile module should have a command line

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70b9d22b900a by Serhiy Storchaka in branch 'default': Build a list of supported test tarfiles dynamically for CLI "test" command http://hg.python.org/cpython/rev/70b9d22b900a -- ___ Python tracker

[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

2013-11-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- title: distutils.utils.get_platform() for 32-bit Python on a 64-bit machine -> distutils.utils.get_platform() for 32-bit Python on a 64-bit machine ___ Python tracker __

[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

2013-11-23 Thread David Jones
David Jones added the comment: Has there been any progress made on fixing this? I ran into this trying to install numpy via pip, 32-bit python installation on 64-bit Centos 6.4. It get's the compile flags right, but not the linker: C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -m32 -DND

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

2013-11-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[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

[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 ___

[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 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

[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

[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

[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 ___ _

[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 ___ _

[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

[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

[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. -- __

[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 ___ _

[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

[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 __

[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 ___ _

[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

[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:/

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 ___ _

[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 ___ ___

[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

[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" >>>

[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 ___ _

[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

[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

[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

[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

  1   2   3   >