[issue24308] Test failure: test_with_pip (test.test_venv.EnsurePipTest in 3.x

2015-06-01 Thread Ned Deily
Ned Deily added the comment: This is covered by Issue24267; let's track it there. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_venv.EnsurePipTest.test_with_pip triggers version check over network _

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-06-01 Thread Matthias Bussonnier
New submission from Matthias Bussonnier: The argparse Namespace can be missleading in case where the args names are not valid identifiers, eg thinks like a closing bracket: In [5]: Namespace(a=1, **{')':3}) Out[5]: Namespace()=3, a=1) more funny: In [3]: Namespace(a=1, **{s:3}) Out[3]: Namesp

[issue24267] test_venv.EnsurePipTest.test_with_pip triggers version check over network

2015-06-01 Thread Ned Deily
Ned Deily added the comment: All of the 3.x buildbots are broken again due to the pip 7.0.3 update. == FAIL: test_with_pip (test.test_venv.EnsurePipTest) -- Tra

[issue24359] C OrderedDict needs to check for changes during iteration

2015-06-01 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue24359] C OrderedDict needs to check for changes during iteration

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 141eb4d1b766 by Eric Snow in branch '3.5': Issue #24359: Check for changed OrderedDict size during iteration. https://hg.python.org/cpython/rev/141eb4d1b766 -- nosy: +python-dev ___ Python tracker

[issue24358] Should compression file-like objects provide .fileno(), misleading subprocess?

2015-06-01 Thread Martin Panter
Martin Panter added the comment: Also related: Issue 23740, where the HTTP client assumes it can use stat() on the fileno() to determine the Content-Length. Providing fileno() on file wrapper objects like GzipFile is certainly not necessary, but it could be useful. For instance in the tarfile

[issue24359] C OrderedDict needs to check for changes during iteration

2015-06-01 Thread Eric Snow
New submission from Eric Snow: Currently test_detect_deletion_during_iteration is disabled for the C implementation of OrderedDict. The test needs to pass after being enabled. -- assignee: eric.snow components: Library (Lib) messages: 244651 nosy: eric.snow priority: release blocker se

[issue24348] incorrect decref in C OrderedDict

2015-06-01 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue24348] incorrect decref in C OrderedDict

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8631b88c23f6 by Eric Snow in branch '3.5': Issue #24348: Drop superfluous increfs/decrefs. https://hg.python.org/cpython/rev/8631b88c23f6 -- nosy: +python-dev ___ Python tracker

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a7c34e23ec9 by Eric Snow in branch '3.5': Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. https://hg.python.org/cpython/rev/1a7c34e23ec9 -- nosy: +python-dev ___ Python tracker

[issue12020] Attribute error with flush on stdout,stderr

2015-06-01 Thread Martin Panter
Martin Panter added the comment: I wouldn’t expect to see a message for stderr because there is nowhere else to send the message. However with my patch for Issue 5319, at least we get a non-zero exit status. Brandon: I agree this should be under sys.stdin/out/err; I wasn’t saying to put it un

[issue5319] stdout error at interpreter shutdown fails to return OS error status

2015-06-01 Thread Martin Panter
Martin Panter added the comment: Updated patch resolving minor merge conflicts with current code, a coding style fix, and some tweaks and syntax fixes to the documentation. -- stage: -> patch review versions: +Python 3.5, Python 3.6 -Python 3.1, Python 3.2 Added file: http://bugs.pytho

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ae3418fe63e by Ned Deily in branch '2.7': Issue #24357: use example.org instead https://hg.python.org/cpython/rev/5ae3418fe63e New changeset dbf3aa36bea7 by Ned Deily in branch '3.4': Issue #24357: use example.org instead https://hg.python.org/cpyt

[issue22442] Deprecate PIPE with subprocess.check_call() and call()

2015-06-01 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: 3.5 have `subprocess.run`[1] that is much saner to use, and what you want to use in most cases. `call` and `check_call` docs even mention run. [1]: https://docs.python.org/3.5/library/subprocess.html#subprocess.run -- nosy: +mbussonn

