-
Recent Posts
Archives
- July 2019
- June 2012
- May 2012
- April 2012
- September 2011
- April 2011
- January 2011
- December 2010
- November 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
Categories
Meta
Category Archives: Python
Universal Set in Python
Building sets from set() and ANY When defining a regular expression there is a well known duality between a set of characters specified by enclosing characters or character ranges within square brackets `[…]` and defining the pattern of the complement … Continue reading
The statement that never was
The Python release archive is a nice repository for archaeological findings. My biggest surprise was the existence of an access statement and `access` keyword in the pre-history of Python 1.5.0. The syntax was already specified in release 1.0 with an … Continue reading
Pyload part I ( Path objects )
This article is the first in a series that studies the design of a module import system. Although this work is situated in the Python context it can stay on its own to a large extent and ideas may be … Continue reading
Posted in Python
Comments Off on Pyload part I ( Path objects )
Broken beyond repair – Pythons import system
It often happens that language features we have once distasted become comfortable after a while. We learn to live with them, take their advantages and forget about their annoyance. For many Python developers things like the explicit `self` in the … Continue reading
Posted in Python
9 Comments
Contextual Keywords
Keywords and Contextual Keywords A language keyword is a reserved word that cannot be used as an identifier for variables, constants, classes etc. Often it is an element of language syntax. Syntactical structure is simplified by means of keywords. A … Continue reading
Posted in csharp, EasyExtend, Grammars, Python
Comments Off on Contextual Keywords
CPython vs IronPython
Two video shots tell more than 2000 words. CPython Get the latest Flash Player to see this player. [Javascript required to view Flash movie, please turn it on and refresh this page] IronPython Get the latest Flash Player to see … Continue reading
Posted in Python
Comments Off on CPython vs IronPython
The thunk_stmt and programmable semantics In Python
Seems as if there was just a single direction of syntactical improvement of Python these days which is the introduction of Ruby style blocks. Tav suggests to reuse Pythons with-statement: with_stmt: "with" expression (["as" target] | ["do" [parameter_list]]) ":" suitewith_stmt: … Continue reading
Posted in DSL, Grammars, Python
4 Comments
Lonely Python is Intelligent Design and how to liberate from it
Python is doomed. Well, of course it is not yet doomed. Python is an evolutionary dead end living lonely on its own fitness plateau. It is clear that Python won’t have offspring because of significant whitespace aka indentation sensitivity. No … Continue reading
Posted in DSL, Grammars, Python
2 Comments