[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov versions: +Python 3.4 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue14854> ___ ___ Pytho

[issue9232] Allow trailing comma in any function argument list.

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue9232> ___ ___ Python-bugs-list mailing list Unsub

[issue14911] generator.throw() documentation inaccurate

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: Kristjan, can you write a patch for this? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue14911> ___ ___

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? see also #20267 -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue7325> ___ ___ Python-bugs-list mailin

[issue12691] tokenize.untokenize is broken

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue12

[issue14515] tempfile.TemporaryDirectory documented as returning object but returns name

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue14515> ___ ___ Python-bugs-list mailing list Unsub

[issue17444] multiprocessing.cpu_count() should use hw.availcpu on Mac OS X

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue17444> ___ ___ Python-bugs-list mailing list Unsub

[issue14965] super() and property inheritance behavior

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue14965> ___ ___ Python-bugs-list mailin

[issue18805] ipaddress netmask/hostmask parsing bugs

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue18805> ___ ___ Python-bugs-list mailing list Unsub

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue19157> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10544] yield expression inside generator expression does nothing

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue10544> ___ ___ Python-bugs-list mailin

[issue2226] Small _abcoll Bugs / Oddities

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue2226> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8743] set() operators don't work with collections.Set instances

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue8743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12971] os.isdir() should contain skiplinks=False in arguments

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue12971> ___ ___ Python-bugs-list mailing list Unsub

[issue12915] Add inspect.locate and inspect.resolve

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue12915> ___ ___ Python-bug

[issue17170] string method lookup is too slow

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue17170> ___ ___ Python-bugs-list mailing list Unsub

[issue17170] string method lookup is too slow

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue17170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13651] Improve redirection in urllib

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue13651> ___ ___ Python-bugs-list mailing list Unsub

[issue17911] Extracting tracebacks does too much work

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- keywords: -easy nosy: +yselivanov versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue17911> ___ ___

[issue18554] os.__all__ is incomplete

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: bump? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue18554> ___ ___ Python-bugs-list mailing list Unsub

[issue17394] Add slicing support to collections.deque

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue17394> ___ ___ Python-bugs-list mailing list Unsub

[issue19404] Simplify per-instance control of help() output

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue19404> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19031] Make help() enum aware

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue19031> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18162] Add index attribute to IndexError

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue18162> ___ ___ Python-bugs-list mailing list Unsub

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2014-01-31 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should start raising an exception in 3.5 (backwards incompatible change to back-port it) -- nosy: +yselivanov versions: +Python 3.5 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <h

[issue20471] test_signature_on_class() of test_inspect fails on "AMD64 FreeBSD 9.0 3.x" buildbot

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue20471> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: OK, I'll take a look tomorrow. Don't think it's related to #20471 though, as in there, if fails to find a signature for the 'builtin.object' (but I may be wrong). -- ___ Python tracker

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: OK, there was no unit-test for this... looking into the problem, the first questing is: why is __text_signature__ is on the '_pickle.Pickler' object, not on '_pickle.Pickler.__init__'? -- ___ P

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue17159> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: > Stefan Krah suggests that the failure in 20473 is because that platform > builds without docstrings, and the test requires them. So that should be an > easy fix. Good news ;) OK, I'll decorate the test. > Because slots like tp_init and t

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: > Would this be ok? Probably. I need to take a closer look. I'm not sure I like the idea that Cython functions are "chimeras" of some sort, i.e. they have a type of python builtin functions, hence, logically, Signature.from_builtin should

[issue20471] test_signature_on_class() of test_inspect fails on "AMD64 FreeBSD 9.0 3.x" buildbot

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue20471> ___ ___ Python-bugs-list

[issue20471] test_signature_on_class() of test_inspect fails on "AMD64 FreeBSD 9.0 3.x" buildbot

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: Should be OK now. Thank you guys for the report and for the hint of what was going on ;) -- ___ Python tracker <http://bugs.python.org/issue20

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue20473> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: > That's one way of looking at it. The way I see it is that CPython's builtin > functions should rather behave exactly like Python functions. The fact that > there is such a thing as a "__text_signature__" and general special c

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: Stefan, Please try the attached patch (sig_cython_01.patch) -- Added file: http://bugs.python.org/file33847/sig_cython_01.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file33849/sig_cython_02.patch ___ Python tracker <http://bugs.python.org/issue17159> ___ ___ Python-bug

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: Please review the attached patch (sig_builtins_01.patch). Some details: - All parsing code from Signature.from_builtin was moved in a separate helper '_signature_fromstr' - Signature.from_builtin calls '_signature_fromstr'. All its

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file33854/sig_cython_03.patch ___ Python tracker <http://bugs.python.org/issue17159> ___ ___ Python-bug

