History log of /external/python/cpython3/Modules/_lsprof.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1 16-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.
f4934ea77da38516731a75fbf9458b248d26dd81 16-Nov-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.
/external/python/cpython3/Modules/_lsprof.c
af580dff4af3cb812cdd7a229a4a65059b3bc1ee 06-Sep-2016 Benjamin Peterson <benjamin@python.org> replace PY_LONG_LONG with long long
/external/python/cpython3/Modules/_lsprof.c
ed4aa83ff77ff11059f64dab711adf35ce9d0e0f 06-Sep-2016 Benjamin Peterson <benjamin@python.org> require a long long data type (closes #27961)
/external/python/cpython3/Modules/_lsprof.c
ec39756960def5fdd8cb0ae191429f2f8e229f55 06-Apr-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #22570: Renamed Py_SETREF to Py_XSETREF.
576f132b986b5ee60e4b84d34a519a5edcd8c03e 05-Jan-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #20440: Cleaning up the code by using Py_SETREF.
/external/python/cpython3/Modules/_lsprof.c
8477f7af13d080f15b39094a2fa37dcc6314925a 28-Jun-2014 Antoine Pitrou <solipsis@pitrou.net> Issue #21863: cProfile now displays the module name of C extension functions, in addition to their own name.
/external/python/cpython3/Modules/_lsprof.c
ab0ac27d24076a2a09e3d8de97055a2fc978709f 20-Jan-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #20315: Removed support for backward compatibility with early 2.x versions.
Removed backward compatibility alias curses.window.nooutrefresh which should
be removed in 2.3.
7e52705ee362001a8761461e9c4d49e3873568e0 20-Jan-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #20315: Removed support for backward compatibility with early 2.x versions.
/external/python/cpython3/Modules/_lsprof.c
bd303c165bc914fc943026ece55f4ebd225614c9 07-Nov-2013 Victor Stinner <victor.stinner@gmail.com> Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used.

Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
/external/python/cpython3/Modules/_lsprof.c
53e9ec48e53840d2af24d7262908e6fc9837e856 07-Nov-2013 Victor Stinner <victor.stinner@gmail.com> Issue #19512: Use the new _PyId_builtins identifier
/external/python/cpython3/Modules/_lsprof.c
1c8f059019d79f1891f42a2656a96919a1187967 22-Jul-2013 Victor Stinner <victor.stinner@gmail.com> Issue #18520: Add a new PyStructSequence_InitType2() function, same than
PyStructSequence_InitType() except that it has a return value (0 on success,
-1 on error).

* PyStructSequence_InitType2() now raises MemoryError on memory allocation failure
* Fix also some calls to PyDict_SetItemString(): handle error
/external/python/cpython3/Modules/_lsprof.c
b64049183cee61edc112eefa3ca76916d03e9f02 07-Jul-2013 Victor Stinner <victor.stinner@gmail.com> Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules

Replace malloc() with PyMem_Malloc() when the GIL is held, or with
PyMem_RawMalloc() otherwise.
/external/python/cpython3/Modules/_lsprof.c
14c81aba509904959a86f14ccd180f714e6b753d 05-Oct-2012 Jesus Cea <jcea@jcea.es> #16135: Removal of OS/2 support (Modules/*)
/external/python/cpython3/Modules/_lsprof.c
7edb5dfcbc815e2479e4c68051bf1805d1c9348d 20-Jun-2011 Victor Stinner <victor.stinner@haypocalc.com> Issue #6697: _lsprof: normalizeUserObj() doesn't encode/decode (UTF-8) the
module name anymore, only work on unicode strings. Therefore it doesn't
truncate module names with embedded NUL characters, or fail if the module name
contains surrogate characters (UTF-8 encoder fails on a surrogate character).

Patch written by Alexander Belopolsky.
/external/python/cpython3/Modules/_lsprof.c
532d091d058bca2c43b24bc79b53aa70f5caa365 10-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Reverted accidental commit (from r87159)
/external/python/cpython3/Modules/_lsprof.c
fc55789cae2db09fe190989943b112fbdc0f5423 10-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Updated UCD version and unicode.org links to Unicode 6.0.0
/external/python/cpython3/Modules/_lsprof.c
e239d23e8cc66605f548585ad4489a8f12fc070d 09-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL
/external/python/cpython3/Modules/_lsprof.c
e5b99f0fb306b80118849048b3d145c1a614c38b 30-Nov-2010 Georg Brandl <georg@python.org> Remove redundant includes of headers that are already included by Python.h.
/external/python/cpython3/Modules/_lsprof.c
71c23d447322307572fbe0ca68b61fad97e10021 30-Nov-2010 Georg Brandl <georg@python.org> Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
/external/python/cpython3/Modules/_lsprof.c
f95a1b3c53bdd678b64aa608d4375660033460c3 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

Untabify C files. Will watch buildbots.
........
/external/python/cpython3/Modules/_lsprof.c
cee3ae8af603dd516e81472f87ab358bc890197a 04-Mar-2010 Victor Stinner <victor.stinner@haypocalc.com> Merged revisions 78641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r78641 | victor.stinner | 2010-03-04 01:10:12 +0100 (jeu., 04 mars 2010) | 3 lines

Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler,
reset also the pointer to the current pointer context.
........
/external/python/cpython3/Modules/_lsprof.c
e94c679df0b632bc929936ca54f0de006e1a6dc2 02-Feb-2009 Mark Dickinson <dickinsm@gmail.com> Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
/external/python/cpython3/Modules/_lsprof.c
6ccc7038654513cc1f805be0dc1d5a2853babd07 07-Oct-2008 Benjamin Peterson <benjamin@python.org> Merged revisions 66677,66700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r66677 | brett.cannon | 2008-09-28 22:41:21 -0500 (Sun, 28 Sep 2008) | 7 lines

The _lsprof module could crash the interpreter if it was given an external
timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.

Fixes issue 3895.
Code review by Benjamin Peterson.
........
r66700 | brett.cannon | 2008-09-30 12:46:03 -0500 (Tue, 30 Sep 2008) | 5 lines

Fix a refleak introduced by r66677.

Fix suggested by Amaury Forgeot d'Arc.
Closes issue #4003.
........
/external/python/cpython3/Modules/_lsprof.c
4cc0f24857c345ba99691b2ae6829c6ce3c0edcd 07-Aug-2008 Marc-André Lemburg <mal@egenix.com> Rename PyUnicode_AsString -> _PyUnicode_AsString and
PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.

We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
/external/python/cpython3/Modules/_lsprof.c
1a21451b1d73b65af949193208372e86bf308411 11-Jun-2008 Martin v. Löwis <martin@v.loewis.de> Implement PEP 3121: new module initialization and finalization API.
/external/python/cpython3/Modules/_lsprof.c
90aa7646affbaee9628ca6ea6a702aec17b3b550 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
/external/python/cpython3/Modules/_lsprof.c
1a3284ed69d545e4ef59869998cb8c29233a45fa 02-Dec-2007 Georg Brandl <georg@python.org> #1535: rename __builtin__ module to builtins.
/external/python/cpython3/Modules/_lsprof.c
bed678449f55a47fad914fa9e04df547c240f810 27-Oct-2007 Neal Norwitz <nnorwitz@gmail.com> Get rid of more uses of string and use unicode
/external/python/cpython3/Modules/_lsprof.c
89d996e5c28d820e9bc91e0c025f47c754ae784c 08-Sep-2007 Thomas Wouters <thomas@python.org> Merged revisions 57778-58052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r57820 | georg.brandl | 2007-08-31 08:59:27 +0200 (Fri, 31 Aug 2007) | 2 lines

Document new shorthand notation for index entries.
........
r57827 | georg.brandl | 2007-08-31 10:47:51 +0200 (Fri, 31 Aug 2007) | 2 lines

Fix subitem markup.
........
r57833 | martin.v.loewis | 2007-08-31 12:01:07 +0200 (Fri, 31 Aug 2007) | 1 line

Mark registry components as 64-bit on Win64.
........
r57854 | bill.janssen | 2007-08-31 21:02:23 +0200 (Fri, 31 Aug 2007) | 1 line

deprecate use of FakeSocket
........
r57855 | bill.janssen | 2007-08-31 21:02:46 +0200 (Fri, 31 Aug 2007) | 1 line

remove mentions of socket.ssl in comments
........
r57856 | bill.janssen | 2007-08-31 21:03:31 +0200 (Fri, 31 Aug 2007) | 1 line

remove use of non-existent SSLFakeSocket in apparently untested code
........
r57859 | martin.v.loewis | 2007-09-01 08:36:03 +0200 (Sat, 01 Sep 2007) | 3 lines

Bug #1737210: Change Manufacturer of Windows installer to PSF.
Will backport to 2.5.
........
r57865 | georg.brandl | 2007-09-01 09:51:24 +0200 (Sat, 01 Sep 2007) | 2 lines

Fix RST link (backport from Py3k).
........
r57876 | georg.brandl | 2007-09-01 17:49:49 +0200 (Sat, 01 Sep 2007) | 2 lines

Document sets' ">" and "<" operations (backport from py3k).
........
r57878 | skip.montanaro | 2007-09-01 19:40:03 +0200 (Sat, 01 Sep 2007) | 4 lines

Added a note and examples to explain that re.split does not split on an
empty pattern match. (issue 852532).
........
r57879 | walter.doerwald | 2007-09-01 20:18:09 +0200 (Sat, 01 Sep 2007) | 2 lines

Fix wrong function names.
........
r57880 | walter.doerwald | 2007-09-01 20:34:05 +0200 (Sat, 01 Sep 2007) | 2 lines

Fix typo.
........
r57889 | andrew.kuchling | 2007-09-01 22:31:59 +0200 (Sat, 01 Sep 2007) | 1 line

Markup fix
........
r57892 | andrew.kuchling | 2007-09-01 22:43:36 +0200 (Sat, 01 Sep 2007) | 1 line

Add various items
........
r57895 | andrew.kuchling | 2007-09-01 23:17:58 +0200 (Sat, 01 Sep 2007) | 1 line

Wording change
........
r57896 | andrew.kuchling | 2007-09-01 23:18:31 +0200 (Sat, 01 Sep 2007) | 1 line

Add more items
........
r57904 | ronald.oussoren | 2007-09-02 11:46:07 +0200 (Sun, 02 Sep 2007) | 3 lines

Macosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
by the Makefile is also used at configure-time.
........
r57925 | georg.brandl | 2007-09-03 09:16:46 +0200 (Mon, 03 Sep 2007) | 2 lines

Fix #883466: don't allow Unicode as arguments to quopri and uu codecs.
........
r57936 | matthias.klose | 2007-09-04 01:33:04 +0200 (Tue, 04 Sep 2007) | 2 lines

- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
........
r57954 | mark.summerfield | 2007-09-04 10:16:15 +0200 (Tue, 04 Sep 2007) | 3 lines

Added cross-references plus a note about dict & list shallow copying.
........
r57958 | martin.v.loewis | 2007-09-04 11:51:57 +0200 (Tue, 04 Sep 2007) | 3 lines

Document that we rely on the OS to release the crypto
context. Fixes #1626801.
........
r57960 | martin.v.loewis | 2007-09-04 15:13:14 +0200 (Tue, 04 Sep 2007) | 3 lines

Patch #1388440: Add set_completion_display_matches_hook and
get_completion_type to readline.
........
r57961 | martin.v.loewis | 2007-09-04 16:19:28 +0200 (Tue, 04 Sep 2007) | 3 lines

Patch #1031213: Decode source line in SyntaxErrors back to its original
source encoding. Will backport to 2.5.
........
r57972 | matthias.klose | 2007-09-04 20:17:36 +0200 (Tue, 04 Sep 2007) | 3 lines

- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
to include some information about the build environment.
........
r57973 | matthias.klose | 2007-09-04 21:05:38 +0200 (Tue, 04 Sep 2007) | 2 lines

- Makefile.pre.in(buildbottest): Remove whitespace at eol.
........
r57975 | matthias.klose | 2007-09-04 22:46:02 +0200 (Tue, 04 Sep 2007) | 2 lines

- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
........
r57980 | bill.janssen | 2007-09-05 02:46:27 +0200 (Wed, 05 Sep 2007) | 1 line

SSL certificate distinguished names should be represented by tuples
........
r57985 | martin.v.loewis | 2007-09-05 08:39:17 +0200 (Wed, 05 Sep 2007) | 3 lines

Patch #1105: Explain that one needs to build the solution
to get dependencies right.
........
r57987 | armin.rigo | 2007-09-05 09:51:21 +0200 (Wed, 05 Sep 2007) | 4 lines

PyDict_GetItem() returns a borrowed reference.
There are probably a number of places that are open to attacks
such as the following one, in bltinmodule.c:min_max().
........
r57991 | martin.v.loewis | 2007-09-05 13:47:34 +0200 (Wed, 05 Sep 2007) | 3 lines

Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
........
r57993 | georg.brandl | 2007-09-05 15:36:44 +0200 (Wed, 05 Sep 2007) | 2 lines

Backport from Py3k: Bug #1684991: explain lookup semantics for __special__ methods (new-style classes only).
........
r58004 | armin.rigo | 2007-09-06 10:30:51 +0200 (Thu, 06 Sep 2007) | 4 lines

Patch #1733973 by peaker:
ptrace_enter_call() assumes no exception is currently set.
This assumption is broken when throwing into a generator.
........
r58006 | armin.rigo | 2007-09-06 11:30:38 +0200 (Thu, 06 Sep 2007) | 4 lines

PyDict_GetItem() returns a borrowed reference.
This attack is against ceval.c:IMPORT_NAME, which calls an
object (__builtin__.__import__) without holding a reference to it.
........
r58013 | georg.brandl | 2007-09-06 16:49:56 +0200 (Thu, 06 Sep 2007) | 2 lines

Backport from 3k: #1116: fix reference to old filename.
........
r58021 | thomas.heller | 2007-09-06 22:26:20 +0200 (Thu, 06 Sep 2007) | 1 line

Fix typo: c_float represents to C float type.
........
r58022 | skip.montanaro | 2007-09-07 00:29:06 +0200 (Fri, 07 Sep 2007) | 3 lines

If this is correct for py3k branch and it's already in the release25-maint
branch, seems like it ought to be on the trunk as well.
........
r58023 | gregory.p.smith | 2007-09-07 00:59:59 +0200 (Fri, 07 Sep 2007) | 4 lines

Apply the fix from Issue1112 to make this test more robust and keep
windows happy.
........
r58031 | brett.cannon | 2007-09-07 05:17:50 +0200 (Fri, 07 Sep 2007) | 4 lines

Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;
implementation of either function depends on ctypes but uuid as a whole does
not.
........
r58032 | brett.cannon | 2007-09-07 06:18:30 +0200 (Fri, 07 Sep 2007) | 6 lines

Fix a crasher where Python code managed to infinitely recurse in C code without
ever going back out to Python code in PyObject_Call(). Required introducing a
static RuntimeError instance so that normalizing an exception there is no
reliance on a recursive call that would put the exception system over the
recursion check itself.
........
r58034 | thomas.heller | 2007-09-07 08:32:17 +0200 (Fri, 07 Sep 2007) | 1 line

Add a 'c_longdouble' type to the ctypes module.
........
r58035 | thomas.heller | 2007-09-07 11:30:40 +0200 (Fri, 07 Sep 2007) | 1 line

Remove unneeded #include.
........
r58036 | thomas.heller | 2007-09-07 11:33:24 +0200 (Fri, 07 Sep 2007) | 6 lines

Backport from py3k branch:

Add a workaround for a strange bug on win64, when _ctypes is compiled
with the SDK compiler. This should fix the failing
Lib\ctypes\test\test_as_parameter.py test.
........
r58037 | georg.brandl | 2007-09-07 16:14:40 +0200 (Fri, 07 Sep 2007) | 2 lines

Fix a wrong indentation for sublists.
........
r58043 | georg.brandl | 2007-09-07 22:10:49 +0200 (Fri, 07 Sep 2007) | 2 lines

#1095: ln -f doesn't work portably, fix in Makefile.
........
r58049 | skip.montanaro | 2007-09-08 02:34:17 +0200 (Sat, 08 Sep 2007) | 1 line

be explicit about the actual location of the missing file
........
/external/python/cpython3/Modules/_lsprof.c
1e93f2b5bea9a6c59bb7c61bbaf8fcbb2828d1a4 27-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Fix warning
/external/python/cpython3/Modules/_lsprof.c
e1188629a6892f59659546bacfb6fd0d8e0c4bcb 26-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Use unicode
/external/python/cpython3/Modules/_lsprof.c
9f2e346911988cda95fec7c901e8d10d34fa9563 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> Merged revisions 56467-56482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

................
r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines

Merged revisions 56466-56476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines

PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
........
................
r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines

PEP 3123: Use proper C inheritance for PyObject.
................
r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines

Add longintrepr.h to Python.h, so that the compiler can
see that PyFalse is really some kind of PyObject*.
................
r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines

Qualify SHIFT, MASK, BASE.
................
r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines

Correctly refer to _ob_next.
................
/external/python/cpython3/Modules/_lsprof.c
1c5a98a360093a99136f2a87251aa7c53b87170b 17-Jul-2007 Guido van Rossum <guido@python.org> Fix for cProfile.
SF patch# 1755176 by Amaury Forgeot d'Arc.
/external/python/cpython3/Modules/_lsprof.c
49fd7fa4431da299196d74087df4a04f99f9c46f 21-Apr-2006 Thomas Wouters <thomas@python.org> Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
number of tests, all because of the codecs/_multibytecodecs issue described
here (it's not a Py3K issue, just something Py3K discovers):
http://mail.python.org/pipermail/python-dev/2006-April/064051.html

Hye-Shik Chang promised to look for a fix, so no need to fix it here. The
tests that are expected to break are:

test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecs
test_multibytecodec

This merge fixes an actual test failure (test_weakref) in this branch,
though, so I believe merging is the right thing to do anyway.
/external/python/cpython3/Modules/_lsprof.c
227b5339edcdcc9ca6322a2217b75db11b69048f 22-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Finish getting rid of statichere/staticforward
/external/python/cpython3/Modules/_lsprof.c
60da31660c6a74fea15dfc93f3b3c16ce4619539 07-Mar-2006 Neal Norwitz <nnorwitz@gmail.com> Thanks to Coverity, these were all reported by their Prevent tool.
All of these (except _lsprof.c) should be backported. Particularly
the hotshot change which validates sys.path. Can someone backport?
/external/python/cpython3/Modules/_lsprof.c
15e62742fad688b026ba80bf17d1345c4cbd423b 27-Feb-2006 Martin v. Löwis <martin@v.loewis.de> Revert backwards-incompatible const changes.
/external/python/cpython3/Modules/_lsprof.c
2bc23f512dd38717092f4642aa9b3d63705e9836 10-Feb-2006 Armin Rigo <arigo@tunes.org> The default timer unit was incorrectly measured in milliseconds instead
of seconds, producing numbers 1000 times too large. It would be nice to
write a test for this, but how... (thanks mwh)
/external/python/cpython3/Modules/_lsprof.c
a871ef2b3e924f058ec1b0aed7d4c83a546414b7 08-Feb-2006 Armin Rigo <arigo@tunes.org> Added the cProfile module.
Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter.
With further editing by Michael Hudson and myself.
History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof

* Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper.
* pstats.py updated to display cProfile's caller/callee timings if available.
* setup.py and NEWS updated.
* documentation updates in the profiler section:
- explain the differences between the three profilers that we have now
- profile and cProfile can use a unified documentation, like (c)Pickle
- mention that hotshot is "for specialized usage" now
- removed references to the "old profiler" that no longer exists
* test updates:
- extended test_profile to cover delicate cases like recursion
- added tests for the caller/callee displays
- added test_cProfile, performing the same tests for cProfile
* TO-DO:
- cProfile gives a nicer name to built-in, particularly built-in methods,
which could be backported to profile.
- not tested on Windows recently!
/external/python/cpython3/Modules/_lsprof.c