Commit Graph

43730 Commits

Author SHA1 Message Date
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
Mark Dickinson 294d6acb89 Additional testcases for strtod. 2010-01-21 17:02:53 +00:00
Mark Dickinson ca6ea56718 Additional explanatory comments for _Py_dg_strtod. 2010-01-20 21:23:25 +00:00
Mark Dickinson 1942806013 Don't try to put a value into a NULL pointer. 2010-01-20 18:02:41 +00:00
Mark Dickinson 4141d65fb7 Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code
and exit points.  2. Simplify bigcomp comparison loop.  3. Don't set
ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway).
4. Remove unused dsign field from BCinfo struct.
2010-01-20 17:36:31 +00:00
Gregory P. Smith 8926108bfb Revert debugprint code in r77607. 2010-01-19 08:25:26 +00:00
Gregory P. Smith 6b3573009a Do not compile stubs for the sha2 series hashes in the openssl hashlib
module when the openssl version is too old to support them.  That
leads both compiled code bloat and to unittests attempting to test
implementations that don't exist for comparison purposes on such
platforms.
2010-01-19 08:19:03 +00:00
Gregory P. Smith 8f6f42621a Add a pydebug mode only debug print to help debug the errors in
http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/

Will be removed shortly.
2010-01-19 08:01:00 +00:00
Benjamin Peterson 9179dab3f4 data descriptors do not override the class dictionary if __get__ is not defined
Adjust documentation and add a test to verify this behavior.

See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
discussion.
2010-01-18 23:07:56 +00:00
Antoine Pitrou c07336c673 Add a NEWS entry for r77599 and r77600. 2010-01-18 21:15:21 +00:00
Antoine Pitrou 9a386826fb Add ccbench to the Tools directory 2010-01-18 21:10:31 +00:00
Antoine Pitrou c9d6238b34 Add iobench to the Tools directory (see December python-dev discussion) 2010-01-18 21:04:00 +00:00
Ezio Melotti b01f5e6f84 #7730: remove spaces after functions names 2010-01-18 09:10:26 +00:00
Georg Brandl 42eaded701 Fix internal reference. 2010-01-17 23:33:53 +00:00