Commit Graph

1981 Commits

Author SHA1 Message Date
Victor Stinner d208416a40 Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.

 * delay the lookup of the size_t type, it is not available at startup
 * The second argument of the PyFrameObjectPtr constructor is optional, as
   done in other constructors
 * iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
   an empty tuple instead of None if Python is optimized
 * Fix py-bt and py-bt-full to handle correctly "optimized" frames
 * Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
   if the pointer is optimized out in PyEval_EvalFrameEx()
2011-12-19 13:42:24 +01:00
Antoine Pitrou 74472a94aa Fix a missing encoding argument when opening a text file in some of iobench's subtests.
(found by Georg)
2011-10-08 19:40:04 +02:00
Martin v. Löwis 73abc24345 Add 3.2.2 and 3.2.3 UUIDs. 2011-09-05 00:14:09 +02:00
Éric Araujo 1bf5b6a454 Update crlf and lfcr scripts for 3.x bytes semantics (#12032).
Changes to crlf originally by Victor Stinner for 3.3, copied to lfcr by
me.  Manually tested.
2011-08-12 19:40:05 +02:00
Éric Araujo fbc5ff6235 patchcheck: don’t talk about the test suite when no code file were changed.
The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.
2011-08-12 17:50:08 +02:00
Éric Araujo a3e072bb89 Let “make patchcheck” work for out-of-dir builds (#9860) 2011-07-30 21:34:04 +02:00
Éric Araujo 9e1af03fbb Branch merge.
I moved the NEWS entry for the reindent fix to the right release section.
2011-07-26 18:25:14 +02:00
Éric Araujo a0e92a8028 Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
Éric Araujo 1ce7b17165 Fix string exception and a few style issues in mailerdaemon script 2011-07-26 17:36:19 +02:00
Jason R. Coombs 76748b7033 Fixes #10639: reindent.py should not convert newlines
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:18:40 -04:00
Victor Stinner d57c5c8a3a libpython.py (gdb) now catchs IOError in py-list and py-bt commands
py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
2011-07-01 12:57:44 +02:00
Martin v. Löwis 63660ce214 merge:Do not add txt files twice 2011-06-05 19:42:21 +02:00
Martin v. Löwis 4c226dac02 Do not add txt files twice. 2011-06-05 10:55:57 +02:00
Victor Stinner 5b3265906f (Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
2011-05-25 01:15:59 +02:00
Victor Stinner 46f8264b8e Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py 2011-05-25 01:13:59 +02:00
Martin v. Löwis ad234203dd Add 3.2.1rc2 uuid. 2011-05-23 07:02:07 +02:00
Martin v. Loewis b042a3ac0c Add 3.2.1rc2 uuid. 2011-05-22 12:59:35 +02:00
Georg Brandl 9c1928f0a9 Merge release branch after 3.2.1rc1. 2011-05-21 17:35:33 +02:00
Victor Stinner 9cd6626f3d (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written
by Andreas Stührk.
2011-05-16 16:32:33 +02:00
Victor Stinner c77b931196 Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Stührk.
2011-05-16 16:29:35 +02:00
Martin v. Löwis 41972316f5 Add 3.2.1 UUIDs 2011-05-16 07:56:32 +02:00
Victor Stinner e670c889cc Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
a smarter "py-bt" command printing a classic Python traceback.
2011-05-13 17:40:15 +02:00
Jesus Cea b32321aed9 pybench prep_times calculation error (closes #11895) 2011-04-25 03:25:37 +02:00
Jesus Cea 8f14bbdaf6 pybench prep_times calculation error (closes #11895) 2011-04-25 03:24:08 +02:00
Brian Curtin 8e4f4feb62 Merge 3.1 2011-04-13 16:11:37 -05:00
Brian Curtin b4fb909c86 Remove inexistent tools 2011-04-13 16:04:27 -05:00
Antoine Pitrou 9eea9d39c1 In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
2011-03-26 21:15:47 +01:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Ezio Melotti 4969f709cc #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
Antoine Pitrou 375ff587c2 Issue #11179: Make ccbench work under Python 3.1 and 2.7 again. 2011-03-11 20:57:11 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl 5537d298ea Add updated .hgeol file and fix newlines in the 3.1 branch. 2011-03-05 15:10:38 +01:00
Martin v. Löwis 6916806443 Issue #11135: Remove redundant doc field from PyType_Spec.
Reviewed by Georg Brandl.
2011-02-11 20:47:49 +00:00
Martin v. Löwis dafdd7f8ca Add uuid for 3.2rc3. 2011-02-11 20:44:40 +00:00
Antoine Pitrou 0f2a61a11e Merged revisions 88147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88147 | antoine.pitrou | 2011-01-23 18:12:25 +0100 (dim., 23 janv. 2011) | 3 lines

  Issue #10987: Fix the recursion limit handling in the _pickle module.
........
2011-01-23 17:21:28 +00:00
Antoine Pitrou e6d4c5bab8 Issue #10987: Fix the recursion limit handling in the _pickle module. 2011-01-23 17:12:25 +00:00
Martin v. Löwis 678fa9f5a9 Package zip_cp437_header.zip.
Don't try to package subprocessdata/*.py twice.
2011-01-15 19:43:18 +00:00
Antoine Pitrou 126c8b4a82 Avoid ResourceWarnings in ccbench 2011-01-15 11:39:23 +00:00
Michael Foord 751ba4cfac Update description of Tools/unicode 2011-01-03 19:13:02 +00:00
Michael Foord 32e1d8340c Enable unittest.TestCase to be instantiated without providing a method name.
Changed unittestgui to show number of discovered tests in the status bar.
2011-01-03 17:00:11 +00:00
Michael Foord 90efac7f37 Issue 10502: addition of unittestgui to Tools/ 2011-01-03 15:39:49 +00:00
Georg Brandl 81f3d7bcd0 Update README, remove empty directory. 2010-12-30 22:32:49 +00:00
Georg Brandl 856898b395 Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo. 2010-12-30 22:11:50 +00:00
Georg Brandl 7fafbc95c0 More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content. 2010-12-30 21:33:07 +00:00
Georg Brandl 30baf2b0ed Fix NameErrors. 2010-12-30 17:36:17 +00:00
Georg Brandl 5684a9ac30 Clean up tools: remove "world" and "framer", move single SSL script to scripts/. 2010-12-30 17:32:22 +00:00
Georg Brandl 4cf83f4d12 Remove some of the old demos. (Put a few somewhere else.) 2010-12-30 17:22:33 +00:00
Martin v. Löwis 0e74cacdff Upgrade to sqlite3 3.7.4. 2010-12-17 21:04:09 +00:00