Re: Python 3.1 beta 1

2009-05-08 Thread pruebauno
On May 7, 11:57 am, bearophileh...@lycos.com wrote: Equality tests between OrderedDict objects are order-sensitive and are implemented as list(od1.items())==list(od2.items()). Equality tests between OrderedDict objects and other Mapping objects are order-insensitive very nice idea. I

Re: Python 3.1 beta 1

2009-05-08 Thread pruebauno
On May 7, 6:33 pm, Benjamin Peterson benja...@python.org wrote:  pruebauno at latinmail.com writes: Congratulations! Thanks! Is it just me or was some nice summary output added to the make process? I get a nice list of modules that didn't compile and the ones where the library could

[RELEASED] Python 3.1 beta 1

2009-05-07 Thread Benjamin Peterson
On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of features and changes Python 3.0 introduced. For example, the new I/O system has been rewritten in C for speed. File

Re: [Python-Dev] [RELEASED] Python 3.1 beta 1

2009-05-07 Thread Daniel Fetchinson
On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. .. Other features include an ordered dictionary implementation Are there plans for backporting this to python 2.x just as multiprocessing has been? I know that there

Re: [Python-Dev] [RELEASED] Python 3.1 beta 1

2009-05-07 Thread Scott David Daniels
Daniel Fetchinson wrote: Other features include an ordered dictionary implementation Are there plans for backporting this to python 2.x just as multiprocessing has been? Why not grab the 3.1 code and do it yourself for your 2.X's? It should be far less work than attempting something as

Re: [Python-Dev] [RELEASED] Python 3.1 beta 1

2009-05-07 Thread Jesse Noller
On Thu, May 7, 2009 at 9:12 AM, Scott David Daniels scott.dani...@acm.org wrote: Daniel Fetchinson wrote: Other features include an ordered dictionary implementation Are there plans for backporting this to python 2.x just as multiprocessing has been? Why not grab the 3.1 code and do it

Re: [RELEASED] Python 3.1 beta 1

2009-05-07 Thread CTO
On May 7, 9:12 am, Scott David Daniels scott.dani...@acm.org wrote: Daniel Fetchinson wrote: Other features include an ordered dictionary implementation Are there plans for backporting this to python 2.x just as multiprocessing has been? Why not grab the 3.1 code and do it yourself for

Re: [RELEASED] Python 3.1 beta 1

2009-05-07 Thread Scott David Daniels
CTO wrote: ... If OrderedDict winds up being backported, will you include it in 2.x? I see it in the 2.7 sources. --Scott David Daniels scott.dani...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 3.1 beta 1

2009-05-07 Thread bearophileHUGS
I appreciate the tables Infinite Iterators and Iterators terminating on the shortest input sequence at the top of the itertools module, they are quite handy. I'd like to see similar summary tables at the top of other docs pages too (such pages are often quite long), for example the collections

[RELEASED] Python 3.1 beta 1

2009-05-07 Thread Benjamin Peterson
On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of features and changes Python 3.0 introduced. For example, the new I/O system has been rewritten in C for speed. File

Re: Python 3.1 beta 1

2009-05-07 Thread pruebauno
On May 6, 9:32 pm, Benjamin Peterson benja...@python.org wrote: On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of features and changes Python 3.0 introduced.  For

Re: Python 3.1 beta 1

2009-05-07 Thread Terry Reedy
bearophileh...@lycos.com wrote: Is the order inside OrderedDict kept with a double linked list of the items? That is one of the things Raymond tried. Check the code for what he settled on for the Python version. I believe he thinks the best C implementation might be different from the

Re: Python 3.1 beta 1

2009-05-07 Thread bearophileHUGS
Terry Reedy: bearophile: Well, I'd like function call semantics pass-in keyword arguments to use OrderedDicts then... :-) [...] It would require a sufficiently fast C implementation. Right. Such dict is usually small, so if people want it ordered, it may be better to just use an array of

Re: Python 3.1 beta 1

2009-05-07 Thread Benjamin Peterson
pruebauno at latinmail.com writes: Congratulations! Thanks! Is it just me or was some nice summary output added to the make process? I get a nice list of modules that didn't compile and the ones where the library could not be found. Are you compiling on a different platform? The nice

Re: Python 3.1 beta 1

2009-05-07 Thread Benjamin Peterson
bearophileHUGS at lycos.com writes: collections.Counter and collections.OrderedDict: very nice and useful. Is the order inside OrderedDict kept with a double linked list of the items? There's a doubly-linked list containing the values. Another dictionary maps keys to the list. --

[RELEASED] Python 3.1 beta 1

2009-05-06 Thread Benjamin Peterson
On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of features and changes Python 3.0 introduced. For example, the new I/O system has been rewritten in C for speed. File

[RELEASED] Python 3.1 beta 1

2009-05-06 Thread Benjamin Peterson
On behalf of the Python development team, I'm thrilled to announce the first and only beta release of Python 3.1. Python 3.1 focuses on the stabilization and optimization of features and changes Python 3.0 introduced. For example, the new I/O system has been rewritten in C for speed. File