- 09 Ara, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
Fix warn_explicit(): interpret source=None as source=NULL.
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() in various modules when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
- 05 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Replace _PyObject_CallArg1(func, arg) with PyObject_CallFunctionObjArgs(func, arg, NULL) Using the _PyObject_CallArg1() macro increases the usage of the C stack, which was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this issue.
-
- 04 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs().
-
- 01 Ara, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
Replace PyObject_CallFunction(func, "O", arg) and PyObject_CallFunction(func, "O", arg, NULL) with _PyObject_CallArg1(func, arg) Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func) _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack.
-
Victor Stinner yazdı
* PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507.
-
- 16 Kas, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
The latter function is more readable, faster and doesn't raise exceptions.
-
- 10 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
in places where Py_DECREF was used.
-
- 06 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 23 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Don't check if the dict key exists before getting the key. Instead get the key and handle error.
-
- 22 Mar, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26592: _warnings.warn_explicit() now tries to import the warnings module (Python implementation) if the source parameter is set to be able to log the traceback where the source was allocated.
-
Victor Stinner yazdı
Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning
-
- 19 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26567: * Add a new function PyErr_ResourceWarning() function to pass the destroyed object * Add a source attribute to warnings.WarningMessage * Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where source object was allocated.
-
- 18 Mar, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26568: add new _showwarnmsg() and _formatwarnmsg() functions to the warnings module. The C function warn_explicit() now calls warnings._showwarnmsg() with a warnings.WarningMessage as parameter, instead of calling warnings.showwarning() with multiple parameters. _showwarnmsg() calls warnings.showwarning() if warnings.showwarning() was replaced. Same for _formatwarnmsg(): call warnings.formatwarning() if it was replaced.
-
- 25 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
macro Py_SETREF.
-
- 06 Eyl, 2015 1 kayıt (commit)
-
-
Larry Hastings yazdı
by the warnings.warn(stacklevel=) parameter.
-
- 03 May, 2015 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 13 Nis, 2015 1 kayıt (commit)
-
-
Brett Cannon yazdı
The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
-
- 18 Eyl, 2014 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 11 Tem, 2014 1 kayıt (commit)
-
-
Berker Peksag yazdı
Initial patch by Phil Elson.
-
- 07 Kas, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
-
- 06 Kas, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter.
-
- 31 Eki, 2013 3 kayıt (commit)
-
-
Victor Stinner yazdı
After more tests, I now think that it is the safest option.
-
Victor Stinner yazdı
call a Python function with an exception set
-
Victor Stinner yazdı
with an exception set
-
- 29 Eki, 2013 2 kayıt (commit)
-
-
Victor Stinner yazdı
Warnings may be emitted during Python shutdown, like "unclosed file XXX". During shutdown, globals()['__main__'] may be None.
-
Victor Stinner yazdı
characters.
-
- 28 Eki, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
finalization. sys.argv is set to None during Python finalization: add PyList_Check() to avoid a crash in PyList_Size().
-
- 26 Agu, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
filenames anymore on Windows.
-
- 15 Tem, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
_Py_DisplaySourceLine() For example, _PyGC_DumpShutdownStats() calls PyErr_WarnExplicitFormat() while the import machinery does not work anymore, _Py_DisplaySourceLine() fails when trying to import the io module.
-
- 08 May, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
(should fix Windows buildbot failures on test_gc)
-
- 18 Ock, 2012 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 12 Ock, 2012 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 09 Ara, 2011 1 kayıt (commit)
-
-
Florent Xicluna yazdı
-
- 21 Kas, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
And PyUnicode_GetSize() => PyUnicode_GetLength()
-
- 07 Kas, 2011 1 kayıt (commit)
-
- 14 Eki, 2011 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 10 Eki, 2011 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-