Commit Graph

7034 Commits

Author SHA1 Message Date
Brian Curtin 9cc4321bf5 Backed out changeset 61bada808b34 2013-01-01 12:31:06 -06:00
Brian Curtin e3d0b65118 Set st_dev on Windows as unsigned long to match its DWORD type, related to the change to fix #11939. 2013-01-01 12:21:35 -06:00
Richard Oudkerk 950fab07aa Issue #9586: Merge. 2013-01-01 17:40:58 +00:00
Richard Oudkerk 9b4599322d Issue #9586: Merge 2013-01-01 17:36:53 +00:00
Richard Oudkerk 9866231eab Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy. 2013-01-01 17:29:44 +00:00
Eli Bendersky a9bc1bf93b Make indentation consistent 2013-01-01 07:42:06 -08:00
Eli Bendersky b829dea0cd Make indentation consistent 2013-01-01 07:41:51 -08:00
Eli Bendersky 0485314305 Make indentation consistent and remove dead commented-out code. 2012-12-31 15:34:43 -08:00
Eli Bendersky 03ab4d3581 Make indentation consistent and remove dead commented-out code. 2012-12-31 15:34:20 -08:00
Brian Curtin 87e63a273c st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines. 2012-12-31 11:59:48 -06:00
Serhiy Storchaka ac1069387e Issue #16688: Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
Patch by Matthew Barnett.
2012-12-29 23:41:08 +02:00
Serhiy Storchaka c1b59d4552 Issue #16688: Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
Patch by Matthew Barnett.
2012-12-29 23:38:48 +02:00
Brian Curtin 490b32a397 Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.
By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.
2012-12-26 07:03:03 -06:00
Andrew Svetlov 6d469ebbc8 rename MathcObject to match object in doctrings for re module (#16760) 2012-12-25 18:49:24 +02:00
Andrew Svetlov 41dc9f3cd1 rename MathcObject to match object in doctrings for re module (#16760) 2012-12-25 18:49:08 +02:00
Andrew Svetlov 0b64c1415e rename MathcObject to match object in doctrings for re module (#16760) 2012-12-25 18:48:54 +02:00
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 2012-12-25 13:32:35 +02:00
Andrew Svetlov 77377574dc Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
2012-12-23 20:00:58 +02:00
Andrew Svetlov 70dcef4789 Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
2012-12-23 19:59:27 +02:00
Andrew Svetlov 56ad5ed5ad Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
2012-12-23 19:23:07 +02:00
Stefan Krah 823359610f Merge 3.3. 2012-12-23 15:46:03 +01:00
Stefan Krah e3dff55a5e Issue #16753: Define __GNUC_STDC_INLINE__ to an integer (same as gcc). 2012-12-23 15:42:21 +01:00
Stefan Krah a81ef640f1 Merge 3.3. 2012-12-22 23:08:42 +01:00
Stefan Krah f03eee12b4 Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD. 2012-12-22 23:05:51 +01:00
Stefan Krah 5383d2d2e4 Merge 3.3. 2012-12-22 14:57:16 +01:00
Stefan Krah 66a6f3fa81 Fix Visual Studio build. 2012-12-22 14:46:44 +01:00
Stefan Krah 1ea891f8eb Merge 3.3. 2012-12-22 14:24:55 +01:00
Stefan Krah fdf1a34ba1 Issue #16745: Hide symbols in _decimal.so. 2012-12-22 14:18:35 +01:00
Stefan Krah 8fba5365d5 Merge. 2012-12-21 23:27:13 +01:00
Stefan Krah f31b603558 Merge 3.3. 2012-12-21 23:23:25 +01:00
Stefan Krah fb7f580e81 Issue #16745: Hide a couple of symbols by making them local. 2012-12-21 23:11:05 +01:00
Mark Dickinson 4cd60175f1 Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496. 2012-12-21 21:52:49 +00:00
Kristjan Valur Jonsson 1724bb196a Merge with 3.3 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:23:23 +00:00
Kristjan Valur Jonsson c51bafbbda Merge with 3.2 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:22:29 +00:00
Kristjan Valur Jonsson 3cbdaa3fee Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:20:53 +00:00
Kristjan Valur Jonsson 9946bd69fa Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 09:41:25 +00:00
Benjamin Peterson 4c05969fc4 merge 3.3 (#16597) 2012-12-20 11:55:16 -06:00
Benjamin Peterson 68623614f0 call close on the underlying stream even if flush raises (closes #16597)
Patch by Serhiy Storchaka.
2012-12-20 11:53:11 -06:00
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov 0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov a191959849 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov 5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov 737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Stefan Krah 8e47b8767b Merge 3.3. 2012-12-16 21:11:35 +01:00
Stefan Krah 9a4ff437d1 Issue #15783: Support None default values in the Context() constructor. 2012-12-16 21:10:35 +01:00
Stefan Krah 8031d0dfd4 Merge 3.3. 2012-12-15 22:36:49 +01:00
Stefan Krah 040e311826 Issue #15783: Except for the number methods, the C version of decimal now
supports all None default values present in decimal.py. These values were
largely undocumented.
2012-12-15 22:33:33 +01:00
Benjamin Peterson 6a020e8065 merge 3.3 2012-12-15 15:44:18 -05:00
Benjamin Peterson 18d105b824 merge 3.2 2012-12-15 15:44:08 -05:00
Benjamin Peterson 7eb8a1a0cb remove dead code 2012-12-15 15:43:58 -05:00