Georg Brandl
b0eb4d3eb1
Use "regexp" consistently.
2010-02-07 11:34:15 +00:00
Ronald Oussoren
9341ad2200
Remove call to gestalt('sysu') from platform.py. This gestalt call is
...
not available on OSX an appearently causes problems for some users.
Fixes issue 7812
2010-02-07 11:29:31 +00:00
Vinay Sajip
657514a690
Issue #7868 : logging: added loggerClass attribute to Manager.
2010-02-07 01:37:08 +00:00
Georg Brandl
12cad204a0
Add missing import.
2010-02-06 23:58:25 +00:00
Georg Brandl
1f6176e794
Fix some name errors in Mac modules.
2010-02-06 23:54:43 +00:00
Georg Brandl
7e1902bced
Add missing import when running these tests standalone.
2010-02-06 23:54:04 +00:00
Georg Brandl
28aeb0d0ab
Add missing import when running these tests standalone.
2010-02-06 23:53:52 +00:00
Georg Brandl
cd4a21bb8e
Fix more unbound locals in code paths that do not seem to be used.
2010-02-06 23:34:10 +00:00
Georg Brandl
bd564c3c21
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
2010-02-06 23:33:33 +00:00
Georg Brandl
c7ca56d213
We heard you like test failures so we put unbound locals in your test so that you can fail while you fail.
2010-02-06 23:23:45 +00:00
Georg Brandl
d10d8ee2a1
Fix various missing import/unbound name errors.
2010-02-06 23:18:00 +00:00
Georg Brandl
1a0ffe168a
Remove duplicate test method.
2010-02-06 23:12:19 +00:00
Georg Brandl
d1fa76e742
Add missing import.
2010-02-06 23:12:12 +00:00
Mark Dickinson
28d4f9e668
testCopysign was defined twice in test_math; combine the definitions
2010-02-06 23:11:25 +00:00
Georg Brandl
df8a303dff
Fix a few UnboundLocalErrors in test_long.
2010-02-06 23:08:00 +00:00
Georg Brandl
8fd107f8ea
Add missing imports.
2010-02-06 23:06:24 +00:00
Georg Brandl
7224350656
Add a missing import.
2010-02-06 23:02:29 +00:00
Georg Brandl
84fedf7f06
No need to assign the results of expressions used only for side effects.
2010-02-06 22:59:15 +00:00
Georg Brandl
7d4b759bd9
Remove unused import.
2010-02-06 22:49:47 +00:00
Georg Brandl
48e65f5f66
Fix duplicate import.
2010-02-06 22:44:17 +00:00
Benjamin Peterson
239f138aea
make waiting for the server to start robust
2010-02-06 22:08:15 +00:00
Georg Brandl
26a1f72637
Remove unused imports from test_logging.
2010-02-06 21:54:40 +00:00
Vinay Sajip
7f22443d94
Issue #7857 : Gave server thread more time to get ready, and re-enabled a skipped test.
2010-02-06 20:28:36 +00:00
Benjamin Peterson
42d5947ef5
check type_getattro for correctness in a descriptor corner case
2010-02-06 20:14:10 +00:00
Vinay Sajip
5749d88243
Issue #7857 : Tentatively re-enabling one test to see effect on buildbots.
2010-02-06 20:00:43 +00:00
Benjamin Peterson
a7be9d240a
bump version to 2.7a3
2010-02-06 16:37:32 +00:00
R. David Murray
ce6e4b0930
issue #7728 : test_timeout was using a hardcoded port, which was
...
causing buildbot failures. Changed to use test_support.bind_port.
Patch by Florent Xicluna.
2010-02-06 04:27:21 +00:00
Michael Foord
0877060f86
unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.
2010-02-06 00:22:26 +00:00
Vinay Sajip
2373926964
test_logging: minor tweaks to timeouts, listening tests marked as skipped.
2010-02-05 23:43:11 +00:00
Michael Foord
757cc4d15f
Correction to docstring correction.
2010-02-05 23:22:37 +00:00
Michael Foord
d0edec38ce
Improving docstrings in unittest.TestCase
2010-02-05 22:55:09 +00:00
Antoine Pitrou
bb445a1f22
Issue #5677 : Explicitly forbid write operations on read-only file objects,
...
and read operations on write-only file objects. On Windows, the system C
library would return a bogus result; on Solaris, it was possible to crash
the interpreter. Patch by Stefan Krah.
2010-02-05 17:05:54 +00:00
Vinay Sajip
007a618a38
Issue #7857 : test_logging: listener tests disabled for now.
2010-02-05 15:40:20 +00:00
Vinay Sajip
3dd734fe03
Issue #7857 : test_logging: listener test now uses find_unused_port().
2010-02-05 14:52:05 +00:00
Benjamin Peterson
565d78586b
normalize exceptions passed to the __exit__ method #7853
...
In Python 2.x, exceptions in finally blocks are not normalized. Since with
statements are implemented using finally blocks, ceval.c had to be tweaked to
distinguish between with finally blocks and normal ones.
A test for the finalization of generators containing with statements was also
added.
2010-02-05 02:12:14 +00:00
Benjamin Peterson
4a7ff1d80a
add a test for #7853 ; the exception must be normalized for with
2010-02-05 01:53:27 +00:00
Vinay Sajip
f7610b23de
Added unit test for cfg:// resolution.
2010-02-04 21:40:56 +00:00
Vinay Sajip
98ce620068
Removed spurious print statement.
2010-02-04 20:18:28 +00:00
Vinay Sajip
28c382f73a
Logging: Implemented PEP 391.
2010-02-04 18:48:53 +00:00
Brett Cannon
dc84f8fbb4
Fix a typo in a docstring introduced in r77956.
2010-02-03 22:13:44 +00:00
Brett Cannon
18e4db5ebe
Update a docstring to suggest using importlib.import_module instead of calling __import__ directly.
2010-02-03 22:11:54 +00:00
Mark Dickinson
c68e9f0d20
Fix test_inspect.py data to match recent change to inspect_fodder.py (r77942).
2010-02-03 16:50:14 +00:00
Tarek Ziadé
b8c7b017e2
leaving global attributes for backward compat
2010-02-03 15:38:12 +00:00
Ezio Melotti
dde5b94875
#7092 : Silence more py3k warnings. Patch by Florent Xicluna.
2010-02-03 05:37:26 +00:00
Tarek Ziadé
bece7f2d36
fixed a typo on distutils.sysconfig. thanks arfever
2010-02-02 22:55:00 +00:00
Tarek Ziadé
e81b0289b6
sysconfig.get_scheme_names now returns a sorted tuple
2010-02-02 22:54:28 +00:00
Tarek Ziadé
cc11817808
module reorganization + missing doctests
2010-02-02 22:50:23 +00:00
Ezio Melotti
1f517e1d53
#7092 : Silence py3k warnings in test_exceptions and test_pep352. Patch by Florent Xicluna.
2010-02-02 17:34:37 +00:00
Ezio Melotti
8d3f130d41
Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.
2010-02-02 15:57:45 +00:00
Ezio Melotti
0ac4d4c82d
Silence a couple of -3 warnings
2010-02-02 15:12:42 +00:00
Ezio Melotti
5d62cfe070
#7092 : silence py3k warnings for bsddb. Patch by Florent Xicluna.
2010-02-02 08:37:35 +00:00
Martin v. Löwis
1595f9fe9b
Merged revisions 77855-77856,77870 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line
don't return node if it is not changed
........
r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line
return None to indicate no change
........
r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line
never return the original node given to transform()
........
2010-02-01 01:15:39 +00:00
Victor Stinner
b4b0a2935d
Issue #7819 : Check sys.call_tracing() arguments types.
...
py3k was already patched by issue #3661 .
2010-01-31 22:32:15 +00:00
Antoine Pitrou
f3fa074703
- Issue #6939 : Fix file I/O objects in the `io` module to keep the original
...
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
2010-01-31 22:26:04 +00:00
Benjamin Peterson
7aedb3b30e
fix windows buildbot
2010-01-31 18:02:35 +00:00
Matthias Klose
48a3c4e2e3
- Fix typo in os.execvp docstring.
2010-01-31 16:46:26 +00:00
Ezio Melotti
ef4909643d
#7092 : silence more -3 and -Wd warnings
2010-01-31 11:46: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
Ezio Melotti
a2d4653740
#7092 : silence py3k warnings for deprecated modules
2010-01-30 07:22:54 +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
Ezio Melotti
4611b05bd8
avoid to use zlib when the compress type is not ZIP_DEFLATED
2010-01-28 01:41:30 +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
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
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
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
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
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
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
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
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
Ezio Melotti
b01f5e6f84
#7730 : remove spaces after functions names
2010-01-18 09:10:26 +00:00
Antoine Pitrou
e80a6a4ead
Issue #7561 : Operations on empty bytearrays (such as `int(bytearray())`)
...
could crash in many places because of the PyByteArray_AS_STRING() macro
returning NULL. The macro now returns a statically allocated empty
string instead.
2010-01-17 12:26:20 +00:00
Mark Dickinson
ab6ee7a042
Increase number of strtod tests slightly, to make it more likely that a memory leak is detected.
2010-01-17 11:10:03 +00:00
Mark Dickinson
d87f22cec8
Add better error reporting for MemoryErrors caused by str->float conversions.
2010-01-16 20:33:02 +00:00
Mark Dickinson
811ff822f8
Issue #7632 : Fix one more case of incorrect rounding for str -> float
...
conversion (see bug 5 in the issue tracker).
2010-01-16 17:57:49 +00:00
Antoine Pitrou
db983a7c38
Followup to #7703 : a2b_hqx() didn't follow the new buffer API (neither in trunk
...
nor in py3k). Patch by Florent Xicluna as well as additional tests.
2010-01-16 17:45:56 +00:00
R. David Murray
c755dba906
Fix issue number in comment.
2010-01-16 16:08:32 +00:00
Mark Dickinson
476279f18b
Issue #7632 : Fix a serious wrong output bug for string -> float conversion.
...
Also remove some now unused variables, and add comments clarifying the
possible outputs of the parsing section of _Py_dg_strtod. Thanks
Eric Smith for reviewing.
2010-01-16 10:44:00 +00:00
R. David Murray
ed44dfa4c7
Issue #1670765 : Prevent email.generator.Generator from re-wrapping
...
headers in multipart/signed MIME parts, which fixes one of the sources of
invalid modifications to such parts by Generator. Patch and tests by
Martin von Gagern.
2010-01-16 05:15:17 +00:00
Benjamin Peterson
667dc19130
try to fix for windows
2010-01-15 02:26:07 +00:00
Antoine Pitrou
c391ad007b
Issue #7701 : Fix crash in binascii.b2a_uu() in debug mode when given a
...
1-byte argument. Patch by Victor Stinner.
2010-01-15 00:18:00 +00:00
Brett Cannon
3ffa43db48
The silencing of DeprecationWarning was not taking -3 into consideration. Since
...
Py3K warnings are DeprecationWarning by default this was causing -3 to
essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not
used.
Closes issue #7700 . Thanks Ezio Melotti and Florent Xicluna for patch help.
2010-01-14 20:00:28 +00:00
Antoine Pitrou
efdddd3370
Issue #3299 : Fix possible crash in the _sre module when given bad
...
argument values in debug mode. Patch by Victor Stinner.
2010-01-14 17:25:24 +00:00
Antoine Pitrou
fd3a60d5ef
Issue #7703 : Add support for the new buffer API to functions of the
...
binascii module. Backported from py3k by Florent Xicluna, with some
additional tests.
2010-01-14 16:27:09 +00:00
Mark Dickinson
647ed91d5c
Issue #7632 : add tests for bugs fixed so far.
2010-01-14 15:22:33 +00:00
Benjamin Peterson
7a1b435297
use more robust quoting
2010-01-14 02:40:10 +00:00
Antoine Pitrou
5f76d132a5
Issue #7625 : Add more tests that bytearray methods return new objects,
...
even if identical. Patch by Florent Xicluna (again).
2010-01-13 15:02:13 +00:00
Antoine Pitrou
5a9112c0cc
Issue #2846 : Add support for gzip.GzipFile reading zero-padded files.
...
Patch by Brian Curtin.
2010-01-13 14:32:10 +00:00
Mark Dickinson
5ff4f279e6
Issue #7632 : Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
2010-01-12 22:55:51 +00:00
Mark Dickinson
8efef5ce9f
Issue #7632 : Fix a problem with _Py_dg_strtod that could lead to
...
crashes in debug builds, for certain long numeric strings
corresponding to subnormal values.
2010-01-12 22:23:56 +00:00
Antoine Pitrou
efa45f35b5
Issue #7654 : enable additional bytes/bytearray tests. Patch by Florent Xicluna.
2010-01-12 22:02:10 +00:00
Ezio Melotti
b5689de044
#5827 : make sure that normpath preserves unicode
2010-01-12 03:32:05 +00:00
Alexandre Vassalotti
58a96efde5
Fixed repr of dictionary views.
2010-01-12 01:34:43 +00:00
Tarek Ziadé
ae7731af45
module cleanup
2010-01-11 23:41:32 +00:00
Alexandre Vassalotti
69eb51697c
Issue #1967 : Backport dictionary views.
2010-01-11 23:17:10 +00:00
Tarek Ziadé
dc0f487c3b
Fixed #5372 : .o files are now always rebuilt because file age test don't work in some case
2010-01-11 22:50:29 +00:00
Alexandre Vassalotti
b646547bb4
Issue #2333 : Backport set and dict comprehensions syntax.
2010-01-11 22:36:12 +00:00
Benjamin Peterson
e822ab0166
fix test_popen when the path to python has spaces #7671
2010-01-10 20:42:03 +00:00
Senthil Kumaran
2e3da14d8b
Fixed issue7648 - test_urllib2 fails on Windows if not run from C:
2010-01-10 17:35:05 +00:00
Martin v. Löwis
9d87323445
Update root certificate to CAcert.
2010-01-10 10:29:54 +00:00
Brett Cannon
6fdd3dcb6a
DeprecationWarning is now silent by default.
...
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.
Closes issue #7319 . Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
2010-01-10 02:56:19 +00:00
Alexandre Vassalotti
ee936a2130
Issue #2335 : Backport set literals syntax from Python 3.x.
2010-01-09 23:35:54 +00:00
Mark Dickinson
e365613528
Issue #7532 : Add additional slicing test cases for new- and old-style
...
classes. Patch by Florent Xicluna.
2010-01-09 18:50:50 +00:00
Benjamin Peterson
aa7e51f006
bump version to 2.7a2
2010-01-09 16:34:06 +00:00
Tarek Ziadé
c25417f644
Fixed #7617 : all flavors of gcc should be recognized now
2010-01-08 23:42:23 +00:00
Antoine Pitrou
5b77d6dfa3
Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
...
Florent Xicluna).
2010-01-08 19:39:04 +00:00
Senthil Kumaran
7a2ee0b460
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
2010-01-08 19:20:25 +00:00
Antoine Pitrou
8015725d4f
Issue #7092 : Remove py3k warning when importing cPickle. 2to3 handles
...
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
2010-01-08 19:20:17 +00:00
Senthil Kumaran
ce8e33a095
Reverting the Revision: 77368. I committed Flox's big patch for tests by
...
mistake. ( It may come in for sure tough)
2010-01-08 19:04:16 +00:00
Senthil Kumaran
3ddc435af6
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
2010-01-08 18:41:40 +00:00
Mark Dickinson
3194d1454c
Backport some float repr tests that were missed in issue 7117.
2010-01-08 16:53:56 +00:00
Antoine Pitrou
0d423b870b
Issue #7455 : Fix possible crash in cPickle on invalid input. Patch by
...
Florent Xicluna.
2010-01-07 17:46:49 +00:00
Georg Brandl
8904053003
#5991 : let completion for the "help" command include help topics.
...
This also simplifies the Cmd.get_names() method implementation; it was written
at a time where dir() didn't consider base class attributes.
2010-01-06 18:02:16 +00:00
Georg Brandl
5089a38af2
Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
2010-01-06 17:43:06 +00:00
Mark Dickinson
202eb9094c
Add missing docstring for Context.divmod. Thanks Juan José Conti.
2010-01-06 16:20:22 +00:00
Benjamin Peterson
2b6e4bc3ad
add a test about hashing array.array
2010-01-05 00:04:19 +00:00
Antoine Pitrou
af45b11527
Kill a couple of "<>"
2010-01-04 23:28:16 +00:00
Antoine Pitrou
b9d4963a98
Issue #7092 : Fix the DeprecationWarnings emitted by the standard library
...
when using the -3 flag. Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Benjamin Peterson
ecdae19fbe
do correct lookup of the __complex__ method
2010-01-04 00:43:01 +00:00
Antoine Pitrou
673ddf9907
Issue #7471 : Improve the performance of GzipFile's buffering mechanism,
...
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides.
2010-01-03 22:29:56 +00:00
Gregory P. Smith
49d709c921
Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
2010-01-03 15:05:52 +00:00
Gregory P. Smith
9d3252154f
issue3972: HTTPConnection and HTTPSConnection now support a
...
source_address parameter.
Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith
79a3eb1058
Adds an optional source_address parameter to socket.create_connection().
...
For use by issue3972.
2010-01-03 01:29:44 +00:00
Gregory P. Smith
6dcdcde2a8
Import all implementations of the hash algorithms (OpenSSL & builtin) and run
...
the test suite across all that are available. Warns about extension modules
that could not be imported when python was compiled with Py_DEBUG.
That warning could be made fatal but I didn't want to do that initially as
I suspect non setup.py based build processes (windows, any others?) won't
compile them all conditionally based on the Py_DEBUG setting today.
2010-01-03 00:19:04 +00:00