]>
granicus.if.org Git - python/log
Vinay Sajip [Mon, 9 May 2011 21:05:50 +0000 (22:05 +0100)]
Update incorrect comment.
Antoine Pitrou [Mon, 9 May 2011 19:17:02 +0000 (21:17 +0200)]
Issue #12041: Make test_wait3 more robust.
Antoine Pitrou [Mon, 9 May 2011 19:00:28 +0000 (21:00 +0200)]
os.dup()-then-close() can be replaced with detach()
Antoine Pitrou [Mon, 9 May 2011 18:55:03 +0000 (20:55 +0200)]
Remove dead code from _multiprocessing
Łukasz Langa [Mon, 9 May 2011 16:50:47 +0000 (18:50 +0200)]
Merged solution for #12036 from 3.2
Łukasz Langa [Mon, 9 May 2011 16:49:42 +0000 (18:49 +0200)]
Closes #12036: ConfigParser: Document items() added the vars dictionary to the result
Vinay Sajip [Mon, 9 May 2011 16:32:09 +0000 (17:32 +0100)]
Improved Windows test coverage.
Ezio Melotti [Mon, 9 May 2011 15:42:32 +0000 (18:42 +0300)]
Merge with 3.2.
Ezio Melotti [Mon, 9 May 2011 15:40:42 +0000 (18:40 +0300)]
Merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 15:36:53 +0000 (18:36 +0300)]
Some more tests were incorrectly marked as C specific.
Senthil Kumaran [Mon, 9 May 2011 15:25:02 +0000 (23:25 +0800)]
Issue #3709: a flush_headers method to BaseHTTPRequestHandler which manages the
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
Antoine Pitrou [Mon, 9 May 2011 15:04:27 +0000 (17:04 +0200)]
Issue #11743: Rewrite multiprocessing connection classes in pure Python.
Mark Dickinson [Mon, 9 May 2011 13:02:45 +0000 (14:02 +0100)]
Issue #11188: In log2 tests, create powers of 2 using ldexp(1, n) instead of the less reliable 2.0**n.
Victor Stinner [Mon, 9 May 2011 12:45:38 +0000 (14:45 +0200)]
Issue #8407: Use an explicit cast for FreeBSD
pthread_t is a pointer, not an integer, on FreeBSD. It should fix the following
gcc warning:
passing argument 1 of ‘pthread_kill’ makes pointer from integer without a cast
Victor Stinner [Mon, 9 May 2011 12:44:26 +0000 (14:44 +0200)]
faulthandler: make quiet a gcc 4.6 warning (z was unused)
Victor Stinner [Mon, 9 May 2011 10:50:41 +0000 (12:50 +0200)]
Issue #10811: Use TestCase.assertRaises() in the new test
Victor Stinner [Mon, 9 May 2011 10:45:41 +0000 (12:45 +0200)]
Issue #11888: Use system log2() when available
I expect the system libc to use more accurate functions than Python. The GNU
libc uses for example FYL2X and FYL2XP1 hardware instructions on Intel FPU.
Gerhard Haering [Mon, 9 May 2011 10:24:09 +0000 (12:24 +0200)]
#10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.
Mark Dickinson [Mon, 9 May 2011 07:40:20 +0000 (08:40 +0100)]
Grammatical fix for a comment for log2, to avoid referring to an *algorithm* as monotonic.
Mark Dickinson [Mon, 9 May 2011 07:18:57 +0000 (08:18 +0100)]
Fix nonunique test ids in math_testcases.txt.
Mark Dickinson [Mon, 9 May 2011 07:05:00 +0000 (08:05 +0100)]
Fix cut-and-paste typo in comment: log10 -> log2.
Martin v. Löwis [Mon, 9 May 2011 06:12:19 +0000 (08:12 +0200)]
merge 11164
Martin v. Löwis [Mon, 9 May 2011 06:10:38 +0000 (08:10 +0200)]
merge 11164
Martin v. Löwis [Mon, 9 May 2011 06:05:43 +0000 (08:05 +0200)]
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Martin v. Löwis [Mon, 9 May 2011 05:42:48 +0000 (07:42 +0200)]
merged
Martin v. Löwis [Mon, 9 May 2011 05:42:28 +0000 (07:42 +0200)]
The option is actually --no-as-needed.
Martin v. Löwis [Mon, 9 May 2011 05:41:32 +0000 (07:41 +0200)]
merge 11347.
Martin v. Löwis [Mon, 9 May 2011 05:37:45 +0000 (07:37 +0200)]
Use --as-needed when linking libpython3.so. Closes #11347.
Patch by Arfrever Frehtes Taifersar Arahesis.
Ezio Melotti [Mon, 9 May 2011 04:30:21 +0000 (07:30 +0300)]
#11910: merge with 3.2.
Ezio Melotti [Mon, 9 May 2011 04:27:20 +0000 (07:27 +0300)]
#11910: merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 04:20:47 +0000 (07:20 +0300)]
Some tests were incorrectly marked as C specific.
Ezio Melotti [Mon, 9 May 2011 04:15:04 +0000 (07:15 +0300)]
#11910: Fix test_heapq to skip the C tests when _heapq is missing.
Ezio Melotti [Mon, 9 May 2011 03:44:36 +0000 (06:44 +0300)]
#11910: merge with 3.2.
Ezio Melotti [Mon, 9 May 2011 03:43:14 +0000 (06:43 +0300)]
#11910: merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 03:41:55 +0000 (06:41 +0300)]
#11910: change import_fresh_module to return None when one of the "fresh" modules can not be imported.
Ezio Melotti [Mon, 9 May 2011 01:00:47 +0000 (04:00 +0300)]
Merge with 3.2.
Ezio Melotti [Mon, 9 May 2011 01:00:06 +0000 (04:00 +0300)]
Merge with 3.1.
Ezio Melotti [Mon, 9 May 2011 00:54:30 +0000 (03:54 +0300)]
Add a note to the str.find doc to suggest the use of the "in" operator.
Benjamin Peterson [Mon, 9 May 2011 00:48:08 +0000 (19:48 -0500)]
note the point of having log2
Victor Stinner [Sun, 8 May 2011 23:29:30 +0000 (01:29 +0200)]
Close #12032: Fix scripts/crlf.py for Python 3
Victor Stinner [Sun, 8 May 2011 23:01:09 +0000 (01:01 +0200)]
Issue #11888: Add log2 function to math module. Patch written by Mark
Dickinson.
Victor Stinner [Sun, 8 May 2011 22:42:58 +0000 (00:42 +0200)]
Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
Benjamin Peterson [Sun, 8 May 2011 20:35:09 +0000 (15:35 -0500)]
merge 3.2
Benjamin Peterson [Sun, 8 May 2011 20:34:24 +0000 (15:34 -0500)]
merge 3.1
Benjamin Peterson [Sun, 8 May 2011 20:32:46 +0000 (15:32 -0500)]
put import_fresh_module in __all__
Ezio Melotti [Sun, 8 May 2011 17:23:57 +0000 (20:23 +0300)]
Refactor buggy test to correctly use the msg argument of assertRaises.
Ezio Melotti [Sun, 8 May 2011 17:01:36 +0000 (20:01 +0300)]
Merge with 3.2.
Ezio Melotti [Sun, 8 May 2011 17:00:03 +0000 (20:00 +0300)]
Merge with 3.1.
Ezio Melotti [Sun, 8 May 2011 16:58:08 +0000 (19:58 +0300)]
Add back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
Victor Stinner [Sun, 8 May 2011 00:10:36 +0000 (02:10 +0200)]
Issue #8407: Remove debug code from test_signal
I don't think that we still need it.
Victor Stinner [Sun, 8 May 2011 00:03:15 +0000 (02:03 +0200)]
Issue #8407: The signal handler writes the signal number as a single byte
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.
Victor Stinner [Sat, 7 May 2011 23:46:11 +0000 (01:46 +0200)]
Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to the
signal module.
Antoine Pitrou [Sat, 7 May 2011 17:48:40 +0000 (19:48 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:48:18 +0000 (19:48 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:47:47 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:47:24 +0000 (19:47 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:42:39 +0000 (19:42 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
Antoine Pitrou [Sat, 7 May 2011 17:41:33 +0000 (19:41 +0200)]
Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.
Antoine Pitrou [Sat, 7 May 2011 17:39:37 +0000 (19:39 +0200)]
Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath.
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge
Giampaolo Rodola' [Sat, 7 May 2011 17:11:06 +0000 (19:11 +0200)]
merge with 3.2
Giampaolo Rodola' [Sat, 7 May 2011 17:09:34 +0000 (19:09 +0200)]
merge with 3.1
Giampaolo Rodola' [Sat, 7 May 2011 17:03:47 +0000 (19:03 +0200)]
#12002 - ftplib's abort() method raises TypeError
Ezio Melotti [Sat, 7 May 2011 16:51:47 +0000 (19:51 +0300)]
#5421: merge with 3.2.
Ezio Melotti [Sat, 7 May 2011 16:50:28 +0000 (19:50 +0300)]
#5421: merge with 3.1.
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.
Giampaolo Rodola' [Sat, 7 May 2011 16:47:31 +0000 (18:47 +0200)]
reverting
9688977ef567 committed by accident
Vinay Sajip [Sat, 7 May 2011 16:01:22 +0000 (17:01 +0100)]
Closed resource leak in SysLogHandler.
Ezio Melotti [Sat, 7 May 2011 15:29:14 +0000 (18:29 +0300)]
#12017: merge with 3.2.
Ezio Melotti [Sat, 7 May 2011 15:15:34 +0000 (18:15 +0300)]
#12017: merge with 3.1.
Giampaolo Rodola' [Sat, 7 May 2011 15:08:34 +0000 (17:08 +0200)]
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
Giampaolo Rodola' [Sat, 7 May 2011 15:08:04 +0000 (17:08 +0200)]
merge heads
Giampaolo Rodola' [Sat, 7 May 2011 15:02:21 +0000 (17:02 +0200)]
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
Ezio Melotti [Sat, 7 May 2011 14:58:09 +0000 (17:58 +0300)]
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
Vinay Sajip [Sat, 7 May 2011 14:55:47 +0000 (15:55 +0100)]
Changed where socket close is called on connection failure.
Giampaolo Rodola' [Sat, 7 May 2011 14:06:59 +0000 (16:06 +0200)]
#11072- applying http://bugs.python.org/review/11072/show suggestions
Vinay Sajip [Sat, 7 May 2011 12:44:50 +0000 (13:44 +0100)]
Merge.
Vinay Sajip [Sat, 7 May 2011 12:44:11 +0000 (13:44 +0100)]
Close socket on connection failure.
Nadeem Vawda [Sat, 7 May 2011 12:36:14 +0000 (14:36 +0200)]
Merge: Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:36 +0000 (14:35 +0200)]
Merge: Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:35:05 +0000 (14:35 +0200)]
Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:17:27 +0000 (14:17 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:16:50 +0000 (14:16 +0200)]
Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 12:14:53 +0000 (14:14 +0200)]
Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 11:11:59 +0000 (13:11 +0200)]
Merge: #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Nadeem Vawda [Sat, 7 May 2011 11:08:54 +0000 (13:08 +0200)]
Merge: #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Nadeem Vawda [Sat, 7 May 2011 11:01:50 +0000 (13:01 +0200)]
Issue #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
Victor Stinner [Sat, 7 May 2011 10:46:05 +0000 (12:46 +0200)]
_PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
The name must be encodable to ASCII because dynamic module must have a function
called "PyInit_NAME", they are written in C, and the C language doesn't accept
non-ASCII identifiers.
Victor Stinner [Sat, 7 May 2011 10:43:00 +0000 (12:43 +0200)]
faulthandler: dump all threads by default
* Set the default value of all_threads arguments to True
* Py_FatalError() dumps all threads, instead of only the current thread
Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
Victor Stinner [Sat, 7 May 2011 10:20:11 +0000 (12:20 +0200)]
faulthandler: save/restore errno in the two signal handlers
Ronald Oussoren [Sat, 7 May 2011 07:59:03 +0000 (09:59 +0200)]
Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.
R David Murray [Sat, 7 May 2011 02:26:27 +0000 (22:26 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:20:34 +0000 (22:20 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
R David Murray [Sat, 7 May 2011 02:07:19 +0000 (22:07 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
Vinay Sajip [Fri, 6 May 2011 18:06:00 +0000 (19:06 +0100)]
Refined rollover test for slow test machines.
Giampaolo Rodola' [Fri, 6 May 2011 17:49:08 +0000 (19:49 +0200)]
Issue #11072: added MLSD command (RFC-3659) support to ftplib.
Antoine Pitrou [Fri, 6 May 2011 16:49:52 +0000 (18:49 +0200)]
Issue #8808: The IMAP4_SSL constructor now allows passing an SSLContext
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
Ronald Oussoren [Fri, 6 May 2011 15:11:44 +0000 (17:11 +0200)]
merge from 3.2
Ronald Oussoren [Fri, 6 May 2011 15:11:07 +0000 (17:11 +0200)]
ntpath.samefile fails to detect that "A.TXT" and "a.txt" refer to the same file on Windows XP.
Noticed while researching a buildbot failure due to a patch for issue #10684.