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

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: http://hg.python.org/cpython/rev/72dba0d11235 changeset: 89263:72dba0d11235 user:Yury Selivanov date:Tue Feb 18 18:41:13 2014 -0500 summary: asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin

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

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: And this one: http://hg.python.org/cpython/rev/5202aca8a673 changeset: 89261:5202aca8a673 user:Victor Stinner date:Tue Feb 18 22:07:56 2014 +0100 summary: Issue #20625: Fix compilation issue

[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issue20682> ___ ___ Python-bugs-list mai

[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: Looking at a man page for getsockname on Mac OS X (10.9): BUGS: Names bound to sockets in the UNIX domain are inaccessible; getsockname() returns a zero-length address. If you are not on macos: http://www.manpages.info/macosx/getsockname.2.html

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

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: Minor stuff: changeset: 89267:2b0e65df8821 tag: tip user:Yury Selivanov date:Tue Feb 18 22:27:48 2014 -0500 files: Lib/asyncio/events.py Lib/asyncio/protocols.py Lib/asyncio/selector_events.p description: asyncio: Fix spelling

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

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: changeset: 89268:2e8a142dbccc tag: tip user:Yury Selivanov date:Tue Feb 18 22:56:15 2014 -0500 files: Lib/asyncio/base_events.py Lib/asyncio/subprocess.py Lib/test/test_asyncio/t description: asyncio: pep8-ify the code

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

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: > Perhaps, but if they request cherry-picking for revisions after 2e8a142dbccc, > skipping 2e8a142dbccc will make the cherry-picking a lot harder. Yes, it may make it harder, it's probably better to merge it (no functional changes in it). I now

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

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: changeset: 89270:186f6f56f4bc tag: tip user:Yury Selivanov date:Wed Feb 19 11:10:52 2014 -0500 files: Lib/asyncio/transports.py Lib/test/test_asyncio/test_transports.py description: asyncio: WriteTransport.set_write_buffer_size

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Nick, thanks for writing this patch! > That's probably OK though - previously those wouldn't report signatures at > all. I honestly don't think it is OK. I think we should stick to the behaviour of old 'getfullargspec' cons

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks, Nick. Do you want me to commit the patch? (Larry will x-ray the patch before including it in 3.4rc2) -- ___ Python tracker <http://bugs.python.org/issue20

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > My only question: do they need to be independent flags? ISTM that they're > always either both True or both False. I'd keep them independent solely to make the code easier to read/audit. As, for instance, a combined argument won't m

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Committed in 65fb95578f94 .. forgot to add the issue # in the commit message :( -- ___ Python tracker <http://bugs.python.org/issue20

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

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

[issue20688] 3.4 cherry-pick: 65fb95578f94 inspect: Fix getfullargspec() to not to follow __wrapped__ chains

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: Larry, please consider cherry-picking this in 3.4.0. The main motivation to have this in 3.4.0 is to avoid introducing a backwards incompatible change in inspect.getfullargspec() and inspect.getargspec() semantics. changeset: 89284:65fb95578f94 user

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Issue #20688 to track cherry-picking this into 3.4.0 -- ___ Python tracker <http://bugs.python.org/issue20684> ___ ___ Python-bug

[issue20684] inspect.getfullargspec (etc) incorrectly follows __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > I think in 3.5 it may actually make sense to expose these as options > (perhaps with different names), so yeah, I think separate flags is > reasonable. +1 on thinking about exposing your 'follow_wrapper_chains' option in 3.5. I

[issue20691] inspect.signature: Consider exposing 'follow_wrapper_chains' option in public API

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: In the issue #20684, Nick had an idea of exposing 'follow_wrapper_chains' option to the public API. This might be actually very useful. -- assignee: yselivanov messages: 211668 nosy: larry, ncoghlan, yselivanov priority: normal severi

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-19 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: docs@python components: Documentation nosy: docs@python, gvanrossum, haypo, larry, yselivanov priority: release blocker severity: normal status: open title: asyncio.docs: Document subprocess_exec and subprocess_shell type: enhancement versions

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: (I'd document this myself, but I lack the experience of working with these functions) -- ___ Python tracker <http://bugs.python.org/is

[issue20696] asyncio.docs: Document StreamReader an other streams module APIs

2014-02-19 Thread Yury Selivanov
New submission from Yury Selivanov: Patch is attached, please review. -- assignee: yselivanov components: Documentation files: asyncio_docs_streams_01.patch keywords: patch messages: 211681 nosy: gvanrossum, haypo, larry, yselivanov priority: release blocker severity: normal stage

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

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: Some documentation. changeset: 89291:58fd64e55b29 tag: tip user:Yury Selivanov date:Wed Feb 19 20:58:44 2014 -0500 files: Doc/library/asyncio-eventloop.rst description: asyncio.docs: Document Error Handling API and

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

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > *sigh* okay. Including 2e8a142dbccc from last night, that's eight new > revisions to cherry-pick in one day. I really hope this is slowing down. It is slowing down. I think we now only have some documentation u

[issue20688] 3.4 cherry-pick: 65fb95578f94 inspect: Fix getfullargspec() to not to follow __wrapped__ chains

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > ok. Great, thanks Larry! -- ___ Python tracker <http://bugs.python.org/issue20688> ___ ___ Python-bugs-list mailing list Un

[issue20668] Remove dependency on tests.txt when running test_asyncio suite

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

[issue20668] Remove dependency on tests.txt when running test_asyncio suite

2014-02-19 Thread Yury Selivanov
Yury Selivanov added the comment: > Please wait until after 3.4 release. Not critical. I'll assign this to myself to commit this after 3.4. -- assignee: -> yselivanov ___ Python tracker <http://bugs.python.

[issue20704] asyncio: Implement debug API

2014-02-20 Thread Yury Selivanov
New submission from Yury Selivanov: This is a proxy issue for https://code.google.com/p/tulip/issues/detail?id=136 -- assignee: haypo messages: 211740 nosy: gvanrossum, haypo, yselivanov priority: normal severity: normal stage: committed/rejected status: open title: asyncio: Implement

[issue20704] asyncio: Implement debug API

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

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

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: NEWS updates: changeset: 89305:db749f0c6567 tag: tip user:Yury Selivanov date:Thu Feb 20 13:59:14 2014 -0500 files: Misc/NEWS description: Misc/NEWS: Add some missing news items re asyncio

[issue20704] asyncio: Implement debug API

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Relevant commits: 549f451aa4c3 and dbf13a7d3987 -- ___ Python tracker <http://bugs.python.org/issue20704> ___ ___ Python-bug

[issue20696] asyncio.docs: Document StreamReader an other streams module APIs

2014-02-20 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

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

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Again, documentation update. changeset: 89306:1c35d3114ea1 tag: tip user:Yury Selivanov date:Thu Feb 20 14:10:02 2014 -0500 files: Doc/library/asyncio-stream.rst description: asyncio.docs: Improve documentation of Streams. Issue

[issue20706] asyncio.docs: Fix wording in 'this method returns a coroutine object'

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

[issue20706] asyncio.docs: Fix wording in 'this method returns a coroutine object'

2014-02-20 Thread Yury Selivanov
New submission from Yury Selivanov: Codereview: https://codereview.appspot.com/66430046/ -- assignee: yselivanov messages: 211751 nosy: gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: asyncio.docs: Fix wording in 'this method returns a coro

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

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Hopefully, the last one from me ;) Again, some documentation updates. Thank you, Larry, for accepting these last minute fixes. changeset: 89308:cd23d0c3f850 tag: tip user:Yury Selivanov date:Thu Feb 20 16:20:44 2014 -0500 files

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

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

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Patch is attached, please review. -- keywords: +patch Added file: http://bugs.python.org/file34156/asyncio_subp_docs_01.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-20 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file34160/asyncio_subp_docs_02.patch ___ Python tracker <http://bugs.python.org/issue20694> ___ ___ Pytho

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

2014-02-20 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file34161/asyncio_subp_docs_03.patch ___ Python tracker <http://bugs.python.org/issue20694> ___ ___ Pytho

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, I think you can use undocumented and private (but still heavily tested) 'inspect._signature_internal(skip_bound_arg=False)', instead of signature. That will give you a Signature object with 'self' parameter always included. And i

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: (The thing with my proposal, is that pydoc will handle everything that 'inspect.signature' supports + it's behaviour won't change at all) -- ___ Python tracker <http://bug

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: I don't think we should touch 'inspect.isbuiltin' at this stage. Please consider my proposal instead. -- ___ Python tracker <http://bugs.pyt

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: > Rather, I'm proposing to fix a bug in ismethod. Oh, sorry, that's what I meant. I don't think it's good to fix it either. But please hold on, I think I found a bug in inspect.signature. -- ___

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Indeed, here it is: #20711 -- ___ Python tracker <http://bugs.python.org/issue20710> ___ ___ Python-bugs-list mailing list Unsub

[issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions

2014-02-20 Thread Yury Selivanov
New submission from Yury Selivanov: current behaviour: >>> import inspect >>> import os >>> inspect.getfullargspec(os.stat) FullArgSpec(args=['module', 'path'], varargs=None, varkw=None, defaults=None, kwonlyargs=['dir_fd&

[issue20710] Make inspect and pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: > So why is it necessary (and a release blocker) to fix a bug in > inspect._signature_fromstr, but a terrible idea to fix a bug in > inspect.ismethod? I was actually writing a comment, when I received this on my email ;) Let me explain my poin

[issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions

2014-02-20 Thread Yury Selivanov
Changes by Yury Selivanov : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue20711> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20694] asyncio.docs: Document subprocess_exec and subprocess_shell

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

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

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Last bit of documentation from me. I, personally, don't have any more changes in mind, so this one is probably the last from me on the asyncio front in this thread. changeset: 89312:ec3a70ef759d tag: tip user: Yury Selivanov date:

[issue20710] Make pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: > I think that's a bad API, it should be agnostic about the implementation > language. Agree. Re #20711: Please take a look at the patch I wrote. It's your code I modified, you know it and the __text_signature__ quirks be

[issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Updated patch. The entire test suite pass. -- Added file: http://bugs.python.org/file34169/sig_bound_02.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20711] inspect.getfullargspec does not correctly work with builtin module-level functions

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks Larry! > I bet you want this cherry-picked Very much so! I'll create a new issue. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.pyth

[issue20715] 3.4 cherry-pick: 2000c27ebe80 inspect: Fix getfullargspec to support builtin module-level functions

2014-02-20 Thread Yury Selivanov
New submission from Yury Selivanov: Larry, please consider cherry-picking 2000c27ebe80. Another bug in newly renovated 'inspect.getfullargspec()', this time with module-level builtins. Would be great if it supports them well in 3.4. changeset: 89314:2000c27ebe80 tag:

[issue20715] 3.4 cherry-pick: 2000c27ebe80 inspect: Fix getfullargspec to support builtin module-level functions

2014-02-20 Thread Yury Selivanov
Changes by Yury Selivanov : -- keywords: -3.4regression ___ Python tracker <http://bugs.python.org/issue20715> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20710] Make pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: Looks good to me. Those unit tests give some confidence ;) -- ___ Python tracker <http://bugs.python.org/issue20710> ___ ___

[issue20710] Make pydoc consistent about bound methods

2014-02-20 Thread Yury Selivanov
Yury Selivanov added the comment: With this patch 'help' now correctly renders classmethods, yay -- ___ Python tracker <http://bugs.python.org/issue20710> ___ __

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

2014-02-21 Thread Yury Selivanov
Yury Selivanov added the comment: Stefan, I committed one more fix in signature -- now cython functions should be finally supported. I'm not sure if Larry accepts this in 3.4.0 though, but I'll create an issue for that. -- ___ Python trac

[issue20724] 3.4 cherry-pick: d6aa3fa646e2 inspect.signature: Check for function-like objects before builtins

2014-02-21 Thread Yury Selivanov
New submission from Yury Selivanov: Another tweak in signature. Fixes #17159 once and for all (and will save Stefan from adding ugly hacks in Cython). I'm not sure if it is a release blocker or can wait till 3.4.1; all I can say is that the change is relatively simple, as it shouldn

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

2014-02-21 Thread Yury Selivanov
Yury Selivanov added the comment: I'm closing this issue. Please do not reopen it, and create a new one if necessary. -- status: open -> closed ___ Python tracker <http://bugs.python.org

[issue20726] inspect: Make Signature instances picklable

2014-02-21 Thread Yury Selivanov
New submission from Yury Selivanov: There is no reason for Signature objects to be not picklable. Patch is attached (it will require merging #19573 before). -- assignee: yselivanov files: sig_picklable_01.patch keywords: patch messages: 211903 nosy: larry, ncoghlan, yselivanov priority

[issue20724] 3.4 cherry-pick: d6aa3fa646e2 inspect.signature: Check for function-like objects before builtins

2014-02-22 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks, Larry! -- ___ Python tracker <http://bugs.python.org/issue20724> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20726] inspect: Make Signature instances picklable

2014-02-22 Thread Yury Selivanov
Yury Selivanov added the comment: > For extra points, you could test with all protocol versions (from 0 to > HIGHEST_PROTOCOL). Good idea, see the second patch. -- Added file: http://bugs.python.org/file34186/sig_picklable_02.patch ___

[issue20739] PEP 463 (except expression) implementation

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

[issue20726] inspect: Make Signature instances picklable

2014-02-24 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file34217/sig_picklable_03.patch ___ Python tracker <http://bugs.python.org/issue20726> ___ ___ Python-bug

[issue17053] pydoc should use inspect.signature instead of inspect.getfullargspec

2014-02-24 Thread Yury Selivanov
Yury Selivanov added the comment: Fixed in 19674. Closing this one. -- nosy: +yselivanov resolution: -> out of date status: open -> closed superseder: -> Add introspection information for builtins ___ Python tracker <http://bug

[issue19903] Idle: Use inspect.signature for calltips

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

[issue17373] Add inspect.Signature.from_callable()

2014-02-24 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov ___ Python tracker <http://bugs.python.org/issue17373> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14367] try/except block in ismethoddescriptor() in inspect.py, so that pydoc works with pygame in Python 3.2

2014-02-24 Thread Yury Selivanov
Yury Selivanov added the comment: Is this still an issue? -- nosy: +yselivanov ___ Python tracker <http://bugs.python.org/issue14367> ___ ___ Python-bugs-list m

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

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

[issue20763] old sys.path_hooks importer does not work with Python 3.4.0rc1

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

[issue20765] Pathlib docs fail to mention with_name, with_suffix

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

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

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

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

2014-02-26 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, I think the problem is that >>> property.__delete__.__text_signature__ '(instance, /)' but should be something like '($self, instance, /)'. What do you think? --

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

2014-02-26 Thread Yury Selivanov
Changes by Yury Selivanov : -- priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issue20786> ___ ___ Python-bugs-list mai

[issue20791] copy.copy(bytes) is slow

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

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

2014-02-28 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, Nick, what do you think? I'd like this to be fixed in 3.4.0... -- ___ Python tracker <http://bugs.python.org/is

[issue20807] 3.4 cherry pick: 82ec02db7fe6 & ec42ab5e0cb3 Windows installer fixes

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

[issue20810] literal re fails to match

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

[issue20817] inspect.getcallargs() raises the wrong error if 3+ arguments are missing

2014-03-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov nosy: +larry, ncoghlan, yselivanov ___ Python tracker <http://bugs.python.org/issue20817> ___ ___ Py

[issue20816] inspect.getcallargs() attempts to iterate over None

2014-03-01 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue20816> ___ ___ Python-bugs-list mai

[issue20828] inspect.getargspec() returns wrong answer with datetime.today.__call__()

2014-03-02 Thread Yury Selivanov
Yury Selivanov added the comment: Why are you trying to get signature of 'datetime.datetime.today.__call__'? __call__ in this case is a generic python object -- method-wrapper. It is used to make a classmethod. And the signature that getargspec is returning for it is correct. -

[issue20828] inspect.getargspec() returns wrong answer with datetime.today.__call__()

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

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

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

[issue20829] 3.4 cherry pick: c9861ec8754c Fix signatures for dict.__delitem__ and property.__delete__

2014-03-02 Thread Yury Selivanov
New submission from Yury Selivanov: http://hg.python.org/cpython/rev/c9861ec8754c changeset: 89461:c9861ec8754c user:Yury Selivanov date:Sun Mar 02 12:25:27 2014 -0500 summary: Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__ -- assignee

[issue20786] inspect.getargspec() returns wrong answer with property.__delete__()

2014-03-02 Thread Yury Selivanov
Yury Selivanov added the comment: Mike, this is now fixed. I've created an issue for tracking of getting this fix in 3.4.0: #20829. Thanks for finding this bug! -- ___ Python tracker <http://bugs.python.org/is

[issue20828] inspect.getargspec() returns wrong answer with datetime.today.__call__()

2014-03-02 Thread Yury Selivanov
Yury Selivanov added the comment: OK, I see. I'd recommend you to take a look how inspect.signature is implemented in 3.3 or 3.4 (and maybe backport it to python 2 and use the new API). To quickly fix your code, I'd suggest the following modifications: _WrapperDescriptor = type(typ

[issue20847] asyncio docs should call out that network logging is a no-no

2014-03-03 Thread Yury Selivanov
Yury Selivanov added the comment: Can we instead re-engineer asyncio logging to have logger calls in a separate thread? I.e. `logger` is a proxy object, that puts logging calls in a queue, and there would be another thread to block on the queue and do the actual logging. This way it won&#

[issue20847] asyncio docs should call out that network logging is a no-no

2014-03-03 Thread Yury Selivanov
Yury Selivanov added the comment: > If you really need network logging you should be able to configure a handler > that puts things in a queue whose other end is serviced by an asyncio task. > There should be no need to mess with the type of the logger object. It's something t

[issue20855] RFE: change bool(0.0) to evaluate as True

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

[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

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

[issue20829] 3.4 cherry pick: c9861ec8754c Fix signatures for dict.__delitem__ and property.__delete__

2014-03-06 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, so do you think we can have this one cherry-picked? -- ___ Python tracker <http://bugs.python.org/issue20829> ___ ___

[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue20894> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28782] SEGFAULT when running a given coroutine

2016-11-23 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue28782> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28782] SEGFAULT when running a given coroutine

2016-11-23 Thread Yury Selivanov
Yury Selivanov added the comment: Wow, Martin, this is a very interesting one. Thanks so much for tracking this down and reducing the test case. So far this doesn't seem to be related to async/await: the interpreter stack seems to enter some strange state under some conditions, and

[issue28782] SEGFAULT when running a given coroutine

2016-11-23 Thread Yury Selivanov
Yury Selivanov added the comment: > f_lasti being -2 has always been my preference, lasti.patch lgtm How about we commit pygen_yf.patch to 3.6 and whatever else in 3.7? lasti.patch is too invasive for 3.6 at this point, -1 for it in

[issue28782] SEGFAULT when running a given coroutine

2016-11-24 Thread Yury Selivanov
Yury Selivanov added the comment: LGTM -- ___ Python tracker <http://bugs.python.org/issue28782> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27172] Undeprecate inspect.getfullargspec()

2016-11-28 Thread Yury Selivanov
Yury Selivanov added the comment: Nick, your patch LGTM. I'd only add to the getargspec section that getfullargspec is usually a drop-in replacement (I've yet to see code where it's not the case). -- ___ Python tracker <http

[issue28823] Simplify compiling to BUILD_MAP_UNPACK

2016-11-28 Thread Yury Selivanov
Yury Selivanov added the comment: While I don't think that merging more than 256 dicts is a common task, the code does become much simpler. LGTM. -- ___ Python tracker <http://bugs.python.org/is

[issue28800] Add RETURN_NONE bytecode instruction

2016-11-28 Thread Yury Selivanov
Yury Selivanov added the comment: -1; we have too many opcodes already. Let's not complicate the code if there's no performance improvement. -- nosy: +yselivanov ___ Python tracker <http://bugs.python.o

[issue28827] f-strings: format spec should not accept unicode escapes

2016-11-28 Thread Yury Selivanov
New submission from Yury Selivanov: Right now, Python 3.6b4 happily accepts the following: >>> f'{10:02\N{LATIN CAPITAL LETTER X}}' '0A' >>> f'{10:02X}' '0A' I think that the first line should not be accepted (as we n

[issue28827] f-strings: format spec should not accept unicode escapes

2016-11-28 Thread Yury Selivanov
Yury Selivanov added the comment: Also this inconsistency: we already don't accept escaped letters after `!`: >>> f'{min!\N{LATIN SMALL LETTER R}}' File "", line 1 SyntaxError: f-string: invalid conversion c

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