Commit Graph

48210 Commits

Author SHA1 Message Date
Antoine Pitrou 9bd3bbcfe8 Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore 2011-03-13 23:28:28 +01:00
Antoine Pitrou 34db469895 Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) 2011-03-13 19:32:01 +01:00
Antoine Pitrou 6b19e50e9b Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) 2011-03-13 19:31:11 +01:00
Antoine Pitrou d3cccd2a60 Issue #11223: Fix test_threadsignals to fail, not hang, when the
non-semaphore implementation of locks is used under POSIX.
2011-03-13 19:14:21 +01:00
Ezio Melotti 0def5c6907 Merge with 3.1. 2011-03-13 02:27:26 +02:00
Ezio Melotti 2b73660135 Fix markup in inputoutput.rst. 2011-03-13 02:19:57 +02:00
Victor Stinner d68c2cf237 Issue #3080: Create find_module_path() subfunction 2011-03-12 16:02:28 -05:00
Victor Stinner 3758028299 Issue #3080: Create find_module_path_list() subfunction 2011-03-20 01:34:43 +01:00
Ezio Melotti 546398d02c Dummy merge with 3.1. 2011-03-12 22:28:01 +02:00
Ezio Melotti 77845ce55a Fix typo. 2011-03-12 22:25:06 +02:00
Benjamin Peterson 62e0b90be2 merge 3.1 2011-03-12 11:58:40 -06:00
Benjamin Peterson ab2b71699c trunc -> math.trunc (closes #11475) 2011-03-12 11:58:15 -06:00
Victor Stinner c696316466 Issue #3080: Remove useless name buffer from find_module()
Rename subname argument to name, and mark it as constant.
2011-03-12 09:26:54 -05:00
Victor Stinner 7d8b77c2aa Issue #3080: find_module() initialize buf and *p_fp
Document also the find_module() function
2011-03-12 08:45:02 -05:00
Victor Stinner fefd70c40d Issue #3080: _PyImport_LoadDynamicModule() uses Unicode for name and path
Document also that dynamic module names are ASCII only
2011-03-14 15:54:07 -04:00
Mark Dickinson a7f0dffb8d Merge #11131 2011-03-12 11:17:26 +00:00
Mark Dickinson 37a79fb75b Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations in ROUND_FLOOR rounding mode. 2011-03-12 11:12:52 +00:00
Senthil Kumaran e858bca356 forward merge from 3.1 2011-03-12 11:42:33 +08:00
Senthil Kumaran abd4a05561 Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex 2011-03-12 11:40:25 +08:00
Antoine Pitrou dd8f2e7edf Merge #11403 2011-03-11 23:44:04 +01:00
Antoine Pitrou 26606fd23f Issue #11403: add some MSVC-generated files to .hgignore 2011-03-11 23:42:49 +01:00
Antoine Pitrou 375ff587c2 Issue #11179: Make ccbench work under Python 3.1 and 2.7 again. 2011-03-11 20:57:11 +01:00
Ezio Melotti 147f6088f0 #11446: merge with 3.1. 2011-03-11 20:53:24 +02:00
Ezio Melotti 7885833df0 #11446: fix incorrect PEP link. 2011-03-11 20:50:42 +02:00
Eli Bendersky fc4252d3e2 merge 2011-03-11 16:40:25 +02:00
Eli Bendersky a7a1c15111 merge from 3.1 2011-03-11 16:39:04 +02:00
Eli Bendersky 9cc6249dee Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 16:33:36 +02:00
Ezio Melotti 1a87e3211a #11435: Update the links generated by the source directive to use hg.python.org. 2011-03-11 15:16:01 +02:00
R David Murray e17e9fc37e Merge heads. 2011-03-10 18:15:25 -05:00
R David Murray 5647c473bc Merge #10999 fix. 2011-03-10 17:22:33 -05:00
R David Murray 30178068d9 #10999: Add missing documentation for chflags constants to stat module docs
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti b1a7b4d691 Dummy merge with 3.1. 2011-03-10 23:49:42 +02:00
Ezio Melotti c29cd9384a Use simpler assert in basic example. 2011-03-10 23:38:18 +02:00
Gregory P. Smith f2b5673f73 Explicitly mention that people should not depend on immediate
finalization of objects.

HG Enter commit message.  Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith c542547211 Reword the finalization note. 2011-03-10 11:28:50 -08:00
Gregory P. Smith c60137b272 Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti 40dcb1d287 Port a couple of changes from 3.1. 2011-03-10 13:46:50 +02:00
Ezio Melotti 2d1e88a4d1 Backport from 3.2 several improvements and fixes for unittest.rst. 2011-03-10 12:16:35 +02:00
Antoine Pitrou 35db8a80c1 Merge fix for issue #11450 2011-03-09 12:47:20 +01:00
Antoine Pitrou 7983d33f54 Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.
2011-03-09 12:34:41 +01:00
Ned Deily 2d12f96658 Issue #5622: merge fix from 3.1. 2011-03-09 02:42:23 -08:00
Ned Deily d2853180df Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
2011-03-09 02:36:51 -08:00
Vinay Sajip d9512e9ac1 Issue #11444: Merge fix from 3.1. 2011-03-08 22:53:21 +00:00
Vinay Sajip c8ab6eeb01 Issue #11444: Lock handlers while flushing/closing during shutdown. 2011-03-08 22:49:57 +00:00
Victor Stinner 4d6c1c476a Issue #3080: _PyWin_FindRegisteredModule() returns the path as Unicode
* Document the function
 * Use RegQueryValueW() instead of RegQueryValueA()
 * Use _Py_fopen() instead of fopen()
 * Allocate registry key on the heap, not on the stack, and handle memory
   allocation failure
 * Handle Python exception in find_module()
2011-03-08 23:49:04 +01:00
Ezio Melotti 3d995843ce #11298: Improve the unittest discovery explanation. 2011-03-08 16:17:35 +02:00
Benjamin Peterson 3b59f332b6 merge 3.1 2011-03-07 22:51:59 -06:00
Benjamin Peterson 49d7149e6d transform izip_longest #11424 2011-03-07 22:50:37 -06:00
Vinay Sajip 9f9991c2f5 #Issue 11424: added equivalent fixes for dictConfig. 2011-03-07 18:02:57 +00:00
Vinay Sajip e783553daa #Issue 11424: merged fix from 3.1. 2011-03-07 17:59:50 +00:00