[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: Well, I guess we can replace from time import clock with something like try: from time import monotonic as clock except ImportError: from time import time as clock Victor, what do you think? -- nosy: +yselivanov

[issue20482] smtplib.SMTP.sendmail: improve exception message

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue20482> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20475] pystone.py in 3.4 still uses time.clock(), even though it's marked as deprecated since 3.3

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +fdrake ___ Python tracker <http://bugs.python.org/issue20475> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file33858/sig_builtincls_02.patch ___ Python tracker <http://bugs.python.org/issue20473> ___ ___ Python-bug

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-01 Thread Yury Selivanov
Yury Selivanov added the comment: Second patch attached: sig_builtincls_02.patch, with a fix, that Nick suggested. Larry, I'd like you to take a quick look at it as well, before I commit it. -- ___ Python tracker <http://bugs.python.org/is

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: Stefan, > inspect.isbuiltin() returns False Are you absolutely sure about this? Please check that everything works with this latest change http://hg.python.org/cpython/rev/48c3c42e3e5c -- ___ Python tracker &l

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, > Also, I assumed that anything that had a __text_signature__ wasn't going to > have any other kind of signature information. Therefore, if the object had a > __text_signature__ attribute, then I already knew that's the best approa

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, Quoting your reply from #17159: > Also also, I remember specifically that the isinstance(type) code would fail > builtin classes. Could you please find an example of this? -- ___ Python tracker

[issue20490] Show clear error message on circular import

2014-02-02 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue20490> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20490] Show clear error message on circular import

2014-02-02 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue20490> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: > This change is redundant since BuiltinFunctionType (which isbuiltin() tests > for) is already in _NonUserDefinedCallables, which is tested for right > afterwards. The code is more understandable, though. Anyways, I'm glad that the issue is now r

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: Committed. We'll likely need to modify the code again in 3.5, once we settle the exact semantics of __text_signature__. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://b

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: For instance if __text_signature__ and __signature__ are present simultaneously which one should be used, or the use of '($' to specify bound-methods first parameters etc. -- ___ Python trac

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: And also right now, inspect.signature looks for '__text_signature__' when no used-defined __init__ was found. That's also going to be changed, but again, when __text_signature__ becomes a public

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: FWIW, I think the same. -- ___ Python tracker <http://bugs.python.org/issue20473> ___ ___ Python-bugs-list mailing list Unsub

[issue20473] inspect.Signature no longer handles builtin classes correctly

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: And also, reading Stefan in another issue, I'm a bit worried that it may forcibly become a public API. Users tend to start using APIs before they are public, and that's especially true for python dunder attributes. Maybe we should document '__t

[issue20489] help() fails for zlib Compress and Decompress objects

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: The problem is that 'zlib.compressobj().flush.__module__ is None' Can we fix that in zlib? -- ___ Python tracker <http://bugs.python.o

[issue20489] help() fails for zlib Compress and Decompress objects

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: One way, albeit ugly, would be to further extend __text_signature__ format, to allow something like: sig=(...);module=zlib -- ___ Python tracker <http://bugs.python.org/issue20

[issue14911] generator.throw() documentation inaccurate

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: I like the patches, except the example in 3x.diff. Please see the review. -- ___ Python tracker <http://bugs.python.org/issue14

[issue20489] help() fails for zlib Compress and Decompress objects

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: > One way, albeit ugly, would be to further extend > __text_signature__ format, to allow something like: > > sig=(...);module=zlib OR sig=zlib.Compress.flush(...) -- ___ Python tr

[issue20489] help() fails for zlib Compress and Decompress objects