[issue22442] Deprecate PIPE with subprocess.check_call() and call()

2015-06-01 Thread Martin Panter
Martin Panter added the comment: I agree with the deprecation idea. The parameter checking logic doesn’t seem right though; see Reitveld. Also, I would have made the warning specify exactly what is deprecated, in case the stack trace doesn’t identify the function, which I think would always ha

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Ned Deily
Ned Deily added the comment: We decided to use google.com as an example instead. (And I tested the tracker upgrade by fixing the wrong initial typo that I had made.) -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread Carol Willing
Carol Willing added the comment: David, Sounds good to me. I'll submit a patch with Graham's suggested text and move the See also box up right after the PEP reference. Thanks, Carol -- ___ Python tracker ___

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb12d742b70c by Ned Deily in branch '3.4': Issue #24357: fix real typo https://hg.python.org/cpython/rev/fb12d742b70c New changeset 5bfa78bf0607 by Ned Deily in branch '3.5': Issue #24357: merge from 3.4 https://hg.python.org/cpython/rev/5bfa78bf060

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread R. David Murray
R. David Murray added the comment: I think Graham's formulation provides more information. venv already has a "new in python 3.3" at the top (just before that sentence), so putting that in the text feels redundant. On the other hand, the current placement of the 'see also' box looks odd, unl

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread Carol Willing
Carol Willing added the comment: Current version Each virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories. Another suggested revision Since its i

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset acf4dbd99d11 by Ned Deily in branch '3.4': Issue #24357: fix typo https://hg.python.org/cpython/rev/acf4dbd99d11 New changeset fcb415e5b40b by Ned Deily in branch '3.5': Issue #24357: merge from 3.4 https://hg.python.org/cpython/rev/fcb415e5b40b Ne

[issue2771] Test issue

2015-06-01 Thread Ezio Melotti
Ezio Melotti added the comment: test message via email -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue2771] Test issue

2015-06-01 Thread Ezio Melotti
Ezio Melotti added the comment: test after roundup upgrade -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks, Nick! I'll commit the patch with your error message (it's much better!) -- ___ Python tracker ___ _

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread Graham Oliver
Graham Oliver added the comment: ok current version Each virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories. Suggested Alternative Each virtual

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset b461d900fdb5 by Ned Deily in branch '3.4': Issue #24357: Change host in socket.getaddrinfo example to one that https://hg.python.org/cpython/rev/b461d900fdb5 New changeset 22b77f859521 by Ned Deily in branch '3.5': Issue #24357: merge from 3.4 https

[issue24358] Should compression file-like objects provide .fileno(), misleading subprocess?

