Florent Xicluna
875bdf731c
Skip test_format_deprecation if _ctypes is not available. Add a filter to the warning check.
2010-03-23 11:07:54 +00:00
Senthil Kumaran
67b4e187e1
Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs
2010-03-23 08:46:31 +00:00
Benjamin Peterson
996e88a7d5
Merged revisions 79313,79324 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79313 | benjamin.peterson | 2010-03-22 17:59:57 -0500 (Mon, 22 Mar 2010) | 1 line
another case where a symbol is needed
........
r79324 | benjamin.peterson | 2010-03-22 21:59:47 -0500 (Mon, 22 Mar 2010) | 1 line
use unicode literals
........
2010-03-23 03:03:55 +00:00
Ezio Melotti
0d0b80bc3e
Link specifically to the UCD version 5.2.0.
2010-03-23 00:38:12 +00:00
Ezio Melotti
88b6f8bada
Remove link to objects.rst (gone in r79179).
2010-03-23 00:25:19 +00:00
Ezio Melotti
ae735a763e
Update the version number of the Unicode Database in a few more places.
2010-03-22 23:07:32 +00:00
Benjamin Peterson
3bcc35b795
Merged revisions 79309 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line
pass correct symbol in
........
2010-03-22 22:54:42 +00:00
Florent Xicluna
176cda11df
Issue #8205 : Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only).
2010-03-22 22:52:11 +00:00
Florent Xicluna
e1f4c92d23
#7667 : Fix doctest failures with non-ASCII paths.
2010-03-22 22:45:50 +00:00
Benjamin Peterson
798e54004f
Merged revisions 79077,79137,79304-79305 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79077 | benjamin.peterson | 2010-03-18 18:05:29 -0500 (Thu, 18 Mar 2010) | 1 line
port detect_encoding improvements from py3k
........
r79137 | benjamin.peterson | 2010-03-20 11:12:53 -0500 (Sat, 20 Mar 2010) | 1 line
add a fixer for setting sys.exitfunc #2356
........
r79304 | benjamin.peterson | 2010-03-22 17:20:22 -0500 (Mon, 22 Mar 2010) | 1 line
fix test_parser when it's run in a path with spaces #7666
........
r79305 | benjamin.peterson | 2010-03-22 17:27:07 -0500 (Mon, 22 Mar 2010) | 1 line
normalize whitespace
........
2010-03-22 22:40:06 +00:00
Antoine Pitrou
513d9aeadb
Issue #7512 : shutil.copystat() could raise an OSError when the filesystem
...
didn't support chflags() (for example ZFS under FreeBSD). The error is
now silenced.
2010-03-22 19:59:46 +00:00
Florent Xicluna
0805e6eed9
#7668 : Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
2010-03-22 17:18:18 +00:00
Florent Xicluna
eba2aca4bd
Preserve backward compatibility of the ctypes module.
...
"This file should be kept compatible with Python 2.3, see PEP 291."
2010-03-22 16:36:51 +00:00
Florent Xicluna
9e7a4c9738
Issue #7703 : ctypes supports both buffer() and memoryview(). The former is deprecated.
...
Complement of r79288.
2010-03-22 16:07:38 +00:00
R. David Murray
c9d1a7845b
Issue #7860 : platform.uname now reports the correct 'machine' type
...
when Python is running in WOW64 mode on 64 bit Windows. Patch by
Brian Curtin.
2010-03-22 15:55:09 +00:00
Vinay Sajip
804899b4ab
logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
2010-03-22 15:29:01 +00:00
Jesus Cea
73c22e9df2
Missing testsuite files
2010-03-22 15:18:46 +00:00
Florent Xicluna
f08a0176a7
Get rid of buffer() in test_ctypes: backport the 3.x tests.
2010-03-22 15:02:46 +00:00
Antoine Pitrou
52093b8e57
Fix an occasional test_ftplib failure, following r79226.
2010-03-22 14:41:48 +00:00
Jesus Cea
6557aac599
pybsddb 4.8.4 integration. Please, comment in issue #8156
2010-03-22 14:22:26 +00:00
Vinay Sajip
31e928eb3c
Issue #8201 : logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
2010-03-22 13:02:28 +00:00
Victor Stinner
c7790ed163
Fix the NEWS about my last commit: an unicode subclass can now override the
...
__unicode__ method (and not the __str__ method).
Simplify also the testcase.
2010-03-22 12:36:28 +00:00
Vinay Sajip
3017a7bbbf
Issue #8200 : logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
2010-03-22 12:33:08 +00:00
Victor Stinner
95affc4449
Issue #1583863 : An unicode subclass can now override the __str__ method
2010-03-22 12:24:37 +00:00
Michael Foord
eef159bd17
Correct usage message displayed for python -m unittest -h
2010-03-22 02:49:08 +00:00
Michael Foord
0ce167277a
expected failure should not trigger failfast behavior in unittest.
2010-03-22 01:56:54 +00:00
Michael Foord
49899690a8
Removing Python 2.3 compatibility code from unittest.
2010-03-22 01:41:11 +00:00
Michael Foord
db003cb3d1
Fix failing test committed by accident.
2010-03-22 01:02:23 +00:00
Michael Foord
1b9e95339d
-f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest
2010-03-22 01:01:34 +00:00
Michael Foord
b1aa30f94d
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.
2010-03-22 00:06:30 +00:00
Benjamin Peterson
bb9d726357
take into account keyword arguments when passing too many args
2010-03-21 20:30:30 +00:00
Benjamin Peterson
965458931f
improve error message from passing inadequate number of keyword arguments #6474
...
Note this removes the "non-keyword" or "keyword" phrases from these messages.
2010-03-21 20:21:00 +00:00
Benjamin Peterson
54bc22e9f3
don't write duplicate tests
2010-03-21 19:56:37 +00:00
Benjamin Peterson
52b32b6d6a
fix import
2010-03-21 19:54:56 +00:00
Benjamin Peterson
88e7ebac4c
co_varnames is certainly a tuple, so let's not waste time finding out
2010-03-21 19:39:52 +00:00
Benjamin Peterson
d51b259b31
remove pointless condition
2010-03-21 19:35:39 +00:00
Antoine Pitrou
448da71807
Issue #3890 : Fix recv() and recv_into() on non-blocking SSL sockets.
2010-03-21 19:33:38 +00:00
Benjamin Peterson
56472c2463
flatten condition
2010-03-21 19:24:08 +00:00
Antoine Pitrou
f83b30832c
Issue #1628484 : The Makefile doesn't ignore the CFLAGS environment
...
variable anymore. It also forwards the LDFLAGS settings to the linker
when building a shared library.
2010-03-21 19:19:41 +00:00
Georg Brandl
4d0130e7c8
Fix plural.
2010-03-21 19:01:38 +00:00
Andrew M. Kuchling
46c2db5d3c
Add items
2010-03-21 18:47:12 +00:00
Florent Xicluna
77a8849505
#8180 : Fix test_pep277 on OS X and add more tests for special Unicode normalization cases.
2010-03-21 18:00:38 +00:00
Benjamin Peterson
e39b2ec6ca
rewrite a bit
2010-03-21 17:34:54 +00:00
Florent Xicluna
cf82fa6f91
Issue #8179 : Fix macpath.realpath() on a non-existing path.
2010-03-21 12:27:20 +00:00
Florent Xicluna
b88fbf4fef
Use assertRaises and add a specific warning filter.
2010-03-21 11:58:11 +00:00
Georg Brandl
aa89f8d04c
Remove leftover word.
2010-03-21 11:50:58 +00:00
Florent Xicluna
3f5d146323
No more deprecation warnings for distutils.sysconfig, following r78666.
...
But when the "dl" module is available, it gives a py3k deprecation warning.
2010-03-21 11:50:17 +00:00
Florent Xicluna
af61719ec3
Silence some py3k SyntaxWarning using check_py3k_warnings() with "exec" statements.
2010-03-21 11:03:21 +00:00
Florent Xicluna
8f43cec41b
Fix py3k warnings in test_decimal, using unittest.assertItemsEqual.
2010-03-21 10:51:40 +00:00
Florent Xicluna
4a0f8b89f6
Silence more py3k warnings in unittest.case.
2010-03-21 10:50:44 +00:00