Commit Graph

1883 Commits

Author SHA1 Message Date
Antoine Pitrou 7c9cf01238 gdb: fix representation of non-printable surrogate pairs, and workaround
a bug in ascii().
2010-09-08 21:57:37 +00:00
Antoine Pitrou b1856d7fa7 Add a safety limit to the number of unicode characters we fetch
(followup to r84635, suggested by Dave Malcolm).
2010-09-08 21:07:40 +00:00
Antoine Pitrou b41e128fe1 Issue #9188: The gdb extension now handles correctly narrow (UCS2) as well
as wide (UCS4) unicode builds for both the host interpreter (embedded
inside gdb) and the interpreter under test.
2010-09-08 20:57:48 +00:00
Antoine Pitrou 92f87f7c49 Add an option to choose the IO module under test (allows to bench
e.g. the pure Python implementation in _pyio).
2010-09-06 12:36:55 +00:00
Martin v. Löwis e9a4de51ab Drop cabarc artifact. 2010-09-04 22:12:46 +00:00
Martin v. Löwis a5e3109154 Issue #1303434: Include PDBs in release.
Patch by James Lee and Daniel Stutzbach.
2010-09-04 14:38:09 +00:00
Martin v. Löwis a62074883b Stop packaging versioncheck. 2010-08-28 13:40:10 +00:00
Martin v. Löwis 49561ada3e Replace cabarc with FCICreate. 2010-08-28 13:39:09 +00:00
Martin v. Löwis dc078de493 Disable deletion of openssl again. 2010-08-25 22:15:18 +00:00
Victor Stinner d5f2b5421a Fix reindent-rst.py: it works on binary files 2010-08-18 21:59:12 +00:00
Amaury Forgeot d'Arc 324ac65ceb #5127: Even on narrow unicode builds, the C functions that access the Unicode
Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept
and return characters from the full Unicode range (Py_UCS4).

The differences from Python code are few:
- unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit()
  now return the correct value for large code points
- repr() may consider more characters as printable.
2010-08-18 20:44:58 +00:00
Victor Stinner 0e5a41b8f5 libpython.py: py-bt commands escape unencodable characters
Encode unicode strings to the terminal encoding with backslashreplace error (as
Python does for sys.stderr) before writing them to sys.stdout. It fixes
UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C
locale: ASCII encoding).
2010-08-17 22:49:25 +00:00
Florent Xicluna c7eaede21e Fix ``Tools/scripts/checkpyc.py`` after PEP 3147. 2010-08-09 12:26:44 +00:00
Florent Xicluna e4a3380bb0 Clean up syntax for some scripts. 2010-08-09 12:24:20 +00:00
Florent Xicluna 25803f70fb Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). 2010-08-09 08:29:08 +00:00
Martin v. Löwis 2e3d539ce2 Change pyc removal to support __pycache__. 2010-08-06 10:43:31 +00:00
Martin v. Löwis 797721b146 Add various missing files.
Improve detection of unpackaged files.
2010-08-03 18:35:55 +00:00
Antoine Pitrou f767f08e29 Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing
non-ASCII content.
2010-08-03 17:09:36 +00:00
Georg Brandl 64465553db Fix unicode literal. 2010-08-02 22:59:44 +00:00
Georg Brandl 129435c5d2 Make the framer run (still generates wrong code for module creation though.) 2010-08-02 22:58:25 +00:00
Georg Brandl d3f467ac74 Update README, remove obsolete scripts. 2010-08-02 22:53:22 +00:00
Georg Brandl f7db42fe8c Update README for Tools. 2010-08-02 22:31:22 +00:00
Georg Brandl e27c906c52 Remove faqwiz tool. 2010-08-02 22:28:01 +00:00
Georg Brandl 0063958c2e Minimum fixes to make freeze.py do something useful. 2010-08-02 22:25:16 +00:00
Georg Brandl bf76ce168c Make the Pynche tool work with Python 3. 2010-08-02 22:08:58 +00:00
Georg Brandl 1209a8f9bc #4280: remove outdated "versionchecker" tool. 2010-08-02 20:17:50 +00:00
Georg Brandl 8708e38597 Package some new files that are needed for running the test suite from the MSI package. 2010-08-01 09:17:53 +00:00
Martin v. Löwis 5542cb01a0 Drop webchecker and BerkeleyDB license. 2010-07-31 18:59:20 +00:00
Georg Brandl 85420413f8 From Martin: New UUIDs for the 3.2 release series. 2010-07-31 12:06:51 +00:00
Martin v. Löwis 71ba07c9c8 Truly uncomment rm lines. 2010-07-31 10:56:53 +00:00
Martin v. Löwis 73a01d4fb3 Delete openssl checkouts. 2010-07-31 10:50:16 +00:00
Martin v. Löwis f71ed9b828 Update OpenSSL version. 2010-07-31 09:21:51 +00:00
Georg Brandl b639c14c32 #9235: fix missing import of sys. 2010-07-14 08:54:40 +00:00
Georg Brandl b0eb5da018 Remove unused code that would raise a NameError. 2010-07-14 08:53:36 +00:00
Martin v. Löwis 25fcd392aa Issue #8974: fix print calls in msgfmt.py. 2010-07-11 17:39:46 +00:00
Brett Cannon 058173e2b2 Do some basic refactoring. Along the way also list what files had their
whitespace cleaned up and do the proper plurality for "N file(s)" based on N.

