Commit Graph

44984 Commits

Author SHA1 Message Date
Georg Brandl e398da9ad0 #10609: fix non-working dbm example. 2010-12-28 11:53:25 +00:00
Georg Brandl e9e8c9bda4 #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. 2010-12-28 11:49:41 +00:00
Georg Brandl 9d9848e776 Rewrap. 2010-12-28 11:48:53 +00:00
Georg Brandl c166076910 Remove history; adapt a bit more to reST, since this will once be part of the dev guide. 2010-12-28 11:38:12 +00:00
Georg Brandl 2c39c77285 #10781: clarify that *encoding* is not a parameter for Node objects in general. 2010-12-28 11:15:49 +00:00
Georg Brandl c28036b532 #10742: document readonly attribute of memoryviews. 2010-12-28 11:08:17 +00:00
Georg Brandl b12fd63468 #10767: update README in crashers; not all may have a bug entry and/or be fixed. 2010-12-28 11:06:07 +00:00
Victor Stinner b1dbd10c42 Issue #9738: Fix typo, ASCII-encoding string => ASCII-encoded string 2010-12-28 11:02:46 +00:00
Georg Brandl 68eb464bc7 Add news entry and clarify another. 2010-12-28 11:02:12 +00:00
Georg Brandl 780d5e08c4 #10768: fix ScrolledText widget construction, and make the example work from the interactive shell. 2010-12-28 10:56:20 +00:00
Georg Brandl 90b20675bd #10777: fix iteration over dict keys while mutating the dict. 2010-12-28 10:38:33 +00:00
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