Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Door , , 0 reacties
Bron: Python Software Foundation, submitter: JanDM

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.)
Moderatie-faq Wijzig weergave

Reacties


Er zijn nog geen reacties geplaatst

Op dit item kan niet meer gereageerd worden.



Apple iOS 10 Google Pixel Apple iPhone 7 Sony PlayStation VR AMD Radeon RX 480 4GB Battlefield 1 Google Android Nougat Watch Dogs 2

© 1998 - 2016 de Persgroep Online Services B.V. Tweakers vormt samen met o.a. Autotrack en Carsom.nl de Persgroep Online Services B.V. Hosting door True