Re: [Python-Dev] cffi in stdlib

2013-03-01 Thread Gregory P. Smith
On Wed, Feb 27, 2013 at 7:57 AM, Eli Bendersky wrote: > > > I read the cffi docs once again and went through some of the examples. I >> > want to divide this to two topics. >> > >> > One is what you call the "ABI" level. IMHO, it's hands down superior to >> > ctypes. Your readdir demo demonstrat

[Python-Dev] Planning on removing cache invalidation for file finders

2013-03-01 Thread Brett Cannon
As of right now, importlib keeps a cache of what is in a directory for its file finder instances. It uses mtime on the directory to try and detect when it has changed to know when to refresh the cache. But thanks to mtime granularities of up to a second, it is only a heuristic that isn't totally re

Re: [Python-Dev] Python Language Summit at PyCon: Agenda

2013-03-01 Thread Antoine Pitrou
On Fri, 1 Mar 2013 09:32:23 -0500 Barry Warsaw wrote: > > >On the other hand in some ways Jython is sort of like Python on a > >weird virtual OS that lets the real OS bleed through some. This may > >still need to be checked in that way (there's are still checks of >os.name == 'nt'> right?) > >

Re: [Python-Dev] Merging Jython code into standard Lib [was Re: Python Language Summit at PyCon: Agenda]

2013-03-01 Thread fwierzbi...@gmail.com
On Thu, Feb 28, 2013 at 12:35 PM, Brett Cannon wrote: > > On Thu, Feb 28, 2013 at 3:17 PM, fwierzbi...@gmail.com > wrote: >> >> It would be nice in this particular case if there was a zlib.py that >> imported _zlib -- then it would be easy to shim in Jython's version, >> whether it is written in

[Python-Dev] Summary of Python tracker Issues

2013-03-01 Thread Python tracker
ACTIVITY SUMMARY (2013-02-22 - 2013-03-01) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open3877 (+11) closed 25227 (+41) total 29104 (+52) Open issues wit

[Python-Dev] FileCookieJars

2013-03-01 Thread Demian Brecht
Cross-posting from python-ideas due to no response there. Perhaps it's due to a general lack of usage/caring for cookiejar, but figured /someone/'s got to have an opinion about my proposal ;) Note that I've moved my discussion from bug 16942 to 16901 (http://bugs.python.org/issue16901) as they're

[Python-Dev] Disabling string interning for null and single-char causes segfaults

2013-03-01 Thread Stefan Bucur
Hi, I'm working on an automated bug finding tool that I'm trying to apply on the Python interpreter code (version 2.7.3). Because of early prototype limitations, I needed to disable string interning in stringobject.c. More precisely, I modified the PyString_FromStringAndSize and PyString_FromStrin

Re: [Python-Dev] Python Language Summit at PyCon: Agenda

2013-03-01 Thread Brett Cannon
On Fri, Mar 1, 2013 at 4:41 AM, Stefan Behnel wrote: > Michael Foord, 27.02.2013 17:51: > > PyCon, and the Python Language Summit, is nearly upon us. We have a good > number of people confirmed to attend. If you are intending to come to the > language summit but haven't let me know please do so.

Re: [Python-Dev] Python Language Summit at PyCon: Agenda

2013-03-01 Thread Barry Warsaw
On Feb 28, 2013, at 08:44 AM, fwierzbi...@gmail.com wrote: >Sorry I meant "is_jython" as a sort of shorthand for a case by case >check. It would be cool if we had a nice set of checks somewhere like >"is_refcounted", etc. Would the sys.implementation area be a good >place for such things? Yep. U

Re: [Python-Dev] [Python-checkins] cpython (3.3): Don't deadlock on a reentrant call.

2013-03-01 Thread Ezio Melotti
Hi, On Fri, Mar 1, 2013 at 2:02 PM, raymond.hettinger wrote: > http://hg.python.org/cpython/rev/1920422626a5 > changeset: 82437:1920422626a5 > branch: 3.3 > parent: 82435:43ac02b7e322 > user:Raymond Hettinger > date:Fri Mar 01 03:47:57 2013 -0800 > summary: > Don't

Re: [Python-Dev] High volumes and off topic discussions

2013-03-01 Thread Antoine Pitrou
Le Thu, 28 Feb 2013 19:17:39 +0200, Maciej Fijalkowski a écrit : > On Thu, Feb 28, 2013 at 4:03 PM, Antoine Pitrou > wrote: > > Le Thu, 28 Feb 2013 13:36:10 +0200, > > Maciej Fijalkowski a écrit : > >> Hi > >> > >> I know this is a hard topic, but python-dev is already incredibly > >> high-volum

Re: [Python-Dev] Python Language Summit at PyCon: Agenda

2013-03-01 Thread Stefan Behnel
Michael Foord, 27.02.2013 17:51: > PyCon, and the Python Language Summit, is nearly upon us. We have a good > number of people confirmed to attend. If you are intending to come to the > language summit but haven't let me know please do so. > > The agenda of topics for discussion so far includes