Re: [TIP] Anyone still using Python 2.5?

2011-12-22 Thread Kumar McMillan
On Wed, Dec 21, 2011 at 1:15 AM, Chris Withers wrote: > Hi All, > > What's the general consensus on supporting Python 2.5 nowadays? > If you compile mod_wsgi with Apache you are stuck on the version of Python you compiled with. I had an old server stuck on Python 2.5 for this reason but I finally

Re: Best ways of managing text encodings in source/regexes?

2007-11-27 Thread Kumar McMillan
On Nov 26, 2007 4:27 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > myASCIIRegex = re.compile('[A-Z]') > > myUniRegex = re.compile(u'\u2013') # en-dash > > > > then read the source file into a unicode string with codecs.read(), > > then expect re to match against the unicode string using eith

Re: Python Feature Request: Explicit variable declarations

2007-04-19 Thread Kumar McMillan
On 4/14/07, James Stroud <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > But, if you have masochistic tendencies and want a lot of overhead in > your programming, you can always bind yourself mercilessly to classes: > > > class C(object): >declared = ['bob', 'carol', 'ted', 'alice'] >

Deallocation of a pointer not malloced, any tips?

2007-04-19 Thread Kumar McMillan
I get this warning from my test suite when I introduced a segment of code: python(18603,0xa000d000) malloc: *** Deallocation of a pointer not malloced: 0x310caa3; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to

Re: PyCon blogs?

2007-02-28 Thread Kumar McMillan
> > Was anybody blogging about PyCon (talks and/or sprints)? Got any > > pointers? or ... if you're lazy like me, read them all in one place! http://planetpython.org/ http://www.pythonware.com/daily/ http://planet.python.org/ ps. http://flickr.com/search/?q=pycon2007 :) -- http://mail.python.