Commit graph

1897 commits

Author SHA1 Message Date
Georg Brandl
a847ccbeae Fix missing import. 2010-10-21 13:01:23 +00:00
Georg Brandl
a9afb68789 #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing. 2010-10-21 12:49:28 +00:00
Senthil Kumaran
7cd94b8aa2 Fix Issue10140 - Tools/scripts/pathfix.py: add option to preserve timestamps 2010-10-19 04:39:35 +00:00
Alexander Belopolsky
4a98e3b6d0 Issue #10117: Tools/scripts/reindent.py now accepts source files that
use encoding other than ASCII or UTF-8.  Source encoding is preserved
when reindented code is written to a file.
2010-10-18 14:43:38 +00:00
Victor Stinner
6ffbee77dc libpython: implementation of os.fsencode() with surrogateescape error handler 2010-10-17 19:35:30 +00:00
Alexander Belopolsky
e8f583244a Issue #9308: Removed redundant coding cookies. Added tests for
importing encoded modules that do not depend on specific stdlib
modules being encoded in a certain way.
2010-10-15 16:28:20 +00:00
Georg Brandl
77658bd9ad Mention 2to3. 2010-10-14 06:48:47 +00:00
Martin v. Löwis
baecd7243a Upgrade to Unicode 6.0.0.
makeunicodedata.py: download all data files from unicode.org,
  switch to extracting Unihan data from zip file.
  Read linebreakprops and derivednormalizationprops even for
  old versions, even though they are not used in delta records.
test:unicode.py: U+11000 is now assigned, use U+14000 instead.
2010-10-11 22:42:28 +00:00
Hirokazu Yamamoto
57b4163086 Reverted to r70917. 2010-09-28 17:55:53 +00:00
Hirokazu Yamamoto
a0b551acf8 Changed order to see other test results. (Also temporary commit) 2010-09-28 09:46:48 +00:00
Hirokazu Yamamoto
b0a71a01f9 Run test_ttk_guionly in verbose mode. (This commit is temporary) 2010-09-28 09:11:21 +00:00
Hirokazu Yamamoto
18cc344c0f Revert previous commit. 2010-09-20 10:46:56 +00:00
Hirokazu Yamamoto
bb14d4bc17 Windows7 buildbot debug trial. (Probably impossible) 2010-09-20 09:59:55 +00:00
Amaury Forgeot d'Arc
feb7307db4 #9210: remove --with-wctype-functions configure option.
The internal unicode database is now always used.

(after 5 years: see
  http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
2010-09-12 22:42:57 +00:00
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