Refactoring closes issue8912. Thanks to Éric Araujo for the patch.
2010-07-04 22:05:34 +00:00
Andrew M. Kuchling 5cca695ed6 Add brief explanation; remove no-longer-working link 2010-07-04 20:47:00 +00:00
Mark Dickinson 702636a8a5 Remove nonexistent tools from Tools README. 2010-07-03 21:00:51 +00:00
Benjamin Peterson 0a28bc52b8 remove old, outdated tool 2010-06-25 23:37:15 +00:00
Martin v. Löwis b6b8110c48 Port to Python 3. 2010-06-04 18:40:55 +00:00
Martin v. Löwis cb081b838f Merged revisions 81697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81697 | martin.v.loewis | 2010-06-04 20:04:42 +0200 (Fr, 04 Jun 2010) | 2 lines

  Issue #5464: Implement plural forms in msgfmt.py.
........
2010-06-04 18:14:42 +00:00
R. David Murray 5ab2e74036 Merged revisions 81587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81587 | r.david.murray | 2010-05-28 14:17:20 -0400 (Fri, 28 May 2010) | 2 lines

  Make the ctl-C shutdown of serve.py prettier.
........
2010-05-31 23:23:50 +00:00
Victor Stinner 150016fd24 Issue #8559: improve unicode support of (gdb) libpython.py
* Escape non printable characters (use locale.getpreferredencoding())
 * Fix support of surrogate pairs
 * test_gdb.py: use ascii() instead of repr() in gdb program arguments to avoid
   encoding issues
 * Fix test_strings() of test_gdb.py for encoding different than UTF-8
   (eg. ACSII)
2010-05-19 23:04:56 +00:00
Antoine Pitrou f95a1b3c53 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.
........
2010-05-09 15:52:27 +00:00
R. David Murray 71adcac1a2 Merged revisions 80849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80849 | r.david.murray | 2010-05-05 20:59:04 -0400 (Wed, 05 May 2010) | 4 lines

  Have the serve.py script announce the directory it is
  serving and which port it is serving it on (I can
  never remember the default port number it uses...)
........
2010-05-06 01:09:27 +00:00
Ronald Oussoren 94f25283c9 Remove traces of MacOS9 support.
Fix for issue #7908
2010-05-05 19:11:21 +00:00
Martin v. Löwis 5ae6810819 Issue #8380: Port gdb/libpython to 3.x. 2010-04-21 22:38:42 +00:00
Victor Stinner 67df3a4b7e Adapt libpython.py and test_gdb.py to Python3
* Rename PyStringObjectPtr to PyBytesObjectPtr
 * Replace PyObject_Print by textiowrapper_write
2010-04-21 13:53:05 +00:00
Martin v. Löwis 5226fd66e1 Merged revisions 79986-79987,80156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79986 | martin.v.loewis | 2010-04-12 07:18:16 +0200 (Mo, 12 Apr 2010) | 2 lines

  Issue #8330: Fix expected output in test_gdb.
........
  r79987 | martin.v.loewis | 2010-04-12 07:22:25 +0200 (Mo, 12 Apr 2010) | 2 lines

  Re-enable all tests, to see which ones fail on the buildbots.
........
  r80156 | martin.v.loewis | 2010-04-18 00:40:40 +0200 (So, 18 Apr 2010) | 2 lines

  Issue #8279: Fix test_gdb failures.
........
2010-04-21 06:05:58 +00:00
Victor Stinner 50eb60e6bf Merged revisions 80288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80288 | victor.stinner | 2010-04-21 00:28:31 +0200 (mer., 21 avril 2010) | 2 lines

  Issue #8437: Fix test_gdb failures, patch written by Dave Malcolm
........
2010-04-20 22:32:07 +00:00