Georg Brandl
c589a70e17
#9438 : clarify that constant names also cannot be assigned as attributes.
2010-08-02 19:36:36 +00:00
Georg Brandl
9499bb76a3
Remove XXX comment that was displayed.
2010-08-02 19:35:06 +00:00
Georg Brandl
7d180a0da1
#9451 : strengthen warning about __*__ special name usage.
2010-08-02 19:32:43 +00:00
Georg Brandl
7528b9b8ac
#8172 : how does one use a property?
2010-08-02 19:23:34 +00:00
Georg Brandl
353ebce2a0
#7386 : add example that shows that trailing path separators are stripped.
2010-08-02 19:19:26 +00:00
Georg Brandl
56be37cef2
#7973 : Fix distutils options spelling.
2010-08-02 19:16:34 +00:00
Georg Brandl
dee7b8503d
#8560 : add progress indicator to regrtest.
2010-08-02 18:59:52 +00:00
Georg Brandl
6fcac0d6f6
Move test_SimpleHTTPServer into test_httpservers.
2010-08-02 18:56:54 +00:00
Georg Brandl
65e5f80c48
#6928 : fix class docs w.r.t. new metaclasses.
2010-08-02 18:10:13 +00:00
Georg Brandl
502c3eb52f
#8578 : mention danger of not incref'ing weak referenced object.
2010-08-02 17:49:25 +00:00
Georg Brandl
2d3c4e79a1
#7372 : fix regression in pstats: a previous fix to handle cProfile data in add_callers broke handling of profile data.
2010-08-02 17:24:49 +00:00
Senthil Kumaran
790f831648
Rewording the getheader method of HTTPResponse.
2010-08-02 17:09:02 +00:00
Georg Brandl
bfc8fe4d2f
Document how to refer to decorators and decorator methods.
2010-08-02 12:54:24 +00:00
Georg Brandl
283b125551
#3821 : beginnings of a trace.py unittest.
2010-08-02 12:48:46 +00:00
Georg Brandl
dc50c696ab
Fix softspace relic.
2010-08-02 12:40:22 +00:00
Georg Brandl
24085d7940
Get rid of spurious "threading" entries in trace output.
2010-08-02 12:36:24 +00:00
Georg Brandl
8e43fbfffa
#9428 : fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #1690103 .
2010-08-02 12:20:23 +00:00
Georg Brandl
b1a97afadb
#9209 and #7781 : fix two crashes in pstats interactive browser.
2010-08-02 12:06:18 +00:00
Senthil Kumaran
9f8dc4441f
Fix Issue8572 - httplib getheader() throws error instead of default
2010-08-02 11:04:58 +00:00
Raymond Hettinger
aed05eb6b8
Demonstrate the caching decorators in whatsnew.
2010-08-02 01:43:41 +00:00
Raymond Hettinger
c8dc62d602
Add example applications for the LRU and LFU cache docs.
2010-08-02 00:59:14 +00:00
R. David Murray
a2fa2e5e54
Fix ACKS alphabetization.
2010-08-01 23:43:28 +00:00
Georg Brandl
5f90d79473
Fix style of referring to issues.
2010-08-01 22:31:05 +00:00
Raymond Hettinger
5be21b7a5a
Update OrderedDict implementation to match that in Py2.7.
2010-08-01 22:10:57 +00:00
Raymond Hettinger
da6401dab8
Fix VS8.0 build by adding _time.h and _time.c to the project file.
2010-08-01 21:50:38 +00:00
Mark Dickinson
de802be001
Don't delete Lib/test/data/README when doing 'make distclean'
2010-08-01 21:33:01 +00:00
Raymond Hettinger
0291c9ffa2
Issue 9445: Fix undefined symbols on VS8.0 build.
2010-08-01 21:10:35 +00:00
Georg Brandl
78eef3de88
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.
2010-08-01 20:51:02 +00:00
Antoine Pitrou
7ffa196dce
Issue #8397 : Raise an error when attempting to mix iteration and regular
...
reads on a BZ2File object, rather than returning incorrect results.
2010-08-01 20:08:46 +00:00
Ronald Oussoren
7fb6f5121a
test_getgroups as introduced with issue7900 failed on systems
...
where 'id -G' and posix.getgroups() returned the same information,
but one of the sources contains duplicate information. Rewrite the
check using sets instead of lists.
2010-08-01 19:18:13 +00:00
Georg Brandl
f5b204a3f0
#5776 : fix mistakes in python specfile. (Nobody probably uses it anyway.)
2010-08-01 18:38:26 +00:00
Senthil Kumaran
de0eb249c6
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
2010-08-01 17:53:37 +00:00
Antoine Pitrou
c881f1592f
Issue #9448 : Fix a leak of OS resources (mutexes or semaphores) when
...
re-initializing a buffered IO object by calling its `__init__` method.
2010-08-01 16:53:42 +00:00
Georg Brandl
e6c5950af0
#5551 : symbolic links never can be mount points. Fixes the fix for #1713 .
2010-08-01 15:30:56 +00:00
Brian Curtin
ea47eaa395
Fix #8105 . Add validation to mmap.mmap so invalid file descriptors
...
don't cause a crash on Windows.
2010-08-01 15:26:26 +00:00
Georg Brandl
0bccc185b4
#8046 : add context manager protocol support to mmap objects. Also add closed property.
2010-08-01 14:50:00 +00:00
Georg Brandl
120d633871
#4943 : do not try to include drive letters (and colons) when looking for a probably module name.
2010-08-01 14:38:17 +00:00
Georg Brandl
272fc1023a
#6439 : fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
2010-08-01 14:25:22 +00:00
Mark Dickinson
5b1d35b9c7
Add test for memory leak reported in issue 9422.
2010-08-01 11:10:28 +00:00
Mark Dickinson
5b65df7ce2
Issue #9416 : Fix some issues with complex formatting where the
...
output with no type specifier failed to match the str output:
- format(complex(-0.0, 2.0), '-') omitted the real part from the output,
- format(complex(0.0, 2.0), '-') included a sign and parentheses.
2010-08-01 10:41:49 +00:00
Georg Brandl
8708e38597
Package some new files that are needed for running the test suite from the MSI package.
2010-08-01 09:17:53 +00:00
Georg Brandl
b16e38b825
#8826 : the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
2010-08-01 09:06:34 +00:00
Ronald Oussoren
bda4672b01
Ensure that test_site actually passes with a framework build
2010-08-01 09:02:50 +00:00
Georg Brandl
794f5b3559
#4810 : document "--" option separator in timeit help.
2010-08-01 08:52:32 +00:00
Georg Brandl
bd534f0349
#8821 : do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
2010-08-01 08:49:18 +00:00
Georg Brandl
9411eeb522
No need to split this, there are enough long lines.
2010-08-01 08:46:24 +00:00
Georg Brandl
8f9f466505
#1690103 : fix initial namespace for code run with trace.main().
2010-08-01 08:35:29 +00:00
Georg Brandl
920bc0fd86
Add another news entry.
2010-08-01 08:10:08 +00:00
Georg Brandl
f325e03f48
#8230 : make Lib/test/sortperf.py run on Python 3.
2010-08-01 08:07:49 +00:00
Georg Brandl
f02e7367eb
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
2010-08-01 07:57:47 +00:00