Antoine Pitrou
b7fb2e25fb
Issue #8020 : Avoid a crash where the small objects allocator would read
...
non-Python managed memory while it is being modified by another thread.
Patch by Matt Bandy.
2011-01-07 21:43:59 +00:00
Raymond Hettinger
1122fa2eb4
Revert r87823 which moved the source link to the wrong section.
2011-01-07 21:17:56 +00:00
Raymond Hettinger
32e8fea396
Update the digest of PEP 3333 based on comments for Phillip Eby.
2011-01-07 21:04:30 +00:00
Georg Brandl
2f2a9f772d
Fix indent.
2011-01-07 20:58:25 +00:00
Raymond Hettinger
fc90213f53
Combine the two seealso sections.
2011-01-07 20:33:09 +00:00
Alexander Belopolsky
c64708ae48
Issue #10827 : Changed the rules for 2-digit years. The time.asctime
...
function will now format any year when time.accept2dyear is false and
will accept years >= 1000 otherwise. The year range accepted by
time.mktime and time.strftime is still system dependent, but
time.mktime will now accept full range supported by the OS. Conversion
of 2-digit years to 4-digit is deprecated.
2011-01-07 19:59:19 +00:00
Antoine Pitrou
696efdd03f
Mention multiprocessing.Queue in the queue docs
2011-01-07 19:16:12 +00:00
Antoine Pitrou
4b512f73e0
Group seealsos
2011-01-07 19:01:48 +00:00
Antoine Pitrou
60bcc54d2e
Put those "seealso"s together
2011-01-07 18:58:21 +00:00
Victor Stinner
034c7537d8
Issue #10841 : don't translate newlines for pgen
2011-01-07 18:56:19 +00:00
Victor Stinner
89e3436606
Issue #10841 : set binary mode on files; the parser translates newlines
...
On Windows, set the binary mode on stdin, stdout, stderr and all
io.FileIO objects (to not translate newlines, \r\n <=> \n). The Python parser
translates newlines (\r\n => \n).
2011-01-07 18:47:22 +00:00
Antoine Pitrou
bdde506116
Put those source links together
2011-01-07 18:43:14 +00:00
Antoine Pitrou
1bdd6fd7c7
atexit.py doesn't exist
2011-01-07 18:42:21 +00:00
Antoine Pitrou
39e352cb46
Put link to source at the end. There's nothing edificating in threading.py.
2011-01-07 18:33:07 +00:00
Georg Brandl
fb6fd5d019
#10856 : document (Base)Exception.args better.
2011-01-07 18:28:45 +00:00
Brett Cannon
7603fa07a8
Undo an accidental commit in r87812.
2011-01-06 23:08:16 +00:00
Brett Cannon
63eef1e0dd
Get --coverage to be an acceptable flag for test.regrtest again.
2011-01-06 22:32:41 +00:00
Alexander Belopolsky
610e544bf7
Further simplify gettmarg()
2011-01-06 21:57:06 +00:00
Raymond Hettinger
388af4bb35
Typo.
2011-01-06 20:55:29 +00:00
Martin v. Löwis
189c091612
Drop bf_getbuffer/bf_releasebuffer from stable ABI,
...
see #10181 .
2011-01-06 19:28:31 +00:00
Georg Brandl
a572476a2a
#10846 : fix typo.
2011-01-06 19:28:18 +00:00
Martin v. Löwis
b30111f29e
Support comment lines and missing indices in typeslots.h.
2011-01-06 19:26:21 +00:00
Martin v. Löwis
c83bc3c1fb
Remove buffer API from stable ABI for now, see #10181 .
2011-01-06 19:15:47 +00:00
Antoine Pitrou
e85da7aa4f
Issue #7858 : Raise an error properly when os.utime() fails under Windows
...
on an existing file.
(this does not seem to be easily testable)
2011-01-06 18:25:55 +00:00
Antoine Pitrou
b715fac819
Issue #3839 : wsgiref should not override a Content-Length header set by
...
the application. Initial patch by Clovis Fabricio.
2011-01-06 17:17:04 +00:00
David Malcolm
f1397ad399
Issue #10655 : Fix the build on PowerPC on Linux with GCC when building with
...
timestamp profiling (--with-tsc): the preprocessor test for the PowerPC
support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
only be present on OS X; the former is the correct one for Linux with GCC.
2011-01-06 17:01:36 +00:00
Alexander Belopolsky
ecbb8dc17a
Use PyOS_snprintf for better portability.
2011-01-06 16:45:25 +00:00
Antoine Pitrou
003428158b
Elaborate about the GIL.
2011-01-06 16:31:28 +00:00
Georg Brandl
f8dc9ca84e
#10844 : update copyright years in Mac plists.
2011-01-06 10:05:26 +00:00
Georg Brandl
f60fd00534
Add acks where acks are due.
2011-01-06 09:25:27 +00:00
Georg Brandl
b30f3303f7
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
2011-01-06 09:23:56 +00:00
Georg Brandl
77041b2354
itertools, operator and functools are not really "numeric" modules; move them into their own "functional" chapter.
2011-01-06 09:23:19 +00:00
Georg Brandl
e98628d60c
Remove doc for nonexisting parameter.
2011-01-06 09:15:45 +00:00
Antoine Pitrou
ca023cab4d
Issue #1677694 : Refactor and improve test_timeout. Original patch by
...
Björn Lindqvist.
2011-01-06 09:05:22 +00:00
Antoine Pitrou
d53dfa3fb1
Issue #10840 : make it explicit that "s*" and friends provide contiguous memory.
2011-01-06 07:16:31 +00:00
Raymond Hettinger
7beae8a0d5
Issue 10825: Minor updates to the test suite.
2011-01-06 05:34:17 +00:00
Raymond Hettinger
90a4b3162e
Nits
2011-01-06 02:08:30 +00:00
Raymond Hettinger
3df4621100
Add PEP 3333 to whatsnew.
2011-01-06 02:01:26 +00:00
Victor Stinner
4bd81725f2
Issue #10492 : bdb.Bdb.run() only traces the execution of the code
...
And not the compilation (if the input is a string).
2011-01-06 00:49:38 +00:00
Victor Stinner
457ab068a3
test_atexit: fix code saving/restoring stdout and stderr
...
That's why I prefer a single instruction per line :-)
2011-01-05 23:47:00 +00:00
Victor Stinner
73efd621fb
test_imaplib: reap_server() closes the server when done
...
Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
2011-01-05 23:01:38 +00:00
Victor Stinner
33e649cf6d
imaplib: IMAP4 constructor closes the socket on error
...
Fix a ResourceWarning(unclosed socket) if an exception is raised in the
constructor after the creation of the socket. Patch written by Nadeem Vawda.
2011-01-05 23:01:37 +00:00
Alexander Belopolsky
a686725859
- time.accept2dyear = True is now equivalent to time.accept2dyear = 1
...
- removed unnecessary struct_time to tuple conversion
- added more unit tests
(See issue #10827 for discussion.)
2011-01-05 23:00:47 +00:00
Raymond Hettinger
e40808a935
Add more porting notes.
2011-01-05 23:00:00 +00:00
Antoine Pitrou
dc51a3ca84
Fix mistake in NEWS
2011-01-05 22:43:26 +00:00
Raymond Hettinger
2a5fb47e9c
Remove mention of codes pending further discussion on transform()/untransform().
2011-01-05 22:41:23 +00:00
Raymond Hettinger
2169ee2099
RC1 updates to whatsnew
2011-01-05 22:27:49 +00:00
Georg Brandl
be41a48fb8
On Py3k, -tt and -3 are no-op and unsupported respectively.
2011-01-05 21:47:47 +00:00
Antoine Pitrou
dfad7e302c
Overhaul the documentation about socket timeouts.
2011-01-05 21:17:36 +00:00
Antoine Pitrou
600232b562
Issue #7995 : When calling accept() on a socket with a timeout, the returned
...
socket is now always non-blocking, regardless of the operating system.
2011-01-05 21:03:42 +00:00