2017-08-18 18:20 GMT+02:00 Yury Selivanov <yselivanov.ml at gmail.com>: > Hi Christian, > > On Fri, Aug 18, 2017 at 4:41 AM, Christian Tismer <tismer at stackless.com> > wrote: > > Hi friends, > > > > in the last months, I have developed signature support for > > PySide. The module creates the same signatures as are known > > for plain Python functions. > > > > As a non-trivial addition, the module also handles multiple > > signatures as a list. I consider this extension to PySide > > as quite essential and actually more important as for Python > > itself, because type info is rather crucial for PySide. > > > > Initially, I wrote this as a pure Python 3 extension. > > Then I was "asked" to port this to Python 2 too, which was > > quite hairy to do. I'm not sure if I should have done that. > > > > Before I publish this module, I want to ask: > > -------------------------------------------- > > > > Is it a bad idea to support signatures in Python 2 as well? > > There's a backport of signature API to Python 2. Although last time I > checked it was fairly outdated. > > I wrote a backport earlier this year: https://pypi.python.org/pypi/inspect2. > > Do I introduce a feature that should not exist in Python 2? > > Or is it fine to do so? > > > > Please let me know your opinion, I am happy with any result. > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/ > jelle.zijlstra%40gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170818/d0b155b9/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4