cpython/Tools
Łukasz Langa 8e572491b5 [3.6] bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (GH-3153) (#3192)
PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on
non-debug shared builds.  This breaks the ability to use py-bt, py-up, and
a few other Python-specific gdb integrations.

This patch fixes the problem by only looking for _PyEval_EvalFrameDefault
frames.

test_gdb passes on both a debug and a non-debug build.

Original patch by Bruno "Polaco" Penteado.
(cherry picked from commit 5fe59f8e3a)
2017-08-22 13:20:40 -07:00
..
buildbot Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246) 2017-06-16 14:38:32 +02:00
ccbench
clinic Emit METH_FASTCALL code in Argument Clinic 2016-09-09 17:40:38 -07:00
demo #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
freeze Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:38:20 -07:00
gdb [3.6] bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (GH-3153) (#3192) 2017-08-22 13:20:40 -07:00
i18n Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
importbench Change some mercurial/ hg.python.org references. (#8) (#185) 2017-02-19 18:58:33 -08:00
iobench Issue #15204: Deprecated the 'U' mode in file-like objects. 2013-11-23 22:12:06 +02:00
msi Fix build batch files (#2750) (#2897) 2017-07-26 14:20:41 -07:00
nuget Fix build batch files (#2750) (#2897) 2017-07-26 14:20:41 -07:00
parser Issue #28008: Fix test_unparse 2016-09-09 11:48:39 -07:00
pybench Remove legacy "from __future__ import with_statement" lines. 2016-09-08 13:47:41 -07:00
pynche #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
scripts [3.6] bpo-31221: patchcheck ignores external libraries (#3109) (#3116) 2017-08-17 16:53:27 +02:00
ssl Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
stringbench Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:33:23 +02:00
test2to3 Issue #19936: Remove executable bits from C source files and several forgotten 2014-01-16 18:48:45 +02:00
tz Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). 2016-07-22 18:47:04 -04:00
unicode [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083) 2017-06-10 15:39:29 -05:00
unittestgui Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
README Change some mercurial/ hg.python.org references. (#8) (#185) 2017-02-19 18:58:33 -08:00

README

This directory contains a number of Python programs that are useful
while building or extending Python.

buildbot        Batchfiles for running on Windows buildslaves.

ccbench         A Python threads-based concurrency benchmark. (*)

demo            Several Python programming demos.

freeze          Create a stand-alone executable from a Python program.

gdb             Python code to be run inside gdb, to make it easier to
                debug Python itself (by David Malcolm).

i18n            Tools for internationalization. pygettext.py
                parses Python source code and generates .pot files,
                and msgfmt.py generates a binary message catalog
                from a catalog in text format.

iobench         Benchmark for the new Python I/O system. (*)

msi             Support for packaging Python as an MSI package on Windows.

parser          Un-parsing tool to generate code from an AST.

pybench         Low-level benchmarking for the Python evaluation loop. (*)

pynche          A Tkinter-based color editor.

scripts         A number of useful single-file programs, e.g. tabnanny.py
                by Tim Peters, which checks for inconsistent mixing of
                tabs and spaces, and 2to3, which converts Python 2 code
                to Python 3 code.

stringbench     A suite of micro-benchmarks for various operations on
                strings (both 8-bit and unicode). (*)

test2to3        A demonstration of how to use 2to3 transparently in setup.py.

unicode         Tools for generating unicodedata and codecs from unicode.org
                and other mapping files (by Fredrik Lundh, Marc-Andre Lemburg
                and Martin von Loewis).

unittestgui     A Tkinter based GUI test runner for unittest, with test
                discovery.


(*) A generic benchmark suite is maintained separately at https://github.com/python/performance