-
Recent Posts
Categories
Archives
- August 2016
- June 2016
- April 2016
- February 2016
- October 2015
- May 2015
- January 2015
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- December 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- August 2012
- June 2012
- April 2012
- January 2012
- December 2011
- November 2011
- October 2011
- August 2011
- July 2011
- December 2010
- November 2010
- September 2010
- July 2010
- June 2010
- May 2010
- March 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- August 2008
- June 2008
- May 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- August 2007
- June 2007
- May 2007
- March 2007
- November 2006
- August 2006
- July 2006
- February 2006
- October 2005
- September 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- December 2004
- June 2004
- March 2004
- February 2004
- December 2003
- October 2003
- June 2003
Meta
Category Archives: Python
Functions vs. Callable objects in Lua
While working on Lunatic Python, I’ve understood that Lua does specific type checking with lua_isfunction() in some places where a callable type is expected. As a side effect, these places only accept a real Lua function when the callable object … Continue reading
Posted in Lua, Project, Python
Leave a comment
Lunatic Python
Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside Python, Python inside Lua, Lua inside Python inside Lua, Python inside Lua inside Python, and so on. … Continue reading
Posted in C/C++, Lua, Project, Python
Leave a comment
Jython links
I have collected a few cool links about Jython, and I’d like to keep them somewhere. So, here they are: Embedding Jython Extending Jython Subclassing Java classes in Jython Database connectivity in Jython (zxJDBC) Database development in Jython with zxJDBC … Continue reading
Posted in Java, Python
Leave a comment
Using pyperl to build a python-like xchat interface for perl
My weekend was taken by boring academic stuff. More specifically, I’ve built a validator in C, including a tokenizer, a parser, and a scope system, to check for a small subset of the C language syntax. Anyway.. I was still … Continue reading
Webmin and Perl inside Python
Today I’ve been talking to Cavassin about Webmin, and wondering if it would be possible to write Python modules for it. I was sure that I wasn’t being original in that idea, and Cavassin also mentioned that he had read … Continue reading
Posted in Perl, Python, Snippet
Leave a comment
UTF8 to ISO-8859-1 xchat converter
Today I’m a little short in time, so I decided to implement one of the bit-sized tasks in my backlog. These UTF8 raw strings appearing in my xchat when someone else is using that encoding is bothering for a long … Continue reading
Posted in Project, Python, Snippet
Leave a comment
RandomFolder for Zope 3
I’ve restarted my research about Zope 3 in the last few days. This time, I went a little further. I’ve written a small product so that I was forced to debug some of the internals of Zope 3 and learn … Continue reading
Posted in Python
Leave a comment
Python dateutil module released
I’m a little late here, since python-dateutil was released last week. Anyway, this is a Python package providing powerful extensions to the standard python datetime module, available with Python 2.3. I wrote it because I really missed some generic date/time … Continue reading
Posted in Project, Python, Snippet
Leave a comment
Updated XChat’s python plugin
After a long time of inactivity, I’ve updated the python plugin of xchat. There were some pending bugs, and new xchat features to catch. Here is the list of changes: Fixed the reentrance problem which made xchat freeze when some … Continue reading
Posted in C/C++, Project, Python
Leave a comment
Removed SRE recursion in Python
SRE is the current regular expression engine used in Python, and the scheme currently in use is highly recursive in some cases. For example, check the result of the following expression, with the current interpreters: >>> import re >>> re.match(‘(x)*’,’x’*10000) … Continue reading
Posted in C/C++, Patch, Python
Leave a comment