[issue24332] urllib.parse should not discard delimiters when associated component is empty

2015-05-30 Thread gdata gmail
New submission from gdata gmail: The documenatation for urllib.parse (https://docs.python.org/3.0/library/urllib.parse.html) states several times: This may result in a slightly different, but equivalent URL, if the URL that was parsed originally had unnecessary delimiters (for example, a ?

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: If it's just a matter of adding the definitions then here's a patch. Does that look correct? -- Added file: http://bugs.python.org/file39567/odict-windows.diff ___ Python tracker rep...@bugs.python.org

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- resolution: fixed - status: closed - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24004 ___

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset aea27164d207 by Eric Snow in branch '3.5': Issue #16991: Add odictobject.h on Windows. https://hg.python.org/cpython/rev/aea27164d207 -- ___ Python tracker rep...@bugs.python.org

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9404fba02ba by Eric Snow in branch '3.5': Issue #16991: Properly handle return values in several places. https://hg.python.org/cpython/rev/c9404fba02ba New changeset 951a3ef82180 by Eric Snow in branch '3.5': Issue #16991: Do not return None from

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset fbe74badb0c6 by Eric Snow in branch 'default': Issue #16991: Ensure that the proper OrderedDict is used in tests. https://hg.python.org/cpython/rev/fbe74badb0c6 -- ___ Python tracker

[issue24334] SSLSocket extra level of indirection

2015-05-30 Thread Christian Heimes
New submission from Christian Heimes: I just noticed that #21965 has added an extra level of indirection to the SSLSocket object. In Python 3.4 and earlier the ssl.SSLSocket object has one level of indirection: import ssl ctx = ssl.create_default_context() sock =

[issue24334] SSLSocket extra level of indirection

2015-05-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm nosying Geert, who is the original author of the SSLObject code. -- nosy: +geertj ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24334 ___

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: Why is the AwaitableABC type check needed, in addition to looking up the relevant method? IIUC, the type check will just do a lookup of the same method if the type hasn't been registered as Awaitable explicitly. Because __await__ should be defined on the

[issue23934] inspect.signature reporting () for all builtin extension types

2015-05-30 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- resolution: - fixed stage: test needed - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23934 ___

[issue23934] inspect.signature reporting () for all builtin extension types

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset e59966bb6de5 by Yury Selivanov in branch '3.5': Issue #23934: Fix inspect.signature to fail correctly for builtin types. https://hg.python.org/cpython/rev/e59966bb6de5 New changeset 19e0ffdd1daa by Yury Selivanov in branch 'default': Issue #23934:

[issue22357] inspect module documentation makes no reference to __qualname__ attribute

2015-05-30 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22357 ___

[issue22357] inspect module documentation makes no reference to __qualname__ attribute

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 943fa0e8b6a4 by Yury Selivanov in branch '3.4': Issue 22357: Document __qualname__ in inspect.rst https://hg.python.org/cpython/rev/943fa0e8b6a4 New changeset 1d9131bc0ea4 by Yury Selivanov in branch '3.5': Issue 22357: Merge from 3.4

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: Cython functions that return a generator aren't special in any way, so it's actually correct that isgeneratorfunction() always returns False. I mean, I could set the CO_COROUTINE flag on the code object that we fake, but that wouldn't help much as Cython's

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 030205f1e716 by Eric Snow in branch '3.5': Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict. https://hg.python.org/cpython/rev/030205f1e716 -- ___ Python tracker

[issue15138] base64.urlsafe_b64**code are too slow

2015-05-30 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Here's a backport of the patch to 2.7. It's pretty rad, and basically identical to how YouTube monkeypatches base64. Not sure what will happen to this patch. According to recent discussion on the list (e.g.

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2015-05-30 Thread Marc Jofre
Marc Jofre added the comment: When executing, wsgiref produces the following error dump: D:\SixSensoCytometerWebBased\include\binD:\SixSensoCytometerWebBased\include\bi n\manage.exe runserver 8765 Validating models... 0 errors found May 26, 2015 - 16:20:56 Django version 1.5.8, using settings

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ba1fa925f17 by Eric Snow in branch 'default': Issue #16991: Use the correct version for master. https://hg.python.org/cpython/rev/3ba1fa925f17 -- ___ Python tracker rep...@bugs.python.org

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___ ___

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: Well, that last one has everything compiling again. I expect it should be okay now. I'll watch the results. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991

[issue5633] fix for timeit when the statement is a string and the setup is not (and tests)

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 14d1018940cb by Serhiy Storchaka in branch '2.7': Issue #5633: Fixed timeit when the statement is a string and the setup is not. https://hg.python.org/cpython/rev/14d1018940cb New changeset 89de73c0d848 by Serhiy Storchaka in branch '3.4': Issue

[issue5633] fix for timeit when the statement is a string and the setup is not (and tests)

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: Hmm, I just noticed that this only started failing when I disabled the asyncio module patching for 3.5beta1+, assuming that it now all works. A side effect of that was that also the inspect module is no longer patched into returning True from isgenerator() for

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: I'm checking a fix for Windows against a buildbot (http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991

[issue24325] Speedup types.coroutine()

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, can you accept the first version of the patch (only function that patches code object's co_flags) after beta2? I'm OK if you think it should only be committed in 3.6, but I also agree with Stefan, that using C is better in this particular case.

[issue24327] yield unpacking

2015-05-30 Thread Ethan Furman
Ethan Furman added the comment: I was waiting a couple days to give Mital a chance to clarify if some other behavior was intended. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24327 ___

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: You already added public name Py_ODict_GetItemId. It uses private _Py_Identifier API and shouldn't be public. Ah. I'll remove it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7117e9b0f595 by Eric Snow in branch '3.5': Issue #16991: Drop Py_ODict_GetItemId. https://hg.python.org/cpython/rev/7117e9b0f595 -- ___ Python tracker rep...@bugs.python.org

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: ... except that the returned object may not actually be a Cython generator but a GeneratorWrapper, now that the patch from issue 24316 is in place. :) Then I guess we're back to the point where duck-typing and calling __await__() is a good idea. --

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: That last message is about building on Windows. -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991 ___

[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Chi Hsuan Yen
New submission from Chi Hsuan Yen: This is originally my question at stackoverflow.com. (http://stackoverflow.com/q/30511341/3786245) I think it's a bug, so I posted it here. I'm trying to fetch HTTPS pages through a proxy with digest authentication. Here are my codes: import urllib.request

[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: For those who are working on this problem, my squid.conf may be helpful: --- squid.conf.default 2015-05-31 03:33:34.006361795 +0800 +++ squid.conf 2015-05-31 03:36:28.533034294 +0800 @@ -49,9 +49,15 @@ # Example rule allowing access from your local networks.

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: Stefan, Then I guess we're back to the point where duck-typing and calling __await__() is a good idea. Please test the attached patch. I agree this is a good idea. -- keywords: +patch Added file: http://bugs.python.org/file39569/coroutine.patch

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d851112922f by Eric Snow in branch '3.5': Issue #16991: Add PyODict* to Windows builds. https://hg.python.org/cpython/rev/1d851112922f -- ___ Python tracker rep...@bugs.python.org

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: Works for me. Why is the AwaitableABC type check needed, in addition to looking up the relevant method? IIUC, the type check will just do a lookup of the same method if the type hasn't been registered as Awaitable explicitly. -- status: pending - open

[issue19235] Add a dedicated subclass for recursion errors

2015-05-30 Thread Elazar Gershuni
Elazar Gershuni added the comment: Ok -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19235 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-05-30 Thread Nathaniel Smith
Nathaniel Smith added the comment: A nice new API is certainly a nice thing, but I feel that changing the stack walking code should be considered as fixing a regression introduced in 3.3. Indeed, searching github for code that actually uses the stacklevel= argument:

[issue24325] Speedup types.coroutine()

2015-05-30 Thread Larry Hastings
Larry Hastings added the comment: This looks big and complicated. I'd prefer this skipped 3.5 and just went into 3.6. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24325 ___

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7b73029c825 by Yury Selivanov in branch '3.4': Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator https://hg.python.org/cpython/rev/b7b73029c825 New changeset d1959cafc68c by Yury Selivanov in branch '3.5': Issue 24004:

[issue5497] openssl compileerror with original source

2015-05-30 Thread Zachary Ware
Zachary Ware added the comment: If this wasn't outdated two and a half years ago, it is now :) -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5497

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-05-30 Thread Martin Panter
Martin Panter added the comment: Left a couple pedantic comments. -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___

[issue24325] Speedup types.coroutine()

2015-05-30 Thread Guido van Rossum
Guido van Rossum added the comment: Since it's a speedup it could also go into 3.5.1. On May 30, 2015 1:22 PM, Yury Selivanov rep...@bugs.python.org wrote: Yury Selivanov added the comment: Larry, can you accept the first version of the patch (only function that patches code object's

[issue23377] HTTPResponse may drop buffer holding next response

2015-05-30 Thread Martin Panter
Martin Panter added the comment: Just realized that the makefile() call in _tunnel() still lets this bug occur when a HTTPSConnection is being used with a proxy using the CONNECT method. So while my patch shouldn’t make things any worse than they already are, it needs more work to fix this

[issue24333] urllib2 HTTPS connection over a digest auth enabled proxy gives 407

2015-05-30 Thread Martin Panter
Martin Panter added the comment: There is already work done on this at Issue 7291. There is a patch there, but IMO it needs more work or a different approach. -- nosy: +vadmium resolution: - duplicate stage: - resolved status: open - closed superseder: - urllib2 cannot handle https

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f1e24f083c7 by Yury Selivanov in branch '3.5': Issue 24004: Add a unittest for @asyncio.coroutine supporting Awaitables https://hg.python.org/cpython/rev/5f1e24f083c7 New changeset 9d261141eb0c by Yury Selivanov in branch 'default': Issue 24004:

[issue22203] inspect.getargspec() returns wrong spec for builtins

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: This was fixed in issue #23934 -- resolution: - duplicate stage: - resolved status: open - closed superseder: - sphinx - building muppy docs fails on Linux ___ Python tracker rep...@bugs.python.org

[issue7291] urllib2 cannot handle https with proxy requiring auth

2015-05-30 Thread Martin Panter
Martin Panter added the comment: I believe this also affects Python 3; see Issue 24333. I think making the CONNECT response object available to the caller is the right general approach. But I really dislike raising an exception that holds a socket connection to be closed. (I know this is

[issue24331] *** Error in `/usr/bin/python': double free or corruption (!prev): 0x0000000000f5c760 *** when cloning hg repository into directory on cifs

2015-05-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the report. I would say it looks very much like a Mercurial issue. You can find the Mercurial bug tracker at http://bz.selenic.com/ -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue24332] urllib.parse should not discard delimiters when associated component is empty

2015-05-30 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24332 ___ ___ Python-bugs-list mailing list

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2015-05-30 Thread Martin Panter
Martin Panter added the comment: Marc, if you think your connection aborted error is related, can you say what kind of object the “stdout” parameter is in the handler class? In other words, what class’s method is being called in the write() function at line 217? --

[issue24291] wsgiref.handlers.SimpleHandler truncates large output blobs

2015-05-30 Thread Martin Panter
Martin Panter added the comment: Actually, looking closer at Marc’s traceback, it appears to be the ordinary socket._fileobject class. So I suspect it is unrelated to this bug because the Python 2 socket code appears to call sendall() in a loop. --

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24004 ___

[issue21853] Fix inspect in unicodeless build

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: Serhiy, could you please commit it in 2.7? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21853 ___ ___

[issue15928] Open url with proxy causes TypeError

2015-05-30 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- resolution: not a bug - duplicate superseder: - Missing size argument in readline() method for httplib's class LineAndFileWrapper ___ Python tracker rep...@bugs.python.org

[issue5843] Normalization error in urlunparse

2015-05-30 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - urllib.parse wrongly strips empty #fragment ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5843

[issue21853] Fix inspect in unicodeless build

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21853 ___ ___

[issue21853] Fix inspect in unicodeless build

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44590c1b264e by Serhiy Storchaka in branch '2.7': Issue #21853: Fixed the inspect module in unicode disabled build. https://hg.python.org/cpython/rev/44590c1b264e -- nosy: +python-dev ___ Python tracker

[issue24334] SSLSocket extra level of indirection

2015-05-30 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24334 ___ ___ Python-bugs-list

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

2015-05-30 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- resolution: - duplicate stage: needs patch - resolved status: open - closed superseder: - urllib.parse wrongly strips empty #fragment ___ Python tracker rep...@bugs.python.org

[issue22852] urllib.parse wrongly strips empty #fragment, ?query, //netloc

2015-05-30 Thread Martin Panter
Martin Panter added the comment: Anyone want to review my new patch? This is a perennial issue; see all the duplicates I just linked. -- keywords: +needs review title: urllib.parse wrongly strips empty #fragment - urllib.parse wrongly strips empty #fragment, ?query, //netloc

[issue21853] Fix inspect in unicodeless build

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- dependencies: -Fix unicodeless build of Python resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21853

[issue24330] Configure Idle not in Options

2015-05-30 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. As much as possible, IDLE and the underlying Tk GUI toolkit it is built with try go conform to the interface guidelines of the platform (e.g. Windows, OS X, Unix X11) it is running on. On OS X, application configuration options are

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-30 Thread Nathaniel Smith
Nathaniel Smith added the comment: Recording this here so it doesn't get lost: Marc-Andre Lemberg suggested on python-ideas that for the builtin REPL, this should be enabled iff sys.stdin.isatty(). (I guess he is worried about 'cat script.py | python'.) I'm not really sure whether this falls

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: I found one more place in asyncio.coroutines, around line 190 in the coroutine() decorator: if inspect.isgeneratorfunction(func): coro = func else: @functools.wraps(func) def coro(*args, **kw): res = func(*args, **kw)

[issue23237] Interrupts are lost during readline PyOS_InputHook processing (reopening)

2015-05-30 Thread Michiel de Hoon
Michiel de Hoon added the comment: Vadmium, thank you for carefully looking at this patch. Polling PyErr_CheckSignals() directly in the tkinter EventHook loop works in the #if defined(WITH_THREAD) || defined(MS_WINDOWS) block, as there Tcl_DoOneEvent(TCL_DONT_WAIT) exits immediately. However

[issue24325] Speedup types.coroutine()

2015-05-30 Thread Stefan Behnel
Stefan Behnel added the comment: I would still like to see a patch in Py3.5 that only flips the bit in C when _types is available and otherwise falls back to the existing Python code that creates a new code object. This part is much cleaner and faster to do in C than in the current Python

[issue24320] Remove a now-unnecessary workaround from importlib._bootstrap.

2015-05-30 Thread Nick Coghlan
Nick Coghlan added the comment: Donald updated 3.5 to pip 7 for the 1st beta, so the relevant fix may have already been included. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24320 ___

[issue24259] tar.extractall() does not recognize unexpected EOF

2015-05-30 Thread Thomas Guettler
Thomas Guettler added the comment: With Python 3.4.0 you get an OSError if you try to extractall() the uploaded tar_which_is_cut.tar. That's nice. Seems like only 2.7 seems to be buggy. === python3 Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux Type help, copyright,

[issue19543] Add -3 warnings for codec convenience method changes

2015-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nick, Benjamin, could you please look at the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19543 ___

[issue19543] Add -3 warnings for codec convenience method changes

2015-05-30 Thread Nick Coghlan
Nick Coghlan added the comment: Serhiy's patch looks to me like it would pragmatically cover all the cases most likely to affect porting efforts: using the standard library bytes-bytes codecs through the convenience methods. For a Python 2 backport, I'm slightly more concerned with exposing

[issue24115] Unhandled error results of C API functions

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 82490d05f3b0 by Serhiy Storchaka in branch '2.7': Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), https://hg.python.org/cpython/rev/82490d05f3b0 New changeset 8167df7d4cd0 by Serhiy Storchaka in branch '3.4': Issue #24115: Update

[issue24331] *** Error in `/usr/bin/python': double free or corruption (!prev): 0x0000000000f5c760 *** when cloning hg repository into directory on cifs

2015-05-30 Thread Karl Richter
New submission from Karl Richter: I experience the error in the title exclusive when invoking `hg clone` (e.g. `hg clone https://bitbucket.org/Coin3D/coin` or `hg clone http://hg.netbeans.org/main-golden/ netbeans-main-golden`) when the target directory is on a cifs mount. `gdb` backtrace:

[issue24004] avoid explicit generator type check in asyncio

2015-05-30 Thread Yury Selivanov
Yury Selivanov added the comment: What inspect.isgeneratorfunction(func) returns for Cython generators? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24004 ___

[issue24115] Unhandled error results of C API functions

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed versions: +Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24115

[issue24327] yield unpacking

2015-05-30 Thread Josh Rosenberg
Josh Rosenberg added the comment: Should someone be closing this with yield from already exists? -- nosy: +josh.r ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24327 ___

[issue24327] yield unpacking

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24327 ___

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree with all Stephan's comments on Rietveld. See also issue24115 that fixed bugs similar to found in C implementation of OrderedDict. -- ___ Python tracker rep...@bugs.python.org

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a7380984e37 by Eric Snow in branch '3.5': Issue #16991: Use PyObject_TypeCheck instead of PyObject_IsInstance. https://hg.python.org/cpython/rev/0a7380984e37 -- ___ Python tracker rep...@bugs.python.org

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Mark Lawrence
Mark Lawrence added the comment: I'm getting the following linker errors on Windows 8.1 for 32 and 64 bit debug and release builds. unresolved external symbol _PyODict_Type in C:\cpython\PCbuild\_collectionsmodule.obj, and _PyODictIter_Type, _PyODictValues_Type,

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: PyObject_TypeCheck() should be used instead of PyObject_IsInstance() (see issue24257). Thanks for pointing this out. I've fixed both dictobject.h and odictobject.h. Perhaps Py_ODict_GetItemId() should be private API as relevant dict function. This isn't

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: New changeset 0a7380984e37 by Eric Snow in branch '3.5': Issue #16991: Use PyObject_TypeCheck instead of PyObject_IsInstance. https://hg.python.org/cpython/rev/0a7380984e37 I've also merged this into default: changeset:

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Eric Snow
Eric Snow added the comment: I'm getting the following linker errors on Windows 8.1 for 32 and 64 bit debug and release builds. unresolved external symbol _PyODict_Type in C:\cpython\PCbuild\_collectionsmodule.obj, and _PyODictIter_Type, _PyODictValues_Type,

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This isn't needed for 3.5, right? I'm not opposed to adding more functions to the C API for OrderedDict, but I wanted to start out as small as possible. You already added public name Py_ODict_GetItemId. It uses private _Py_Identifier API and shouldn't be

[issue16991] Add OrderedDict written in C

2015-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for Windows issue, perhaps these names should be enumerated in PC/python3.def? See also issue23903. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16991

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22609 ___ ___ Python-bugs-list mailing list

[issue5633] fix for timeit when the statement is a string and the setup is not (and tests)

2015-05-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka versions: +Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___