2015-06-01 Thread Josh Rosenberg
Josh Rosenberg added the comment: Apparently similar issue occurs when tarfile assumes a GzipFile can have its fileno() fstat-ed (see #22468). An awful lot of libraries seem to assume that fileno() will provide useful information about the data you'd read from the file-like object itself, but

[issue24353] NameError: name 'path_separators' is not defined

2015-06-01 Thread R. David Murray
Changes by R. David Murray : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread R. David Murray
R. David Murray added the comment: Hmm. We don't in general mention 2.7 in the python3 docs (in fact I found only one mention of it, in the logging package docs). I suppose this might be confusing enough to warrant it. But it might be better to rewrite that sentence to make it clear that th

[issue24357] Change socket.getaddrinfo example to show IPv6 connectivity

2015-06-01 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. According to the PSF Infrastructure Team, www.python.org currently does not support IPv6 because the Content Delivery Network that we now use does not support it yet. One Python URL that does support IPv6: >>> socket.getaddrinfo("hg.python.o

[issue24349] Null pointer dereferences in C OrderedDict

2015-06-01 Thread Eric Snow
Eric Snow added the comment: Correct me if I'm wrong, but this is a duplicate of the bug Stefan reported in issue24347. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> unchecked return value in C OrderedDict ___

[issue4753] Faster opcode dispatch on gcc

2015-06-01 Thread R. David Murray
R. David Murray added the comment: Please open a new issue with the details about your problem. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Eric Snow
Eric Snow added the comment: Using PyDict_GetItemWithError() is a good idea. Also, raising KeyError when the value is NULL (and no errors set) eliminates the crash. Here's a patch that fixes the problem. Unless there are any objections, I'll commit it in a couple hours. -- stage: t

[issue24358] Should compression file-like objects provide .fileno(), misleading subprocess?

2015-06-01 Thread Josh Rosenberg
New submission from Josh Rosenberg: subprocess, when accepting objects for stdin, stdout, and stderr, assumes that possessing a .fileno() means it's a legitimate object for use with the forked process; that the file descriptor is interchangeable with the object itself. But gzip, bz2 and lzma f

[issue24357] www.python.org lost IPv6 connectivity

2015-06-01 Thread Paul Marks
New submission from Paul Marks: Python's web servers were formerly reachable from IPv6 clients, as evidenced by this example code for socket.getaddrinfo(): https://docs.python.org/3/library/socket.html#socket.getaddrinfo But today, www.python.org is IPv4-only: >>> import socket >>> socket.get

[issue24355] Provide a unittest api for controlling verbosity in tests

2015-06-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2015-06-01 Thread Nick Coghlan
Changes by Nick Coghlan : -- versions: +Python 3.6 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24353] NameError: name 'path_separators' is not defined

2015-06-01 Thread Ionel Cristian Mărieș
Ionel Cristian Mărieș added the comment: Ooops, sorry for the noise, I had some weird breakage in my virtualenv. -- resolution: -> not a bug status: open -> closed ___ Python tracker __

[issue24258] BZ2File objects do not have name attribute

2015-06-01 Thread Cliff Dyer
Cliff Dyer added the comment: It's probably too late for this to get into 3.5, since we're already in betas. Pushing back to 3.6. -- versions: +Python 3.6 -Python 3.5 ___ Python tracker __

[issue24258] BZ2File objects do not have name attribute

2015-06-01 Thread Cliff Dyer
Cliff Dyer added the comment: I've got a fix for this now. In working on it, I've discovered that not all file-like objects have a .name attribute. io.BytesIO (which is used all over the test suite) does not. I've written a patch that always creates a .name attribute on BZ2File, but sets it

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Nick Coghlan
Nick Coghlan added the comment: Making sure I'm following the issue correctly here: 1. wrapper is a normal function, so there's no change for set_couroutine_wrapper() to detect anything might be amiss 2. any "async def" statement will call the registered coroutine wrapper to wrap the created

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread Graham Oliver
Graham Oliver added the comment: See also https://groups.google.com/d/msg/comp.lang.python/BUmyc_hzAsA/Nx5QgT1gzYEJ -- ___ Python tracker ___

[issue4753] Faster opcode dispatch on gcc

2015-06-01 Thread David Bolen
David Bolen added the comment: I ran a few more tests, and the generated executable hangs in both release and debug builds. The closest I can get at the moment is that it's stuck importing errno from the "import sys, errno" line in os.py - at least no matter how long I wait after starting a p

[issue24356] venv documentation incorrect / misleading

2015-06-01 Thread Graham Oliver
New submission from Graham Oliver: See my question here https://groups.google.com/forum/#!topic/comp.lang.python/BUmyc_hzAsA In particular Carl Meyer's response https://groups.google.com/d/msg/comp.lang.python/BUmyc_hzAsA/-cT-N-g_LL4J I am not sure what is possible with venv but I would suggest

[issue4753] Faster opcode dispatch on gcc

2015-06-01 Thread David Bolen
David Bolen added the comment: The 2.7 back-ported version of this patch appears to have broken compilation on the Windows XP buildbot, during the OpenSSL build process, when the newly built Python is used to execute the build_ssl.py script. After this patch, when that stage executes, and prio

[issue12020] Attribute error with flush on stdout,stderr

2015-06-01 Thread Brandon Milam
Brandon Milam added the comment: I've been looking over the issue and the error is just raised by the stdout change not the stderr change (when the stdout line is commented out in the setAutoFlush function no error is raised). The flush method doesn't seem to be required as Serhiy pointed out

[issue24355] Provide a unittest api for controlling verbosity in tests

2015-06-01 Thread R. David Murray
R. David Murray added the comment: Ah! I *thought* an issue for this already existed, but I couldn't find it. That one has two enhancements in it, maybe we can use this one to diverge the two. -- ___ Python tracker

[issue24355] Provide a unittest api for controlling verbosity in tests

2015-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue22197. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailin

[issue24355] Provide a unittest api for controlling verbosity in tests

2015-06-01 Thread R. David Murray
New submission from R. David Murray: The python regression test suite has a 'verbose' flag in its test.support that some tests and test fixtures (asserts, helper methods, etc) use to control how much additional information they output. unittest has a -v command line flag which controls the ve

[issue24354] Requests Library get issue

2015-06-01 Thread R. David Murray
R. David Murray added the comment: Requests is not part of the python standard library. Please report the issue to the requests bug tracker. -- nosy: +r.david.murray resolution: -> third party stage: -> resolved status: open -> closed ___ Python tr

[issue24354] Requests Library get issue

2015-06-01 Thread loginname
New submission from loginname: requests.get fails to get the website "http://www.merrickbank.com/"; just doesn't get the website, and it freezes up quite a bit -- messages: 244611 nosy: loginname priority: normal severity: normal status: open title: Requests Library get issue type: behav

[issue24351] string.Template documentation incorrectly references "identifiers"

2015-06-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24353] NameError: name 'path_separators' is not defined

