Re: [Python-Dev] Odd lines in unicodedata_db.h

2010-04-04 Thread Carl M. Johnson
On Sun, Apr 4, 2010 at 12:59 AM, Stephen J. Turnbull wrote: > They are related to the Chinese numbering system.  I recall U+4EAC > having that value from my textbooks (it's the "kyo" in Tokyo, and the > "jing" in "Beijing", so quite memorable), and U+5793 looks familiar > (it's not otherwise used

Re: [Python-Dev] nonlocals() function?

2010-04-04 Thread Carl M. Johnson
On Sun, Apr 4, 2010 at 1:44 PM, Steven D'Aprano wrote: > On Mon, 5 Apr 2010 09:03:17 am average wrote: >> presently).  That includes dir() too and probably others. > > You are confused -- globals() and locals() don't return lists. Yeah, this thread is mostly a mess (what would nonlocals() return

Re: [Python-Dev] nonlocals() function?

2010-04-04 Thread Steven D'Aprano
On Mon, 5 Apr 2010 09:03:17 am average wrote: > On Sat, Apr 3, 2010 at 6:31 AM, Nick Coghlan wrote: > > Steve Bonner wrote: > >> What do we think of adding a built-in nonlocals() function that > >> would be similar to globals() and locals()?  Like those functions, > >> it would return a dictionar

Re: [Python-Dev] Odd lines in unicodedata_db.h

2010-04-04 Thread Guido van Rossum
On Sun, Apr 4, 2010 at 10:43 AM, MRAB wrote: > Amaury Forgeot d'Arc wrote: >> >> 2010/4/4 MRAB : >>> >>> I've just downloaded the daily snapshot at >>> http://svn.python.org/snapshots/python.tar.bz2 >>> >>> In the header file /python/Modules/unicodedata_db.h, there are the >>> following lines in t

[Python-Dev] nonlocals() function?

2010-04-04 Thread average
On Sat, Apr 3, 2010 at 6:31 AM, Nick Coghlan wrote: > Steve Bonner wrote: >> What do we think of adding a built-in nonlocals() function that would >> be similar to globals() and locals()?  Like those functions, it would >> return a dictionary of variable names and their values. Since we now >> hav

Re: [Python-Dev] Odd lines in unicodedata_db.h

2010-04-04 Thread MRAB
Amaury Forgeot d'Arc wrote: 2010/4/4 MRAB : I've just downloaded the daily snapshot at http://svn.python.org/snapshots/python.tar.bz2 In the header file /python/Modules/unicodedata_db.h, there are the following lines in the change_records_3_2_0 struct: { 255, 255, 255, 255, 1.0 },

Re: [Python-Dev] delaying 2.7 beta 1

2010-04-04 Thread Antoine Pitrou
Le Sat, 03 Apr 2010 14:45:57 -0600, Benjamin Peterson a écrit : > 2010/4/3 Benjamin Peterson : >> I am delaying the release of 2.7 beta 1 pending the fixing of >> http://bugs.python.org/issue8108 and the greening of the buildbots. > > After consultation with Antoine I've lowered #8108's priority.

Re: [Python-Dev] Odd lines in unicodedata_db.h

2010-04-04 Thread Stephen J. Turnbull
Amaury Forgeot d'Arc writes: > I don't think so. Unicode 3.2 did contain two entries with large > numeric values. The file Unihan-3.2.0.txt contains these two > lines: > > U+4EAC kPrimaryNumeric 10,000,000,000,000,000 ten quadrillion > (American) > U+5793 kPrimaryNumeric 100,

Re: [Python-Dev] Odd lines in unicodedata_db.h

2010-04-04 Thread Amaury Forgeot d'Arc
2010/4/4 MRAB : > I've just downloaded the daily snapshot at > http://svn.python.org/snapshots/python.tar.bz2 > > In the header file /python/Modules/unicodedata_db.h, there are the > following lines in the change_records_3_2_0 struct: > >        { 255, 255, 255, 255, 1.0 }, >        { 255, 255, 255