2014-02-03 Thread Yury Selivanov
Yury Selivanov added the comment: Attached is an experimental patch (issue20489_01.patch) that implements the idea of encoding full function name in its 'sig=' spec. Test file: import zlib import inspect print(zlib.compressobj().flush.__text_signature__) print(inspect

[issue20511] asyncio: StreamReader should use bytearray for its internal buffer

2014-02-04 Thread Yury Selivanov
New submission from Yury Selivanov: This issue on google code: https://code.google.com/p/tulip/issues/detail?id=124 -- files: sr_ba_01.patch keywords: needs review, patch messages: 210253 nosy: gvanrossum, haypo, pitrou, yselivanov priority: normal severity: normal status: open title

[issue19573] Fix the docstring of inspect.Parameter and the implementation of _ParameterKind

2014-02-04 Thread Yury Selivanov
Yury Selivanov added the comment: The patch looks good to me. I'll merge it in 3.5 later. -- ___ Python tracker <http://bugs.python.org/issue19573> ___ ___

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Yury Selivanov
Yury Selivanov added the comment: Can't reproduce this on 3.3.3 Python 3.3.3 (default, Dec 2 2013, 01:40:21) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin -- nosy: +yselivanov ___ Python tracker <http://bugs.py

[issue20512] Python3.3 segfaults when using big5hkscs encoding

2014-02-04 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +haypo, loewis ___ Python tracker <http://bugs.python.org/issue20512> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12691] tokenize.untokenize is broken

2014-02-05 Thread Yury Selivanov
Yury Selivanov added the comment: Gareth, Thanks a lot for such a comprehensive writeup and the patch. Please give me a day or two to do the review. -- ___ Python tracker <http://bugs.python.org/issue12

[issue20367] concurrent.futures.as_completed() fails when given duplicate Futures

2014-02-05 Thread Yury Selivanov
Yury Selivanov added the comment: This one is still not merged in Tulip, right? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue20

[issue20527] multiprocessing.Queue deadlocks after “reader” process death

2014-02-06 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +jnoller, sbt ___ Python tracker <http://bugs.python.org/issue20527> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20530] Change the text signature format (again) to be more robust

2014-02-06 Thread Yury Selivanov
Yury Selivanov added the comment: > Whoops, forgot to fix all the breakage in clinic_test.py. It's good now. Ah, you re-uploaded the patch and reset my code review comments. I'll repeat them here, just in case. Reviewed the patch. - In one of the C files I saw t

[issue20537] logging exc_info parameter should accept exception instances

2014-02-06 Thread Yury Selivanov
New submission from Yury Selivanov: A bunch of logging methods accept optional parameter exc_info, that is supposed to be either 'True' or a tuple of three elements (type, exc, tb). If, however, someone passes an actual exception instance, Logger._log function will interpret it a

[issue20530] Change the text signature format (again) to be more robust

2014-02-07 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, I'm attaching a revised version of the patch -- larry.even.newerer.signature.syntax.3.diff. Changes: 1. test_signature_on_class_without_init was fixed, inspect.signature was fixed as well. Now, for class Meta(type): pass "inspect.sign

[issue20530] Change the text signature format (again) to be more robust

2014-02-07 Thread Yury Selivanov
Yury Selivanov added the comment: One more patch (v4) I fixed the commented out 'ThisWorksNow' test. And also 'inspect.signature' now raises a bit more coherent exception for that particular case. -- Added file: http://bugs.python.org/file33966/larry.even.newere

[issue20537] logging exc_info parameter should accept exception instances

2014-02-07 Thread Yury Selivanov
Yury Selivanov added the comment: > I believe it's too late for feature changes in 3.4, so removing it from > versions. Alright. Was worth a try ;) > It would be good if the patch addressed documentation changes, too :-) Sure, I'll add the documentation, when we start w

[issue20267] TemporaryDirectory does not resolve path when created using a relative path

2014-02-07 Thread Yury Selivanov
Yury Selivanov added the comment: > Thanks for the fix. The same fix seems should also work for mkstemp and > mktemp -- is it really worth creating a new issue for them? No, no new issue is necessary. I think I'll update the patch and merge it in 3.5, as it's

[issue20566] asyncio as_completed() thrashes adding and removing callbacks

2014-02-08 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue20566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20583] Hide underscored parameters

2014-02-10 Thread Yury Selivanov
Yury Selivanov added the comment: I'm -1 on this. Yes, there is a convention in Python that _names are kind of private, but it's just a convention, and not everybody follow it. Making this change would just break too many things. As for the code in question: Random.randrange -- w

[issue20583] Hide underscored parameters

2014-02-10 Thread Yury Selivanov
Yury Selivanov added the comment: > Yury: it's a micro-optimization, the slow builtin lookup becomes a fast local > lookup. That's what I thought, thank you. I think we should discourage use of this pattern (at least in the stdlib). There is small to no performance benefit to

[issue20583] Hide underscored parameters