2015-06-01 Thread R. David Murray
R. David Murray added the comment: You have a mixture of python2 and python3 involved there, and unless I misunderstand something about pip, that's not going to work. I think this should be reported to the pip bug tracker, but it may be an error at the python installation level or virtual env

[issue24353] NameError: name 'path_separators' is not defined

2015-06-01 Thread Ionel Cristian Mărieș
New submission from Ionel Cristian Mărieș: I get this: Traceback (most recent call last): File "c:\Python27\lib\site-packages\virtualenv\_wheels\pip-7.0.1-py2.py3-none-any.whl\pip\basecommand.py", line 223, in main status = self.run(options, args) File "c:\Python27\lib\site-packages\v

[issue24352] Provide a way for assertLogs to optionally not hide the logging output

2015-06-01 Thread R. David Murray
New submission from R. David Murray: In my test framework I have a 'verbose' flag that causes the logging output to be written to the console[*], which helps greatly during debugging. However, if assertLogs is used, the logging is suppressed, and when debugging logging failures it is really h

[issue24351] string.Template documentation incorrectly references "identifiers"

2015-06-01 Thread July Tikhonov
New submission from July Tikhonov: Documentation of Template says: $identifier names a substitution placeholder matching a mapping key of "identifier". By default, "identifier" must spell a Python identifier. The first non-identifier character after the $ character terminates this placeholder

[issue8232] webbrowser.open incomplete on Windows

2015-06-01 Thread Brandon Milam
Brandon Milam added the comment: Forgive me the excessive number of patch submissions as I am still getting my feet wet in contributing to Python. I'm posting another patch that is not functionally different from the last patch but should better adhere to the PEP8 style guide. Please let me k

[issue24329] __qualname__ and __slots__

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24340] co_stacksize estimate can be highly off

2015-06-01 Thread Armin Rigo
Changes by Armin Rigo : -- nosy: -arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue23767] Library and include paths not added when cross-compiling on localized system

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever title: Library and include paths not added when cross compiling on localized sytem -> Library and include paths not added when cross-compiling on localized system ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: What Lib/plat-$(PLATFORM_TRIPLET) directories will be introduced? This patch would make situation worse on rarely used architectures (these without Lib/plat-$(PLATFORM_TRIPLET) distributed in repository of CPython) if patch for bug #12619

[issue16991] Add OrderedDict written in C

2015-06-01 Thread Steve Dower
Changes by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue24341] Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 is enabled

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24336] Allow arbitrary keywords to @contextmanager functions

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24349] Null pointer dereferences in C OrderedDict

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24348] incorrect decref in C OrderedDict

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24340] co_stacksize estimate can be highly off

