Software-update: Python 3.1.3 / 2.7.1

Python is een objectgeoriënteerde programmeertaal die kan worden gebruikt om eenvoudige tot complexe platformonafhankelijke applicaties te ontwikkelen. De 3.x-serie is niet meer compatibel met de voorgaande versietakken, omdat de Python-ontwikkelaars de taal hebben ontdaan van oude code en enkele aanwezige ontwerpfouten. Enkele dagen geleden is zowel versie 3.1.3 als versie 2.7.1 uitgebracht, voorzien van de volgende lijst met veranderingen:

What's New in Python 3.1.3?

Core and Builtins:
  • Issue #10391: Don't dereference invalid memory in error messages in the ast module.
Library:
  • Issue #10459: Update CJK character names to Unicode 5.1.
  • Issue #10092: Properly reset locale in calendar.Locale*Calendar classes.
  • Issue #6098: Don't claim DOM level 3 conformance in minidom.
  • Issue #5762: Fix AttributeError raised by ``xml.dom.minidom`` when an empty XML namespace attribute is encountered.
  • Issue #1710703: Write structures for an empty ZIP archive when a ZipFile is created in modes 'a' or 'w' and then closed without adding any files. Raise BadZipfile (rather than IOError) when opening small non-ZIP files.
  • Issue #4493: urllib.request adds '/' in front of path components which does not start with '/. Common behavior exhibited by browsers and other clients.
  • Issue #6378: idle.bat now runs with the appropriate Python version rather than the system default. Patch by Sridhar Ratnakumar.
  • Issue #10407: Fix two NameErrors in distutils.
  • Issue #10198: fix duplicate header written to wave files when writeframes() is called without data.
  • Issue #10467: Fix BytesIO.readinto() after seeking into a position after the end of the file.
  • Issue #1682942: configparser supports alternative option/value delimiters.
Build:
  • Backport r83399 to allow test_distutils to pass on installed versions.
  • Issue #1303434: Generate ZIP file containing all PDBs (already done for rc1).
  • Stop packaging versioncheck tool (already done for rc1).
  • Accept Oracle Berkeley DB 4.8, 5.0 and 5.1 as backend for the dbm extension.
Tests:
  • Issue #9424: Replace deprecated assert* methods in the Python test suite.
Documentation:
  • Issue #10299: List the built-in functions in a table in functions.rst.

What's New in Python 2.7.1?

Library:
  • Issue #10092: Properly reset locale in calendar.Locale*Calendar classes.
  • Issue #10459: Update CJK character names to Unicode 5.2.
  • Issue #6098: Don't claim DOM level 3 conformance in minidom.
  • Issue #5762: Fix AttributeError raised by ``xml.dom.minidom`` when an empty XML namespace attribute is encountered.
  • Issue #1710703: Write structures for an empty ZIP archive when a ZipFile is created in modes 'a' or 'w' and then closed without adding any files. Raise BadZipfile (rather than IOError) when opening small non-ZIP files.
  • Issue #4493: urllib2 adds '/' in front of path components which does not start with '/. Common behavior exhibited by browsers and other clients.
  • Issue #6378: idle.bat now runs with the appropriate Python version rather than the system default. Patch by Sridhar Ratnakumar.
  • Issue #10407: Fix one NameError in distutils.
  • Issue #10198: fix duplicate header written to wave files when writeframes() is called without data.
  • Issue #10467: Fix BytesIO.readinto() after seeking into a position after the end of the file.
  • Issue #5111: IPv6 Host in the Header is wrapped inside [ ]. Patch by Chandru.
Build:
  • Backport r83399 to allow test_distutils to pass on installed versions.
  • Issue #1303434: Generate ZIP file containing all PDBs.
Tests:
  • Issue #9424: Replace deprecated assert* methods in the Python test suite.
Documentation:
  • Issue #10299: List the built-in functions in a table in functions.rst.
Versienummer 3.1.3 / 2.7.1
Releasestatus Final
Besturingssystemen Windows 7, Windows 7 x64, Windows 2000, Linux, BSD, Windows XP, macOS, Solaris, UNIX, Windows Server 2003, Windows XP x64, Windows Server 2003 x64, Windows Vista, Windows Server 2008
Website Python Software Foundation
Download http://www.python.org/download/releases
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Japke Rosink

Meukposter

03-12-2010 • 09:11

0

Submitter: user109731

Bron: Python Software Foundation

Update-historie

15-08 Python 3.13.7 1
07-08 Python 3.13.6 0
12-06 Python 3.13.5 0
04-06 Python 3.13.4 3
09-04 Python 3.13.3 5
07-02 Python 3.13.2 0
12-'24 Python 3.13.1 13
10-'24 Python 3.13 20
09-'24 Python 3.12.6 1
08-'24 Python 3.12.5 10
Meer historie

Reacties

0
0
0
0
0
0
Wijzig sortering

Er zijn nog geen reacties geplaatst

Op dit item kan niet meer gereageerd worden.