2014-02-10 Thread Yury Selivanov
Yury Selivanov added the comment: We can *probably* make a convention, that "dunder" parameters are hidden from the pydoc. like 'func(a, b, *, c, __hidden__=True, __int__=int)' Or simply those that start with &#x

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-13 Thread Yury Selivanov
Yury Selivanov added the comment: Patch sig_cython_03.patch is still applicable (it probably won't apply to the current repo, but I can fix that). It should solve all these problems once and for all. If Larry agrees, I can still merge

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-13 Thread Yury Selivanov
Yury Selivanov added the comment: > So, once again: > If the intention is to test that a callable has a "__text_signature__", > then the code should test for the existance of "__text_signature__". > It should *not* try to test for types that may or may not hav

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-13 Thread Yury Selivanov
Yury Selivanov added the comment: > I'm actually considering that. Now that Signature.from_function() allows > function-like types, it appears like it's the easiest solution to add a > "__signature__" property to cyfunctions that does the necessary "from

[issue20620] Update the min()/max() docs for the new default argument

2014-02-13 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +larry ___ Python tracker <http://bugs.python.org/issue20620> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +larry, ncoghlan, yselivanov ___ Python tracker <http://bugs.python.org/issue20625> ___ ___ Python-bugs-list mailin

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Yury Selivanov added the comment: It looks like it's a bug. Spam.eggs.__code__.co_varnames will have '_Spam__some_kwarg' as a name of the first parameter. So __annotations__ should have '_Spam__some_kwarg' instead of '__some_kwarg'. -- ___

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Yury Selivanov added the comment: Furthermore: class Foo: def bar(self, *, __kw:'anno'='default'): pass >>> Foo.bar.__annotations__ {'__kw': 'anno'} >>> Foo.bar.__kwdefaults__ {'_Foo__kw': 'default

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Yury Selivanov added the comment: Patch is attached. Please review. -- keywords: +patch nosy: +benjamin.peterson, nnorwitz Added file: http://bugs.python.org/file34083/issue_20625_01.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Changes by Yury Selivanov : -- versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue20625> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Changes by Yury Selivanov : -- priority: normal -> high ___ Python tracker <http://bugs.python.org/issue20625> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20629] Python ctypes BigEndianStructure bitfield assignment misbehavior in Linux

2014-02-14 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +amaury.forgeotdarc, belopolsky ___ Python tracker <http://bugs.python.org/issue20629> ___ ___ Python-bugs-list mailin

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Yury Selivanov added the comment: > Why would we mangle the names of arguments in the first place? What possible > use case is there? The use case is multiple inheritance. You can define your methods with keyword and keyword-only params starting with '__', put in them some ca

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-14 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file34085/issue_20625_02.patch ___ Python tracker <http://bugs.python.org/issue20625> ___ ___ Python-bug

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-16 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should just ask Larry to merge all commits for asyncio in 3.4. I.e. we won't commit anything that should not go in 3.4 anyways. -- ___ Python tracker <http://bugs.python.org/is

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue20673> ___ ___ Python-bugs-list

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: This is a proxy issue for: https://code.google.com/p/tulip/issues/detail?id=81 -- assignee: yselivanov messages: 211523 nosy: yselivanov priority: normal severity: normal status: open title: asyncio: Add support for UNIX Domain Sockets. versions

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: Two new cherry-picks: changeset: 89253:d6c7d1f18915 tag: tip user:Yury Selivanov date:Tue Feb 18 12:21:57 2014 -0500 files: Misc/NEWS description: Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +gvanrossum ___ Python tracker <http://bugs.python.org/issue20673> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.or

[issue20676] 3.4 cherry-pick: a63327162063 Mangle __parameters in __annotations__ dict properly

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: Revision: a63327162063 Larry, please consider including this in 3.4. It's a small bug, that was in python since the time annotations were introduced. It's a shame that it was undiscovered for such a long time, and I think it should absolutely be fi

[issue20681] asyncio: New error handling API

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue20681> ___ ___ Python-bugs-list

[issue20681] asyncio: New error handling API

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: This is a proxy issue for https://code.google.com/p/tulip/issues/detail?id=80 -- assignee: yselivanov messages: 211566 nosy: gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: asyncio: New error handling API type

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: changeset: 89262:7c1de1ebb894 tag: tip user:Yury Selivanov date:Tue Feb 18 18:02:19 2014 -0500 files: Lib/asyncio/base_events.py Lib/asyncio/events.py Lib/asyncio/futures.py Lib/asyncio/proactor_events.py Lib/asyncio

<    14   15   16   17   18   19   20   21   22   23   >