2015-06-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Eric Snow
Eric Snow added the comment: Regarding the macros, my intent was to limit leaking the details of the linked list implementation and make it easier to change the linked list implementation later. However, if that results in problems then I'm open to changing it. What would you recommend? ---

[issue24350] dict({'a':'aa'}, a='bb') raises segmentation fault on Mac

2015-06-01 Thread Ned Deily
Changes by Ned Deily : -- resolution: out of date -> duplicate stage: -> resolved superseder: -> python.org Interactive interpreter linked with libedit can segfault on future OS X ___ Python tracker

[issue24350] dict({'a':'aa'}, a='bb') raises segmentation fault on Mac

2015-06-01 Thread Graham Klyne
Graham Klyne added the comment: I just tried the same on a Python 2.7.5 installation and it worked as expected (no crash). So I now assume this is fixed. Sorry for the noise. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue24350] dict({'a':'aa'}, a='bb') raises segmentation fault on Mac

2015-06-01 Thread Graham Klyne
Graham Klyne added the comment: Oops, (RETURN) submitted before comments done... I think the example interactive python script is self-explanatory. I know my version of Python is a bit out of date, but I couldn't see anything in the issue list that indicated this problem had been seen and fixe

[issue24350] dict({'a':'aa'}, a='bb') raises segmentation fault on Mac

2015-06-01 Thread Graham Klyne
New submission from Graham Klyne: conina:~ graham$ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> dict({'a':'aa'},b='bb') {'a': 'aa', 'b': 'bb'} >>> d

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24348] incorrect decref in C OrderedDict

2015-06-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24349] Null pointer dereferences in C OrderedDict

2015-06-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue16991] Add OrderedDict written in C

2015-06-01 Thread Eric Snow
Eric Snow added the comment: I've opened the following issues to address the 3 last comments: issue24347 issue24348 issue24349 I'll be opening a separate issue for outstanding review comments. -- status: open -> closed ___ Python tracker

[issue24349] Null pointer dereferences in C OrderedDict

