Commit Graph

48312 Commits

Author SHA1 Message Date
Giampaolo Rodola' 24befa87dc merge with 3.1 2011-05-07 19:09:34 +02:00
Giampaolo Rodola' 0b5c21f9c9 #12002 - ftplib's abort() method raises TypeError 2011-05-07 19:03:47 +02:00
Ezio Melotti 4c1aebd88b #5421: merge with 3.1. 2011-05-07 19:50:28 +03:00
Ezio Melotti 63e4230c38 #5421: add tests. 2011-05-07 19:47:48 +03:00
Ezio Melotti 06383ee090 #12017: merge with 3.1. 2011-05-07 18:15:34 +03:00
Ezio Melotti 362b95102f #12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations. 2011-05-07 17:58:09 +03:00
Nadeem Vawda b0b0579625 Merge: Fix potential resource leak in test_mmap. 2011-05-07 14:35:36 +02:00
Nadeem Vawda 7420b70240 Fix potential resource leak in test_mmap. 2011-05-07 14:35:05 +02:00
Nadeem Vawda 044dfadd1c Merge: #11277: Fix tests - crash will not trigger if the file is closed and reopened. 2011-05-07 14:16:50 +02:00
Nadeem Vawda 909f6d2fba Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened. 2011-05-07 14:14:53 +02:00
Nadeem Vawda c2bb073742 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.
2011-05-07 13:08:54 +02:00
Nadeem Vawda ced1056925 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.
2011-05-07 13:01:50 +02:00
R David Murray 94b8ee3bff #11999: sync based on comparing mtimes, not mtime to system clock 2011-05-06 22:20:34 -04:00
R David Murray caed7fe0ff #11999: sync based on comparing mtimes, not mtime to system clock 2011-05-06 22:07:19 -04:00
Ronald Oussoren 6355c16d36 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.
2011-05-06 17:11:07 +02:00
Antoine Pitrou 1c86b44506 Issue #12000: When a SSL certificate has a subjectAltName without any
dNSName entry, ssl.match_hostname() should use the subject's commonName.
Patch by Nicolas Bareil.
2011-05-06 15:19:49 +02:00
Ronald Oussoren 78349b06af merge from 3.1 2011-05-06 10:57:22 +02:00
Ronald Oussoren f51738b10e Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only) 2011-05-06 10:23:04 +02:00
Raymond Hettinger 8cd2e5f751 Sync-up minor code edits with the default branch. 2011-05-05 14:15:12 -07:00
Raymond Hettinger 102d874999 Sync-up minor code edits with the default branch. 2011-05-05 11:49:12 -07:00
Raymond Hettinger f90ba8a9a2 Avoid codec spelling issues by just using the utf-8 default. 2011-05-05 11:35:50 -07:00
Antoine Pitrou c4d7864e0e Use shared testing facilities in test_threading 2011-05-05 20:17:32 +02:00
R David Murray 66a18fd801 #11873: Improve test regex so random directory names don't cause test to fail 2011-05-05 11:52:44 -04:00
Nick Coghlan fdc2c5596e Remove trailing whitespace 2011-05-06 00:02:12 +10:00
Nick Coghlan 0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 2011-05-05 23:49:25 +10:00
Ezio Melotti f77b74dd1b #11997: merge with 3.1. 2011-05-05 14:21:18 +03:00
Ezio Melotti d92ab0806d #11997: fix typo in init.rst. 2011-05-05 14:19:48 +03:00
R David Murray 3ef4419dc3 Merge #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:07:33 -04:00
R David Murray fc5ed800d8 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:06:57 -04:00
Daniel Stutzbach eda70b81d3 #11335: Fix memory leak after key function failure in sort 2011-05-04 12:46:28 -07:00
Antoine Pitrou 0d5e52d346 Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
2011-05-04 20:02:30 +02:00
Ezio Melotti e548f5a001 #11985: merge with 3.1. 2011-05-04 18:39:29 +03:00
Ezio Melotti f16898bc80 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Brian Curtin 03b8d4e47b Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin 308053ee11 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Raymond Hettinger 003be52932 Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 2011-05-03 11:01:32 -07:00
Ezio Melotti 5098d44354 #11985: merge with 3.1. 2011-05-03 20:43:48 +03:00
Ezio Melotti b351bcca23 #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Antoine Pitrou b87a56a519 Fix typo in name of private function 2011-05-03 16:34:42 +02:00
Raymond Hettinger a5ac2ce982 Backport 3.3 fixes and cleans ups. 2011-05-02 11:02:13 -07:00
Raymond Hettinger 81b9656989 Backport code cleanup for namedtuples. 2011-05-02 09:50:15 -07:00
Victor Stinner cafa2efedb logging: don't define QueueListener if Python has no thread support 2011-05-02 16:11:28 +02:00
R David Murray b912c5a004 I was right, hardconding the localhost IP doesn't work in linux-vserver. 2011-05-02 08:47:24 -04:00
Éric Araujo 38cfe89665 Merge 3.1 2011-05-02 13:12:23 +02:00
Éric Araujo cd6756d2ae Branch merge 2011-05-02 13:10:36 +02:00
Éric Araujo b79c234e1a Add missing colon 2011-05-02 13:10:18 +02:00
Benjamin Peterson c704378987 merge 3.1 2011-05-01 20:24:40 -05:00
Raymond Hettinger 9b2fd32cc5 Fix spelling. 2011-05-01 18:14:49 -07:00
Victor Stinner 8108e96bc8 (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner a6cd0cf0f5 Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00