Re: [Python-Dev] [OT] Monospaced fonts

2007-07-26 Thread Georg Brandl
Greg Ewing schrieb: > Georg Brandl wrote: >> I couldn't live without monospaced fonts for >> source code. Apart from being easier to read, it is essential for sketches >> or things that must be aligned, such as the class schema in SocketServer.py. > > This just goes to show we're living in the da

[Python-Dev] Weekly Python Patch/Bug Summary

2007-07-26 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 399 open ( +5) / 3836 closed ( +9) / 4235 total (+14) Bugs: 1056 open (+10) / 6776 closed ( +3) / 7832 total (+13) RFE : 263 open ( +1) / 294 closed ( +1) / 557 total ( +2) New / Reopened Patches __ utilize 2

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Stephen J. Turnbull
[EMAIL PROTECTED] writes: > I started with IBM punch cards Definitely a character cell format. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyt

Re: [Python-Dev] [OT] Monospaced fonts

2007-07-26 Thread Greg Ewing
Georg Brandl wrote: > I couldn't live without monospaced fonts for > source code. Apart from being easier to read, it is essential for sketches > or things that must be aligned, such as the class schema in SocketServer.py. This just goes to show we're living in the dark ages wrt source code repre

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Greg Ewing
[EMAIL PROTECTED] wrote: > Me, I find it easier > to read code which is displayed or printed with monospaced fonts. Note, > however, that I've been programming for 30 years. I started with IBM punch > cards, so I might be a bit biased. I normally use monospaced fonts for Python, but in my Think

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Greg Ewing
Pete Forman wrote: > Why do programming languages > continue to assume use of a monospaced font? Programming *languages* don't -- I know of no (serious[1]) language that requires a monospaced font in order to work correctly. Even in Python, as long as you don't mix tabs and spaces, indentation sti

Re: [Python-Dev] test_asyncore fails intermittently on Darwin

2007-07-26 Thread Alan McIntyre
Thanks Hasan, I'll see if I can dig up what they did and make some changes to fix the asyncore tests. Regards, Alan On 7/26/07, Hasan Diwan <[EMAIL PROTECTED]> wrote: > test_asyncore fails intermittently on Darwin in trunk rev 56558; it > seems a matter of executing the test too fast and not wait

[Python-Dev] test_asyncore fails intermittently on Darwin

2007-07-26 Thread Hasan Diwan
test_asyncore fails intermittently on Darwin in trunk rev 56558; it seems a matter of executing the test too fast and not waiting for the TCP_WAIT state to expire. I think somebody encountered this problem previously with another module (socket_server) and I'm unsure how that was sorted. -- Cheers

Re: [Python-Dev] interaction between locals, builtins and except clause

2007-07-26 Thread Georg Brandl
Lisandro Dalcin schrieb: > Porting to Py3K, I modified a function like the followin, using a > trick for it working in Py2.x . > > def __iter__(self): > if self == _mpi.INFO_NULL: > return > try:range = xrange > except: pass > nkeys = _mpi.info_g

[Python-Dev] interaction between locals, builtins and except clause

2007-07-26 Thread Lisandro Dalcin
Porting to Py3K, I modified a function like the followin, using a trick for it working in Py2.x . def __iter__(self): if self == _mpi.INFO_NULL: return try:range = xrange except: pass nkeys = _mpi.info_get_nkeys(self) for nthkey in range(

[Python-Dev] [OT] Monospaced fonts

2007-07-26 Thread Georg Brandl
[EMAIL PROTECTED] schrieb: > Pete> That points towards a way forward. Why do programming languages > Pete> continue to assume use of a monospaced font? It was natural when > Pete> we used punch cards and line printers, but now? Python relies on > Pete> the indentation but could b

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Bill Janssen
> The term "French Spacing" is used for two spaces after a period ending > a sentence, for those wishing to do more research. I have not found > any authoritative answer. This phrase sounded to me like one of the slurs the English invented during their various wars with the Dutch and the French (

Re: [Python-Dev] Floating point test_pow failure on the alpha Debian buildbot

2007-07-26 Thread Tim Peters
[Nick Coghlan] > test_pow is failing on the alpha Debian buildbot, complaining that a > negative number can't be raised to a fractional power. Now, to work > around some bugs in platform implementations of math.fpow(), pow() does > its own check to see if the exponent is an integer. > > The way pow

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Josiah Carlson
[EMAIL PROTECTED] wrote: > > > Pete> That points towards a way forward. Why do programming languages > Pete> continue to assume use of a monospaced font? It was natural when > Pete> we used punch cards and line printers, but now? Python relies on > Pete> the indentation but co

[Python-Dev] Floating point test_pow failure on the alpha Debian buildbot

2007-07-26 Thread Nick Coghlan
test_pow is failing on the alpha Debian buildbot, complaining that a negative number can't be raised to a fractional power. Now, to work around some bugs in platform implementations of math.fpow(), pow() does its own check to see if the exponent is an integer. The way pow() does that check is t

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread skip
Pete> That points towards a way forward. Why do programming languages Pete> continue to assume use of a monospaced font? It was natural when Pete> we used punch cards and line printers, but now? Python relies on Pete> the indentation but could be flexible about other textual

Re: [Python-Dev] Two spaces or one?

2007-07-26 Thread Pete Forman
The term "French Spacing" is used for two spaces after a period ending a sentence, for those wishing to do more research. I have not found any authoritative answer. The balance has been towards two spaces when using a monospaced font. That points towards a way forward. Why do programming langua