Benjamin Peterson
46bff79d1f
be robust against test being run over and over (such as -R)
2010-01-30 23:28:38 +00:00
Benjamin Peterson
a04ae012ce
move test outside WITH_THREAD section
2010-01-30 23:26:05 +00:00
Georg Brandl
53ffca5afb
#7802 : fix invalid example (heh).
2010-01-30 17:57:48 +00:00
Ezio Melotti
91d26b43c9
Use the correct markup for args
2010-01-30 13:27:05 +00:00
Ezio Melotti
99af64820a
Relocate a couple of stars and remove redundant backticks
2010-01-30 13:08:54 +00:00
Martin v. Löwis
a8e34b707c
Merged revisions 77419,77435 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line
enclose path in quotes to handle paths with spaces correctly #7666
........
r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines
Issue #1967 : Add fixer for dictionary views.
........
2010-01-30 10:56:23 +00:00
Mark Dickinson
a36507c64c
Issue #7767 : Add new C-API function PyLong_AsLongLongAndOverflow, a
...
long long variant of PyLong_AsLongAndOverflow. Patch by Case Van
Horsen.
2010-01-30 10:08:33 +00:00
Ezio Melotti
a2d4653740
#7092 : silence py3k warnings for deprecated modules
2010-01-30 07:22:54 +00:00
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