- 15 Haz, 2013 4 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
module and not as a definition of what an enumeration is.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
The new API require more discussion.
-
- 14 Haz, 2013 16 kayıt (commit)
-
-
Ethan Furman yazdı
Missing files added. News entry added.
-
Brett Cannon yazdı
allowing for documenting imp.new_module() as deprecated.
-
Brett Cannon yazdı
deprecation of imp.get_magic().
-
Victor Stinner yazdı
* 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 yazdı
-
Brett Cannon yazdı
overwrite a symlink or non-regular file with a regular file.
-
Ned Deily yazdı
Patch by Mark Levitt
-
Brett Cannon yazdı
implementing in code) the deprecation of imp.reload(). Thanks to Berker Peksag for the patch.
-
Brett Cannon yazdı
Noticed by Serhly Storchaka.
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
prefix function with PySSL_, too. Other module level functions have a prefix, too.
-
http://hg.python.org/cpython/Christian Heimes yazdı
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 yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
ModuleNotFoundError.
-
- 13 Haz, 2013 9 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Brett Cannon yazdı
when None in sys.modules.
-
Brett Cannon yazdı
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 yazdı
instead of manually listing tests for test.support.run_unittest().
-
Brett Cannon yazdı
reaped in all situations.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
unittest.main().
-
- 12 Haz, 2013 9 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
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 yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
Roger Serwy yazdı
-
- 11 Haz, 2013 2 kayıt (commit)