Re: [Python-Dev] Expose Subversion revision number to Python

2005-12-18 Thread Reinhold Birkenfeld
Martin v. Löwis wrote: > Propose first. I have the feeling that the feature will change forth > and back if everybody gets to say something. I would call it > sys.svnversion (because that's what it is). Perhaps it could make sense for sys.svnversion to exist only in a debug build. This way people

Re: [Python-Dev] status of development documentation

2005-12-23 Thread Reinhold Birkenfeld
Robey Pointer wrote: > On 22 Dec 2005, at 3:51, Michael Hudson wrote: > >> "Fredrik Lundh" <[EMAIL PROTECTED]> writes: >> >>> Checked the python-list archives lately? If you google c.l.python >>> for the >>> word "documentation", you'll find recent megathreads with subjects >>> like >>> "bitc

Re: [Python-Dev] NotImplemented reaching top-level

2005-12-25 Thread Reinhold Birkenfeld
Armin Rigo wrote: > Hi Facundo, > > On Sat, Dec 24, 2005 at 02:31:19PM -0300, Facundo Batista wrote: >> >>> d += 1.2 >> >>> d >> NotImplemented > > The situation appears to be a mess. Some combinations of specific > operators fail to convert NotImplemented to a TypeError, depending on > old- or

Re: [Python-Dev] a quit that actually quits

2005-12-27 Thread Reinhold Birkenfeld
Fredrik Lundh wrote: > sourceforge just went off the air, so I'm posting this patch here, in order > to distract you all from Christian's deque thread. > > this silly little patch changes the behaviour of the interpreter so that > "quit" > and "exit" actually exits the interpreter. it does this

Re: [Python-Dev] a quit that actually quits

2005-12-27 Thread Reinhold Birkenfeld
Fredrik Lundh wrote: > Reinhold Birkenfeld wrote: > >> What is wrong with something like this: >> >> >>> class Quitter: >> ... def __repr__(self): raise SystemExit >> ... >> >>> exit = quit = Quitter() > >>>> vars() #

Re: [Python-Dev] a quit that actually quits

2005-12-28 Thread Reinhold Birkenfeld
[EMAIL PROTECTED] wrote: > Fredrik> a quit/exit command that actually quits, instead of printing a > Fredrik> "you didn't say please!" message. > > I like Fredrik's idea more and more. Without my Unix bifocals it wouldn't > occur to me that Ctrl-D is the way to exit. Knowing Ctrl-Z is EO

Re: [Python-Dev] a quit that actually quits

2005-12-28 Thread Reinhold Birkenfeld
Fredrik Lundh wrote: > Walter Dörwald wrote: > >> We have sys.displayhook and sys.excepthook. Why not add a sys.inputhook? >> sys.inputhook gets passed each line entered and may return True if it has >> processed the line inself and False if normal handling of the input should be >> done. This all

Re: [Python-Dev] Naming conventions in Py3K

2005-12-30 Thread Reinhold Birkenfeld
Ka-Ping Yee wrote: > In a fair number of cases, Python doesn't follow its own recommended > naming conventions. Changing these things would break backward > compatibility, so they are out of the question for Python 2.*, but > it would be nice to keep these in mind for Python 3K. > > Constants

[Python-Dev] TAR problems under Solaris

2006-01-04 Thread Reinhold Birkenfeld
Recently, someone on dclpy posted about an error he got when he tried to unpack the Python distribution tarball with Sparc Solaris 9's tar: tar: directory checksum error With GNU tar, it worked correctly. Is this a known issue, or is it irrelevant? Reinhold -- Mail address is perfectly valid!

Re: [Python-Dev] TAR problems under Solaris

2006-01-04 Thread Reinhold Birkenfeld
Tim Peters wrote: > [Reinhold Birkenfeld] >> Recently, someone on dclpy posted about an error he got >> when he tried to unpack the Python distribution tarball >> with Sparc Solaris 9's tar: >> >> tar: directory checksum error >> >> With GNU tar

<    1   2