Py3k | Python 3.0 Alpha 3 Release

Py3k | Python 3.0 Alpha 3 Release es un lenguaje de programación, permite varios estilos: programación orientada a objetos, programación estructurada y programación funcional. Otros muchos paradigmas más están soportados mediante el uso de extensiones.

python-gratisnet.jpg


Sistemas soportados, Windows, Linux/Unix, Mac OS X, OS/2, Amiga, Palm y  teléfonos Nokia.

Enlace|python.org

Descarga|Python-3.0a3.tgz

Descarga|python-3.0a3.msi

Descarga|python-3.0a3.amd64.msi

Lista de Cambios:
Core and Builtins
—————–

- Issue #2115: Important speedup in setting __slot__ attributes. Also
prevent a possible crash: an Abstract Base Class would try to access a slot
on a registered virtual subclass.

- Fixed repr() and str() of complex numbers with infinity or nan as real or
imaginary part.

- Clear all free list during a gc.collect() of the highest generation in order
to allow pymalloc to free more arenas. Python may give back memory to the
OS earlier.

- Issue #2045: Fix an infinite recursion triggered when printing a subclass of
collections.defaultdict, if its default_factory is set to a bound method.

- Fixed a minor memory leak in dictobject.c. The content of the free
list was not freed on interpreter shutdown.

- Limit free list of method and builtin function objects to 256 entries
each.

- Patch #1953: Added “sys._compact_freelists()“ and the C API functions
“PyInt_CompactFreeList“ and “PyFloat_CompactFreeList“
to compact the internal free lists of pre-allocted ints and floats.

- Bug #1983: Fixed return type of fork(), fork1() and forkpty() calls.
Python expected the return type int but the fork familie returns pi_t.

- Issue #1678380: Fix a bug that identifies 0j and -0j when they appear
in the same code unit.

- Issue #2025 : Add tuple.count() and tuple.index() methods to comply with
the collections.Sequence API.

- Fixed multiple reinitialization of the Python interpreter. The small int
list in longobject.c has caused a seg fault during the third finalization.

- Issue #1973: bytes.fromhex(”) raises SystemError

- Issue #1771: remove cmp parameter from sorted() and list.sort()

- Issue #1969: split and rsplit in bytearray are inconsistent

- map() and itertools.imap() no longer accept None for the first argument.
Use zip() instead.

- Issue #1769: Now int(“- 1″) is not allowed any more.

- Object/longobject.c: long(float(‘nan’)) raises an OverflowError instead
of returning 0.

- Issue #1762972: __file__ points to the source file instead of the pyc/pyo
file if the py file exists.

- Issue #1393: object_richcompare() returns NotImplemented instead of
False if the objects aren’t equal, to give the other side a chance.

- Issue #1692: Interpreter was not displaying location of SyntaxError.

- Improve some exception messages when Windows fails to load an extension
module. Now we get for example ‘%1 is not a valid Win32 application’ instead
of ‘error code 193′. Also use Unicode strings to deal with non-English
locales.

- Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C API
has gained a new type *PyInstanceMethod_Type* and the functions
*PyInstanceMethod_Check(o)*, *PyInstanceMethod_New(func)* and
*PyInstanceMethod_Function(im)*.

- Constants gc.DEBUG_OBJECT and gc.DEBUG_INSTANCE have been removed from the
gc module; gc.DEBUG_COLLECTABLE or gc.DEBUG_UNCOLLECTABLE are now enough to
print the corresponding list of objects considered by the garbage collector.

- Issue #1573: Improper use of the keyword-only syntax makes the parser crash.

- Issue #1564: The set implementation should special-case PyUnicode instead
of PyString.

- Patch #1031213: Decode source line in SyntaxErrors back to its
original source encoding.

- inspect.getsource() includes the decorators again.

- Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a
mountpoint.

- Fix utf-8-sig incremental decoder, which didn’t recognise a BOM when the
first chunk fed to the decoder started with a BOM, but was longer than 3
bytes.


Añadir un comentario 82 visitas, 1 Hoy |
GD Star Rating
loading...

Añadir un comentario

You must be logged in to post a comment.