Commit Graph

43743 Commits

Author SHA1 Message Date
Victor Stinner 75d3fb1ebb #7801: fix xmlrpclib binary example, open the picture in binary mode 2010-01-30 02:00:26 +00:00
Martin v. Löwis 721caaa9ce Add Victor Stinner. 2010-01-30 00:15:44 +00:00
R. David Murray 05b4171624 Fix typo in assertSequenceEqual docstring. 2010-01-29 19:35:39 +00:00
Mark Dickinson 36ecd676ea Issue #7788: Fix a crash produced by deleting a list slice with huge
step value.  Patch by Marcin Bachry.
2010-01-29 17:11:39 +00:00
R. David Murray b5d7400e8a Change error report when the object passed to suite.addTest is not
callable to include the repr of the invalid object.
2010-01-28 21:16:33 +00:00
Benjamin Peterson 11fab6c07d avoid a py3k warning from __hash__ 2010-01-28 02:18:25 +00:00
Benjamin Peterson e06f7114a2 an -> a 2010-01-28 02:15:02 +00:00
Ezio Melotti 4611b05bd8 avoid to use zlib when the compress type is not ZIP_DEFLATED 2010-01-28 01:41:30 +00:00
Benjamin Peterson 9ef7d4f73c add compat note 2010-01-28 01:24:46 +00:00
Antoine Pitrou 94c33ebfa8 Issue #7610: Reworked implementation of the internal
:class:`zipfile.ZipExtFile` class used to represent files stored inside
an archive.  The new implementation is significantly faster and can
be wrapped in a :class:`io.BufferedReader` object for more speedups.
It also solves an issue where interleaved calls to `read()` and
`readline()` give wrong results.  Patch by Nir Aides.
2010-01-27 20:59:50 +00:00
Ezio Melotti 7b4e02c862 #7765: typos 2010-01-27 20:25:11 +00:00
Jesse Noller 654ade3e6a Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool 2010-01-27 03:05:57 +00:00
Benjamin Peterson 2deb5c758a raise a clear TypeError when trying to register a non-class 2010-01-27 02:16:42 +00:00
Benjamin Peterson 17527bedad for UserDict to be compatible with abcs, it must subclass object 2010-01-27 02:15:28 +00:00
Eric Smith 74c2577497 Added named (but not numbered) attributes to sys.getwindowsversion() test. 2010-01-27 02:06:25 +00:00
Eric Smith 59529e1ef6 Switch to test_support.get_attribute. 2010-01-27 01:21:15 +00:00
Eric Smith 514e77e0ae Removed unneeded test. 2010-01-27 00:58:43 +00:00
Eric Smith 096d0bf8b1 Fix type on getwindowsversion documentation. Thanks Taggnostr. 2010-01-27 00:55:16 +00:00
Eric Smith ee931b7253 Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type. 2010-01-27 00:28:29 +00:00
Tarek Ziadé 92e68af56a added local get_platform/set_platform APIs in distutils.sysconfig 2010-01-26 22:46:15 +00:00
Tarek Ziadé 0276c7ad0b reintroduced the names in Distutils for APIs that were relocated 2010-01-26 21:21:54 +00:00
Tarek Ziadé b28e5d7e41 fixed bdist_msi imports and added a test module for distutils.command.bdist_msi 2010-01-26 17:20:37 +00:00
Ezio Melotti ffd849618a #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd. 2010-01-26 15:57:21 +00:00
Tarek Ziadé ef97caf111 switched the call order so this call works without suffering from issue #7774 2010-01-25 23:19:56 +00:00
Ezio Melotti 82230f952d Add a news entry for the functions verify and vereq that have been removed in r77729 and r77731 2010-01-25 12:37:02 +00:00
Ezio Melotti 1fafaab5e5 #7775: fixed docstring for rpartition 2010-01-25 11:24:37 +00:00
Facundo Batista 47b66590f6 Added a note about Event.is_set() syntax being new to 2.6 2010-01-25 06:15:01 +00:00
Benjamin Peterson 28e369a8f8 compare types with is not == 2010-01-25 03:58:21 +00:00
Benjamin Peterson a617e208fc mention from_float() in error message 2010-01-25 03:52:52 +00:00
Benjamin Peterson a43f34cc2a fix an UnboundLocalError when the release file is empty #7773 2010-01-25 03:31:13 +00:00
Ezio Melotti aab2401977 #7269: fix failures in test_bsddb3. Patch by Florent Xicluna. 2010-01-24 21:47:59 +00:00
Ezio Melotti 469a05fe46 remove archaic functions from test_support 2010-01-24 20:48:35 +00:00
Ezio Melotti b0f5adc3f4 use assert[Not]IsInstance where appropriate 2010-01-24 16:58:36 +00:00
Tarek Ziadé f14c7fc33d Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings 2010-01-24 00:33:32 +00:00
Ezio Melotti aa98058cc4 use assert[Not]In where appropriate 2010-01-23 23:04:36 +00:00
Mark Dickinson 8cd0a66a0f dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases. 2010-01-23 21:25:53 +00:00
Mark Dickinson fc5290458d Issue #7743: Add checks for zero inputs to the lshift and mult functions;
this fixes the first bug described in issue #7743.
2010-01-23 20:48:56 +00:00
Tarek Ziadé c64614e043 fixed the 64bits tests for get_platform() - mac osx 2010-01-23 17:52:57 +00:00
Ezio Melotti 0e4e73240a Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds. 2010-01-23 10:43:05 +00:00
Tarek Ziadé 5633a8048f taking sysconfig out of distutils 2010-01-23 09:23:15 +00:00
Georg Brandl c3b0cd75b2 #7725: fix referencing issue. 2010-01-23 08:47:54 +00:00
Georg Brandl 6878ee8d43 #7762: fix refcount annotation of PyUnicode_Tailmatch(). 2010-01-23 08:43:31 +00:00
Mark Dickinson adcda3400f Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug
in issue 7743).
2010-01-22 17:04:07 +00:00
Ezio Melotti f8a9402c97 This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions. 2010-01-22 16:58:28 +00:00
Mark Dickinson 86db34207c Correct typo in comment. 2010-01-22 16:18:09 +00:00
Matthias Klose 0d948ac90c - Expat: Fix DoS via XML document with malformed UTF-8 sequences
(CVE_2009_3560).
2010-01-22 00:39:04 +00:00
Matthias Klose 3b0f9b01f6 - Mention CVE-2009-3720 for change in r74429. 2010-01-22 00:34:48 +00:00
Ezio Melotti 77a64e7159 #7746: rephrase a sentence 2010-01-21 20:50:57 +00:00
Mark Dickinson a3112d1462 Use // for floor division. 2010-01-21 19:58:41 +00:00
Mark Dickinson 5a633488d4 Add two more test_strtod test values. 2010-01-21 18:32:27 +00:00