2015-06-01 Thread Eric Snow
New submission from Eric Snow: (from msg244587 in issue16991) Coverity has found an issue in odict, too: *** CID 1302699: Null pointer dereferences (NULL_RETURNS) /Objects/odictobject.c: 1316 in odict_copy() 1310 od_copy = PyObject_CallFunctionObjArgs((PyObject *)Py_TYPE(od), NUL

[issue24348] incorrect decref in C OrderedDict

2015-06-01 Thread Eric Snow
New submission from Eric Snow: (from msg244575 in issue16991) crash-2.py is due to the fact that _PyDict_Pop() deletes a reference to 'key' in _odict_popkey(). The INCREF(key) in popitem should take place before calling _odict_popkey(). Again, I don't see the point of INCREF/DECREF *inside* o

[issue24347] unchecked return value in C OrderedDict

2015-06-01 Thread Eric Snow
New submission from Eric Snow: (from msg244574 in issue16991) crash-1.py is due to an unchecked return value from _odictnode_VALUE(). We should probably use PyDict_GetItemWithError(), also in other places. I normally try to steer clear of stylistic remarks, but the _odictnode* macros are hidin

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e9e0664ee9b by Yury Selivanov in branch '3.5': Issue 24017: Make PyEval_(Set|Get)CoroutineWrapper private https://hg.python.org/cpython/rev/1e9e0664ee9b New changeset 6fcb64097b1c by Yury Selivanov in branch 'default': Issue 24017: Make PyEval_(Set

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Eric Snow
Eric Snow added the comment: @Skip, because roundup will change the title to the subject of the email and the title had been changed after the message to which you replied. -- ___ Python tracker __

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Skip Montanaro
Skip Montanaro added the comment: This is a bit off topic, but why did my reply to Yuri's ticket by email change the title? I didn't mess with the subject in my mail. -- ___ Python tracker

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Yury Selivanov
Yury Selivanov added the comment: > why wouldn't it be good enough in this case? Because it's highly non-obvious, it took me a while to understand what's *actually* going on. -- ___ Python tracker __

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-06-01 Thread Davin Potts
Davin Potts added the comment: Triggering it regularly in a build farm indeed sounds like genuine pain. @Paul or @vapier: In tracking down this issue, did you already create a convenient way to repro the misbehavior that could be used in testing? Any finalized patch that we make will need som

[issue24345] Py_tp_finalize is missing

2015-06-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a354de919aa by Benjamin Peterson in branch '3.5': add Py_tp_finalize slot (closes #24345) https://hg.python.org/cpython/rev/5a354de919aa New changeset 959e998aa167 by Benjamin Peterson in branch 'default': merge 3.5 (#24345) https://hg.python.org/c

[issue24346] TypeError at List in Tuple concatenation

2015-06-01 Thread R. David Murray
R. David Murray added the comment: https://docs.python.org/3/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed ___ Pyth

[issue24343] Installing 3.4.3 gives error codes 2503 and 2502 on windows 8

2015-06-01 Thread R. David Murray
R. David Murray added the comment: No, components is a multiselect. In my browser that means I hold ctl and click to add a second component, don't know what it looks like your browser. (I've added installation back.) -- components: +Installation _

[issue24346] TypeError at List in Tuple concatenation

2015-06-01 Thread stf
Changes by stf : -- title: Key Error at List in Tuple concatenation -> TypeError at List in Tuple concatenation ___ Python tracker ___ __

[issue24346] Key Error at List in Tuple concatenation

2015-06-01 Thread stf
Changes by stf : Removed file: http://bugs.python.org/file39587/bug.txt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24346] Key Error at List in Tuple concatenation

2015-06-01 Thread stf
New submission from stf: >>> a = ([1,2],) >>> a[0] += [3] this raises an Type Error but adds the Elements to a. So a is ([1, 2, 3],) afterwards. This Problem doesn't occur, when you use a[0].append(3) -- ___ Python tracker

[issue16991] Add OrderedDict written in C

2015-06-01 Thread Christian Heimes
Christian Heimes added the comment: Coverity has found an issue in odict, too: *** CID 1302699: Null pointer dereferences (NULL_RETURNS) /Objects/odictobject.c: 1316 in odict_copy() 1310 od_copy = PyObject_CallFunctionObjArgs((PyObject *)Py_TYPE(od), NULL); 1311 if (od_cop

[issue24346] Key Error at List in Tuple concatenation

2015-06-01 Thread stf
Changes by stf : Added file: http://bugs.python.org/file39587/bug.txt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue16991] Add OrderedDict written in C

2015-06-01 Thread Eric Snow
Eric Snow added the comment: @Jim and Stefan, Thanks for thorough reviews! @Stefan, I'll take a look at those crashers and other suggestions ASAP. I really appreciate you taking the time. Now that the patch has been landed, would you mind opening new issues for each problem you find? That w

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Eric Snow
Eric Snow added the comment: Changing the title back. :) -- nosy: +eric.snow title: coroutine wrapper recursion -> coroutine wrapper reentrancy ___ Python tracker ___ ___

[issue24346] Key Error at List in Tuple concatenation

2015-06-01 Thread stf
Changes by stf : -- components: Interpreter Core nosy: stf priority: normal severity: normal status: open title: Key Error at List in Tuple concatenation type: behavior versions: Python 3.4 ___ Python tracker _

[issue24343] Installing 3.4.3 gives error codes 2503 and 2502 on windows 8

2015-06-01 Thread Laura Creighton
Laura Creighton added the comment: Arggh! Components seems to be a radio box here? As in I can select Windows or Installation but not both? And by selecting installation again, I killed David's selection of Windows? Added this to put Windows back, but, well, if this is what we have it it tim

[issue24343] Installing 3.4.3 gives error codes 2503 and 2502 on windows 8

2015-06-01 Thread Laura Creighton
Laura Creighton added the comment: Sorry that I forgot to add the 'windows'. It may be that there is nothing left to do but close this, however, one of the 2 that mailed webmaster looked at the bug tracker for a work-around for his problem -- at least if this happens again the next person wil

  1   2   >