Re: [Python-Dev] [Python-checkins] r84792 - in python/branches/py3k: Doc/library/reprlib.rst Lib/collections.py Lib/reprlib.py Lib/test/test_reprlib.py Misc/NEWS

2010-09-13 Thread Nick Coghlan
On Tue, Sep 14, 2010 at 7:36 AM, raymond.hettinger wrote: > +        # Can't use functools.wraps() here because of bootstrap issues > +        wrapper.__module__ = getattr(user_function, '__module__') > +        wrapper.__doc__ = getattr(user_function, '__doc__') > +        wrapper.__name__ = geta

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Martin v. Löwis
Am 13.09.2010 17:36, schrieb Antoine Pitrou: > >>> I meant how these decisions are implemented. Is there a configure >>> switch (there doesn't seem to be)? Does it require patching Python? >> >> Ah, no. Standard configure switches are used. Debian (inherited by Ubuntu) >> has a post-installation

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Antoine Pitrou
> >I meant how these decisions are implemented. Is there a configure > >switch (there doesn't seem to be)? Does it require patching Python? > > Ah, no. Standard configure switches are used. Debian (inherited by Ubuntu) > has a post-installation script for Python packages which create the .py >

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Barry Warsaw
On Sep 13, 2010, at 05:04 PM, Antoine Pitrou wrote: >On Mon, 13 Sep 2010 10:55:16 -0400 >Barry Warsaw wrote: >> On Sep 13, 2010, at 04:36 PM, Antoine Pitrou wrote: >> >> -/usr/share/pyshared/foo.cpython-32m.so >> >> -/usr/share/pyshared/foo.cpython-33m.so >> >> +/usr/lib/python/foo.cp

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Antoine Pitrou
On Mon, 13 Sep 2010 10:55:16 -0400 Barry Warsaw wrote: > On Sep 13, 2010, at 04:36 PM, Antoine Pitrou wrote: > > >On Mon, 13 Sep 2010 16:18:44 +0200 (CEST) > >barry.warsaw wrote: > >> > >> -For an arbitrary package `foo`, you would see these files when the > >> +For an arbitrary package `foo`,

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Barry Warsaw
On Sep 13, 2010, at 04:36 PM, Antoine Pitrou wrote: >On Mon, 13 Sep 2010 16:18:44 +0200 (CEST) >barry.warsaw wrote: >> >> -For an arbitrary package `foo`, you would see these files when the >> +For an arbitrary package `foo`, you might see these files when the >> distribution package was insta

Re: [Python-Dev] Python needs a standard asynchronous return object

2010-09-13 Thread Vinay Sajip
James Yonan openvpn.net> writes: > > I'd like to propose that the Python community standardize on a > "deferred" object for asynchronous return values, modeled after the > well-thought-out Twisted Deferred class. Ummm, sorry, I seem to need new glasses :-( ignore my last post.

Re: [Python-Dev] Python needs a standard asynchronous return object

2010-09-13 Thread Vinay Sajip
James Yonan openvpn.net> writes: > I'd like to propose that the Python community standardize on a > "deferred" object for asynchronous return values Have a look at PEP 3148: http://www.python.org/dev/peps/pep-3148/ ___ Python-Dev mailing list Pyth

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-13 Thread Antoine Pitrou
On Mon, 13 Sep 2010 16:18:44 +0200 (CEST) barry.warsaw wrote: > > -For an arbitrary package `foo`, you would see these files when the > +For an arbitrary package `foo`, you might see these files when the > distribution package was installed:: > > -/usr/share/pyshared/foo.cpython-32m.so >

Re: [Python-Dev] PEP 3149 thoughts

2010-09-13 Thread Barry Warsaw
On Sep 12, 2010, at 04:10 PM, Martin v. Löwis wrote: >> Does PEP 3149 have any advantage for Windows installations? > >I don't see any immediate advantage. The problem that the PEP addresses >typically doesn't exist on Windows. Cool. >>> 2. Why does the PEP recommend installing stuff >>> into /u