- 15 Jun, 2013 11 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
source_from_cache(), finishing the work introduced in changset 4134:9cacdb9d0c59.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
module and not as a definition of what an enumeration is.
-
Victor Stinner authored
-
Victor Stinner authored
The new API require more discussion.
-
- 14 Jun, 2013 16 commits
-
-
Ethan Furman authored
Missing files added. News entry added.
-
Brett Cannon authored
allowing for documenting imp.new_module() as deprecated.
-
Brett Cannon authored
deprecation of imp.get_magic().
-
Victor Stinner authored
* Add a new PyMemAllocators structure * New functions: - PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree(): GIL-free memory allocator functions - PyMem_GetRawAllocators(), PyMem_SetRawAllocators() - PyMem_GetAllocators(), PyMem_SetAllocators() - PyMem_SetupDebugHooks() - _PyObject_GetArenaAllocators(), _PyObject_SetArenaAllocators() * Add unit test for PyMem_Malloc(0) and PyObject_Malloc(0) * Add unit test for new get/set allocators functions * PyObject_Malloc() now falls back on PyMem_Malloc() instead of malloc() if size is bigger than SMALL_REQUEST_THRESHOLD, and PyObject_Realloc() falls back on PyMem_Realloc() instead of realloc() * PyMem_Malloc() and PyMem_Realloc() now always call malloc() and realloc(), instead of calling PyObject_Malloc() and PyObject_Realloc() in debug mode
-
Brett Cannon authored
-
Brett Cannon authored
overwrite a symlink or non-regular file with a regular file.
-
Ned Deily authored
Patch by Mark Levitt
-
Brett Cannon authored
implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch.
-
Brett Cannon authored
Noticed by Serhly Storchaka.
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
prefix function with PySSL_, too. Other module level functions have a prefix, too.
-
http://hg.python.org/cpython/Christian Heimes authored
searching for changes changeset: 84118:98343392fd81 tag: tip user: Christian Heimes <christian@cheimes.de> date: Fri Jun 14 14:54:48 2013 +0200 files: PC/VS9.0/_socket.vcproj PC/VS9.0/_ssl.vcproj description: Fix compilation of Python with VS 2008 Contrary to VS 2010 the compiler doesn't like semicolon seperated dependency names
-
Ethan Furman authored
-
Brett Cannon authored
-
Brett Cannon authored
ModuleNotFoundError.
-
- 13 Jun, 2013 9 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Brett Cannon authored
when None in sys.modules.
-
Brett Cannon authored
Forgot to raise ModuleNotFoundError when None is found in sys.modules. This led to introducing the C function PyErr_SetImportErrorSubclass() to make setting ModuleNotFoundError easier. Also updated the reference docs to mention ModuleNotFoundError appropriately. Updated the docs for ModuleNotFoundError to mention the None in sys.modules case. Lastly, it was noticed that PyErr_SetImportError() was not setting an exception when returning None in one case. That issue is now fixed.
-
Brett Cannon authored
instead of manually listing tests for test.support.run_unittest().
-
Brett Cannon authored
reaped in all situations.
-
Brett Cannon authored
-
Brett Cannon authored
unittest.main().
-
- 12 Jun, 2013 4 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem.
-
Brett Cannon authored
-
Serhiy Storchaka authored
-