Georg Brandl
ff52f76019
#10679 : install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install.
2010-12-28 09:51:43 +00:00
Georg Brandl
15641925b8
Fix advice: call PyType_Ready to fill in ob_type of custom types.
2010-12-28 09:29:19 +00:00
Georg Brandl
fcf3a0c55b
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
2010-12-28 09:18:24 +00:00
Georg Brandl
2a39b71ecc
Replace sys.maxint mention by sys.maxsize.
2010-12-28 09:16:12 +00:00
Victor Stinner
b9cb21efc8
Issue #10780 : Remove commas at the end of the argument list
...
Forbidden in C, stupid language!
2010-12-28 00:59:03 +00:00
Victor Stinner
301e956686
Issue #8966 : Remove the documentation of ctypes.set_conversion_mode()
...
Function removed by r83195.
2010-12-28 00:59:02 +00:00
Victor Stinner
92be939695
Issue #10780 : PyErr_SetFromWindowsErrWithFilename() and
...
PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the
filesystem encoding instead of UTF-8.
2010-12-28 00:28:21 +00:00
Victor Stinner
83098a4095
Issue #10778 : decoding_fgets() decodes the filename from the filesystem
...
encoding instead of UTF-8.
2010-12-27 20:12:13 +00:00
Victor Stinner
cb428f0162
Issue #10779 : PyErr_WarnExplicit() decodes the filename from the filesystem
...
encoding instead of UTF-8.
2010-12-27 20:10:36 +00:00
R. David Murray
8e286c472b
#7056 : runtest and runtest_inner don't use testdir, so drop it from their sigs
...
I've only tested regular runs and -j runs. If I've broken anything
else I'm sure I'll hear about it sooner or later.
2010-12-27 20:09:32 +00:00
Vinay Sajip
67981ec536
Issue #10626 : test_logging now preserves logger disabled states.
2010-12-27 18:34:25 +00:00
Vinay Sajip
7b60f4e949
Issue #10626 : test_logging now preserves logger disabled states.
2010-12-27 14:31:52 +00:00
Vinay Sajip
60b4df15d6
Issue #10774 : test_logging now removes temp files created during tests.
2010-12-27 11:18:52 +00:00
R. David Murray
ad4ccfdeb2
Skip test that does not raise an error on Windows.
...
I'm assuming that the putative path from the malformed
pth file is simply not found and therefore ignored.
2010-12-27 04:31:48 +00:00
Victor Stinner
0d711169fa
Issue #9738 : Ooops, fix typos in my previous commit (r87506)
2010-12-27 02:39:20 +00:00
Victor Stinner
00676d1436
Issue #9738 : Document encodings of AST, compiler, parser and PyRun functions
2010-12-27 01:49:31 +00:00
Victor Stinner
dc2081f72b
Issue #9738 : document encodings of unicode functions
2010-12-27 01:49:29 +00:00
Victor Stinner
555a24f206
Issue #9738 : Document encodings of error and warning functions
2010-12-27 01:49:26 +00:00
R. David Murray
ab9d8d64a7
Escape file path before searching for it in output via regex
2010-12-27 00:03:13 +00:00
Vinay Sajip
7d10129369
Added logging documentation cross-references.
2010-12-26 21:22:33 +00:00
R. David Murray
b4ca59b783
#5258/#10642: print fn, line, traceback and continue when .pth file is broken
...
If a .pth file contained an error, it could cause a traceback in site.py,
terminating its processing. In 2.7 and 3.2, the interpreter will then not
start. Previously, a message would print saying to use -v to get the
traceback. In either case, the traceback generated for a failed .pth file did
not include the .pth filename, making it difficult to debug the problem. Now
site.py reports not only the .pth filename but also the line number causing the
error, and just skips the remainder of the file.
2010-12-26 19:54:29 +00:00
Vinay Sajip
e6f1e435d4
Improved logging cookbook for logging with multiprocessing.
2010-12-26 18:47:51 +00:00
Éric Araujo
0d4bcf4c71
Fix typo ( #10770 )
2010-12-26 17:53:27 +00:00
Terry Reedy
7a1c05caaf
revert 87478
2010-12-26 03:48:35 +00:00
Éric Araujo
2908765ffd
Remove unexistent parameter ( #3216 )
2010-12-26 02:38:05 +00:00
Éric Araujo
c9562f3cbe
Fix typo spotted by Rodrigo Bernardo Pimentel ( #9891 )
2010-12-26 02:18:49 +00:00
Victor Stinner
667d4b577f
Issue #10763 : subprocess.communicate() closes stdout and stderr if both are
...
pipes (bug specific to Windows).
Improve also the unit test: write a portable unit test.
2010-12-25 22:40:32 +00:00
Brian Quinlan
291151b7f4
Assign closed handles to None to make errors more obvious if they are used.
2010-12-25 00:18:27 +00:00
Brian Quinlan
a3015a6a82
Better reporting of test failures on Windows.
2010-12-24 23:10:41 +00:00
R. David Murray
dfd7eb0ba2
#1693546 : don't add quotes around RFC 2231 encoded values.
...
The RFC is bit hard to understand on this point, but the examples
clearly show that parameter values that are encoded according
to its charset/language rules don't have surrounding quotes, and
the ABNF does not allow for quotes. So when we produce such
encoded values, we no longer add quotes.
2010-12-24 22:36:49 +00:00
Terry Reedy
ddf53709ee
Match current tracker name, though I do not know if still active.
2010-12-24 21:59:03 +00:00
Raymond Hettinger
57bd00a15b
Adopt symmetric names for arguments (actual/expected --> first/second).
2010-12-24 21:51:48 +00:00
Vinay Sajip
1397ce1821
Logging documentation updates.
2010-12-24 12:03:48 +00:00
Raymond Hettinger
efbcb1b038
Keep helper functions private.
2010-12-24 11:24:00 +00:00
Raymond Hettinger
9d668dac68
Put diff output in useful order (when the elements were first seen).
2010-12-24 11:20:30 +00:00
Raymond Hettinger
f954217458
Add direct tests for the util functions.
2010-12-24 10:30:06 +00:00
Raymond Hettinger
1e7efdf2a0
Add news entry for 87471.
2010-12-24 10:04:00 +00:00
Raymond Hettinger
93e233d6e5
Improve diff for assertCountEqual() to actually show the differing counts.
...
New output looks like this:
Traceback (most recent call last):
File "test.py", line 5, in test_ce
self.assertCountEqual('abracadabra xx', 'simsalabim xx')
AssertionError: Element counts were not equal:
Expected 5, got 2: 'a'
Expected 2, got 1: 'b'
Expected 0, got 2: 'i'
Expected 0, got 2: 'm'
Expected 0, got 1: 'l'
Expected 0, got 2: 's'
Expected 1, got 0: 'c'
Expected 1, got 0: 'd'
Expected 2, got 0: 'r'
2010-12-24 10:02:22 +00:00
Alexander Belopolsky
fca8beed4a
Added an XXX note to describe timedelta/timedelta feature.
2010-12-24 04:22:40 +00:00
Senthil Kumaran
1e991f2de5
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence
...
problem with Content-Length header and uncommenting the test.
2010-12-24 04:03:59 +00:00
Raymond Hettinger
c44befb82e
Fix docstring.
2010-12-24 00:58:34 +00:00
Raymond Hettinger
6518f5e780
Fix docs and comment for r87454.
2010-12-24 00:52:54 +00:00
Raymond Hettinger
83961245b4
Add test for r87454.
2010-12-24 00:48:47 +00:00
Alexander Belopolsky
b2eacd9129
Issue #9063 : Corrected the tzinfo example.
2010-12-24 00:24:11 +00:00
Benjamin Peterson
bc78e37d46
update comment
2010-12-23 23:45:39 +00:00
Éric Araujo
1696f822e8
Fix syntax typo
2010-12-23 23:18:41 +00:00
Terry Reedy
d149c6c89c
Issue 10730: mimetypes module - add .svgz to mimetypes.suffix_map and .svg to types_map.
...
Addition OKed by GB on IRC (R. David Murray). No backport.
2010-12-23 23:10:28 +00:00
Benjamin Peterson
31e8720324
kill some function imports
2010-12-23 22:53:42 +00:00
Benjamin Peterson
a91dd1e411
use native tenary condition
2010-12-23 22:49:38 +00:00
Benjamin Peterson
5793e6f4b0
fix docstring
2010-12-23 22:17:42 +00:00