Re: [Python-Dev] thread semantics for file objects

2005-03-18 Thread stelios xanthakis
Jeremy Hylton wrote: On Thu, 17 Mar 2005 16:25:44 -0500, Aahz <[EMAIL PROTECTED]> wrote: On Thu, Mar 17, 2005, Jeremy Hylton wrote: Are the thread semantics for file objecst documented anywhere? I don't see anything in the library manual, which is where I expected to find it. It looks lik

[Python-Dev] pystone

2005-02-26 Thread stelios xanthakis
Hi, It seems that in pystone, Proc1 the else branch is never reached. Is this OK ?? Stelios ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-de

Re: [Python-Dev] Re: PEP 246: LiskovViolation as a name

2005-01-12 Thread stelios xanthakis
Skip Montanaro wrote: Michael> Guido writes: >> How about SubstitutabilityError? I don't think that's any better. At the very least, people can Google for "Liskov violation" to educate themselves. I'm not sure that the results of a Google search for "Subtitutability Error" will be any clear

Re: [Python-Dev] 2.4 news reaches interesting places

2004-12-08 Thread Stelios Xanthakis
The only thing that will fix the PR issue is to have a Python compiler distributed as part of the language. It doesn't matter if it doesn't support the full generality of Python, or even if it doesn't speed many operations up much. The only real requirements are that it can be used to produce "

Re: [Python-Dev] PEP: __source__ proposal

2004-12-04 Thread Stelios Xanthakis
I'm opposed to this idea. It creates overhead in the size of .pyc files, No it doesn't. for no additional value that couldn't be obtained otherwise. Martin: I know it is possible to do all this with existing python facilities. I did write such a dynamic code framework in python. Specifically I u

Re: [Python-Dev] PEP: __source__ proposal

2004-12-03 Thread Stelios Xanthakis
On Fri, 3 Dec 2004, holger krekel wrote: ... there is another possibility for storing "source" or any other such meta information with code/module objects: make __file__ and co_filename instances of a subclass of 'str' providing an extra attribute. For a simple example, they could have a 'source'

[Python-Dev] PEP: __source__ proposal

2004-12-03 Thread Stelios Xanthakis
7;ll try to come up with a good patch vs 2.4 Thanks, St. ---ATTACHED PYTHON ENHANCEMENT PROPOSAL--- PEP: XXX Title: The __source__ attribute Version: $Revision: 1.10 $ Last-Modified: $Date: 2003/09/22 04:51:49 $ Author: Stelios Xanthakis Status: Draft Type: Standards Track Content-Type: tex