R David Murray
5bd62420f4
#18176 : fix another reference and add it to the makeunicodedata comment.
2014-10-09 17:39:48 -04:00
R David Murray
5ac125cde3
Merge: #18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
2014-10-09 17:33:15 -04:00
R David Murray
7445a383a6
#18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
...
Patch by Alexander Belopolsky.
2014-10-09 17:30:33 -04:00
Steve Dower
3a43dbfabf
Drop pydocgui.pyw from the distribution (post-merge merge from 165aa40bfe2e)
2014-10-08 08:36:16 -07:00
Serhiy Storchaka
8276d87f5a
Issue #20079 : makelocalealias.py now supports installed SUPPORTED file,
...
not only source SUPPORTED file in glibc sources tree.
2014-10-02 10:38:12 +03:00
Serhiy Storchaka
5189ee54cf
Issue #20076 : Apply optimization in makelocalealias.py repeatedly.
...
Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
2014-10-02 10:21:43 +03:00
Serhiy Storchaka
c383ad8d9c
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
...
The makelocalealias.py script no longer ignores UTF-8 mapping.
2014-10-02 00:11:21 +03:00
Serhiy Storchaka
ea4f0573b4
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
...
The makelocalealias.py script now can parse the SUPPORTED file
from glibc sources and supports command line options for source paths.
2014-10-01 23:42:30 +03:00
Martin v. Löwis
e796b9e477
Drop pydocgui.pyw from the distribution.
2014-09-21 23:17:15 +02:00
Zachary Ware
22f2d2efb7
Issue #22160 : Update OpenSSL to 1.0.1i for the Windows build.
2014-08-06 23:19:29 -05:00
Larry Hastings
a73cb8a6b8
Issue #22120 : For functions using an unsigned integer return converter,
...
Argument Clinic now generates a cast to that type for the comparison
to -1 in the generated code. (This supresses a compilation warning.)
2014-08-05 19:55:21 +10:00
Larry Hastings
e1b82531b3
Argument Clinic bugfix: Don't let the C preprocessor "Monitor" see lines
...
that we are scanning for the output marker. If we don't find it, we will
scan them again, so it sees them twice, and it can get confused (like
thinking we're still in a comment).
2014-07-27 16:22:20 +02:00
Zachary Ware
3481e21e98
Issue #21918 : Convert test_tools.py to a sub-package of test.
...
Merge with 3.4.
2014-07-16 14:31:51 -05:00
Zachary Ware
2b0a610297
Issue #21918 : Convert test_tools.py to a sub-package of test.
2014-07-16 14:26:09 -05:00
Zachary Ware
51af1deb32
Merge removal of Tools/scripts/pydocgui.pyw
2014-07-16 13:30:27 -05:00
Zachary Ware
52b2bc0369
Remove Tools/scripts/pydocgui.pyw.
...
pydoc.gui was removed over 3 years ago (#10818 ), this script has been
utterly bereft of worth since then.
2014-07-16 13:24:55 -05:00
Serhiy Storchaka
992334127e
Issue #18974 : Tools/scripts/diff.py now uses argparse instead of optparse.
2014-07-15 13:23:58 +03:00
Berker Peksag
6960c1a94b
Issue #21906 : Merge from 3.4.
2014-07-11 20:44:39 +03:00
Berker Peksag
7aee3ecd57
Issue #21906 : Make Tools/scripts/md5sum.py work in Python 3.
...
Patch by Zachary Ware.
2014-07-11 20:42:18 +03:00
Zachary Ware
afb52e1d44
Issue #21907 : Make the buildbot clean script always return 0.
...
The clean script is a "best effort" thing anyway, and this will hopefully
revive the XP buildbot.
2014-07-08 09:41:57 -05:00
Zachary Ware
69d2d013f1
Issue #21907 : Exit with the correct return code
2014-07-07 15:07:46 -05:00
Zachary Ware
e12fa65744
Issue #21907 : Improved the batch scripts provided for building Python.
...
The user-facing scripts in PCbuild have been updated to be easier to use
and the buildbot scripts in Tools\buildbot have been updated to use the
user-facing scripts in PCbuild wherever possible.
2014-07-07 13:39:59 -05:00
Benjamin Peterson
3032ed7cb1
upgrade to unicode 7.0.0
2014-07-06 13:04:20 -07:00
Martin v. Löwis
77143dbaee
Issue #10747 : Merge with 3.4
2014-06-22 22:28:04 +02:00
Martin v. Löwis
cd95e18bf7
Issue #10747 : Use versioned labels in the Windows start menu.
...
Patch by Olive Kilburn.
2014-06-22 22:22:33 +02:00
Zachary Ware
89c057a263
Backed out changeset bc41a4d6c58f after buildbots have new OpenSSL source.
2015-04-09 15:55:56 -05:00
Zachary Ware
5065792c1e
Refresh OpenSSL sources on the buildbots
2015-04-09 15:51:17 -05:00
Zachary Ware
9f3109c459
Issue #23686 : Update Windows build to use OpenSSL 1.0.2a.
2015-04-07 19:59:37 -05:00
Larry Hastings
d9d7567eac
Issue #21629 : Merge from 3.4.
2014-06-11 04:36:09 -07:00
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07:00
Zachary Ware
8c6f189964
Merge with 3.4
2014-06-08 14:43:08 -05:00
Zachary Ware
9789185e36
Issue #21683 : Add Tix build to the Windows buildbot scripts.
2014-06-08 14:28:13 -05:00
Zachary Ware
3266a8fa59
Issue #21671 : Merge with 3.4
2014-06-06 01:27:34 -05:00
Zachary Ware
7d55da42a4
Issue #21671 , CVE-2014-0224: Update the Windows build to openssl-1.0.1h
2014-06-06 01:23:53 -05:00
Zachary Ware
7490554a4c
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
2014-06-05 12:00:51 -05:00
Zachary Ware
60cc211cde
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
2014-06-05 12:00:28 -05:00
Zachary Ware
c6d6784ed4
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
2014-06-05 11:56:58 -05:00
Zachary Ware
6d602c0ee9
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
2014-06-05 11:56:36 -05:00
Zachary Ware
4a01fd2d65
Clean up Tcl/Tk building in the Windows buildbot scripts.
...
- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped
with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665 )
- Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method
- Use core, shell, dlls, install-binaries, and install-libraries targets
instead of all and install to avoid trying to 1) build packages that don't
work with MSVC 10+ and 2) install unnecessary bits and pieces.
2014-06-05 11:44:22 -05:00
Martin v. Löwis
b9e71d4a55
Merge with 3.4
2014-05-01 15:18:43 +02:00
Martin v. Löwis
3d5c9e2c67
Update to 1.0.1g
2014-05-01 14:28:48 +02:00
Antoine Pitrou
a171979a19
Remove a workaround for fixed issue #20355 .
2014-04-29 00:58:02 +02:00
Ned Deily
7fae75a415
Issue #17861 : Allow generate_opcode_h to run with a system Python 2.5.
...
Patch by David Bolen.
2014-04-28 13:46:36 -07:00
Zachary Ware
0f4acc1ab1
Issue #9765 : Adjust where Tools/msi/msi.py looks for Tcl/Tk license terms.
...
Patch by Daniel Stutzbach.
2014-04-23 15:37:37 -05:00
Thomas Wouters
67d8dc1f58
Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctly
...
when building in a separate object tree. More people should build this way.
This may still fail if the source is unwritable, I haven't tested that yet.
2014-04-17 01:13:29 +02:00
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
...
It includes required changes in Makefile.pre.in and configure.ac
among other files.
2014-04-15 23:50:06 +05:30
Benjamin Peterson
63c46b25d0
teach unparse about matrix multiplication
2014-04-10 00:17:48 -04:00
Zachary Ware
800cae3007
Issue #21059 : Temporary measure to make the Windows buildbots useful again.
...
Hopefully.
2014-04-07 23:33:29 -05:00
Martin v. Löwis
3da9fbbe83
Add test case for freeze.
2014-03-30 21:32:03 +02:00
Martin v. Löwis
227bb3813a
Run test program.
2014-03-30 21:27:17 +02:00
Martin v. Löwis
669b095031
Merge 3.4 ( #16047 )
2014-03-30 21:15:26 +02:00
Martin v. Löwis
c00d39e96a
Issue #16047 : Fix module exception list and __file__ handling in freeze.
...
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00
Martin v. Löwis
6e50ccd303
Merge 3.4: Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:29:56 +02:00
Martin v. Löwis
a7fcd926e8
Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:28:52 +02:00
Martin v. Löwis
80c09cfa49
Add test case for freeze.
2014-03-30 20:18:58 +02:00
Zachary Ware
92497a42b7
Issue #21017 : Enable Tix debug build on Windows
2014-03-22 10:37:06 -05:00
Zachary Ware
a191b91a43
Issue #15968 : Incorporated Tcl, Tk, and Tix builds into the Windows build
...
solution.
Currently, Tix is not built in Debug configuration.
This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
they will always be available after a build without having to copy
them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64
2014-03-21 22:58:19 -05:00
Georg Brandl
e46abb42de
hgtouch: remove meta-variable from option spec
...
This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).
2014-03-09 10:22:10 +01:00
Georg Brandl
650781411e
merge with 3.3
2014-03-09 10:22:46 +01:00
Martin v. Löwis
2b4b377966
Issue #14512 : Launch pydoc -b instead of pydocgui.pyw on Windows.
2014-03-02 20:29:18 +01:00
Martin v. Löwis
09257f7ced
Issue #20465 : Update Windows installer to SQLite 3.8.3.1.
2014-03-02 19:42:50 +01:00
Martin v. Löwis
5e6faf7fed
Issue #20748 : Uninstalling pip does not leave behind the pyc of
...
the uninstaller anymore.
2014-03-02 19:29:19 +01:00
Martin v. Löwis
ceb0467193
Issue #20568 : Fix typo in pip option.
2014-03-02 19:15:47 +01:00
Nick Coghlan
f808df39de
Close #20568 : install unversioned pip command on Windows
2014-02-28 23:37:35 +10:00
Serhiy Storchaka
eb44b2d9e8
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 14:00:38 +02:00
Serhiy Storchaka
20f8728bf0
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 13:57:00 +02:00
Martin v. Löwis
1db0eacf3e
Issue #20641 : Run custom actions with the NoImpersonate flag to support UAC.
2014-02-22 23:44:20 +01:00
Victor Stinner
e8ebe152de
Windows buildbot: use --timeout feature in Tools/buildbot/test-amd64.bat
...
Use the same default timeout than test.bat: 1 hour (3600 seconds).
2014-02-20 23:26:12 +01:00
Larry Hastings
2623c8c23c
Issue #20530 : Argument Clinic's signature format has been revised again.
...
The new syntax is highly human readable while still preventing false
positives. The syntax also extends Python syntax to denote "self" and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.
2014-02-08 22:15:29 -08:00
Larry Hastings
7726ac9163
#Issue 20456: Several improvements and bugfixes for Argument Clinic,
...
including correctly generating code for Clinic blocks inside C
preprocessor conditional blocks.
2014-01-31 22:03:12 -08:00
Victor Stinner
20b017ef9e
Windows buildbot: use --timeout feature in Tools/buildbot/test.bat
...
Use the same default timeout than Makefile: 1 hour (3600 seconds).
2014-01-31 16:07:32 +01:00
Larry Hastings
581ee3618c
Issue #20326 : Argument Clinic now uses a simple, unique signature to
...
annotate text signatures in docstrings, resulting in fewer false
positives. "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.
Issue #20326 : Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
2014-01-28 05:00:08 -08:00
Georg Brandl
f1b1418feb
Closes #19966 : allow hgtouch to operate on a base dir that is != the repo root.
2014-01-27 08:22:49 +01:00
Georg Brandl
a814533d64
Closes #19966 : allow hgtouch to operate on a base dir that is != the repo root.
2014-01-27 08:22:49 +01:00
Larry Hastings
f0537e8d1c
Issue #20390 : Final fix, for generating NoPositional/NoKeyword for __init__ calls.
2014-01-25 22:01:12 -08:00
Larry Hastings
f256c22f34
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
2014-01-25 21:30:37 -08:00
Larry Hastings
c20472640c
Issue #20390 : Small fixes and improvements for Argument Clinic.
2014-01-25 20:43:29 -08:00
Zachary Ware
9d7849f454
Issue #20376 : Argument Clinic now escapes backslashes in docstrings.
2014-01-25 03:26:20 -06:00
Zachary Ware
021bb87845
Issue #20381 : Fix sanity checking on default arguments when c_default is
...
also specified.
2014-01-24 22:52:30 -06:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Larry Hastings
462582651c
Two minor Argument Clinic bugfixes: use the name of the class in the
...
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).
2014-01-22 03:05:49 -08:00
Zachary Ware
071baa63c4
Argument Clinic: make 'destination' directive work.
2014-01-21 23:07:12 -06:00
Larry Hastings
665757847e
Improve fix for issue #20300 .
2014-01-19 03:01:23 -08:00
Larry Hastings
c4fe092bc3
Issue #20300 : Fix exception when setting conversion class member "default"
...
to None.
2014-01-19 02:27:34 -08:00
Larry Hastings
b7ccb20423
Issue #20294 : Argument Clinic now supports argument parsing for __new__ and
...
__init__ functions.
2014-01-18 23:50:21 -08:00
Larry Hastings
b470575e24
Issue #20299 : Argument Clinic custom converters may now change the default
...
value of c_default and py_default with a class member.
2014-01-18 21:54:15 -08:00
Serhiy Storchaka
49776ef9e7
Use correct C type in byte_converter.
2014-01-19 00:38:36 +02:00
Larry Hastings
4903e00141
Issue #20292 : Small bug fix for Argument Clinic supporting format units
...
for strings with explicit encodings.
2014-01-18 00:26:16 -08:00
Larry Hastings
bebf73511a
Issue #20287 : Argument Clinic's output is now configurable, allowing
...
delaying its output or even redirecting it to a separate file.
2014-01-17 17:47:17 -08:00
Larry Hastings
1abd708681
Issue #20226 : Added tests for new features and regressions.
2014-01-16 14:15:03 -08:00
Larry Hastings
2a727916c5
Issue #20226 : Major improvements to Argument Clinic.
...
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
2014-01-16 11:32:01 -08:00
Serhiy Storchaka
18cc3da508
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:50:53 +02:00
Serhiy Storchaka
7f470d0f9c
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:48:45 +02:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
2014-01-16 17:15:49 +02:00
Georg Brandl
aabebde358
Closes #20235 : Report file and line on unexpected exceptions in Argument Clinic.
2014-01-16 06:53:54 +01:00
Larry Hastings
4a714d48ad
Issue #20268 : Argument Clinic now supports cloning the parameters
...
and return converter from existing functions.
2014-01-14 22:22:41 -08:00
Antoine Pitrou
d7fb7919e3
Replace assert with a proper error
2014-01-14 21:02:43 +01:00
Antoine Pitrou
cc1d31e09e
improve an error message in clinic
2014-01-14 20:52:01 +01:00
Larry Hastings
8666e65206
Issue #20228 : Argument Clinic now has special support for class special
...
methods.
2014-01-12 14:12:59 -08:00
Larry Hastings
4a55fc5a9d
Issue #20214 : Fixed a number of small issues and documentation errors in
...
Argument Clinic (see issue for details).
2014-01-12 11:09:57 -08:00
Larry Hastings
583baa8fef
Issue #20196 : Fixed a bug where Argument Clinic did not generate correct
...
parsing code for functions with positional-only parameters where all arguments
are optional.
2014-01-12 08:49:30 -08:00
Serhiy Storchaka
f4c9664a24
Fixed the serve.py script.
...
The application object must return an iterable yielding bytestrings.
2014-01-11 11:53:13 +02:00
Serhiy Storchaka
02d5db2777
Fixed the serve.py script.
...
The application object must return an iterable yielding bytestrings.
2014-01-11 11:52:20 +02:00
Serhiy Storchaka
7282ff6d5b
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:41:59 +02:00
Serhiy Storchaka
768c16ce02
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-01-09 18:36:09 +02:00
Larry Hastings
61272b77b0
Issue #19273 : The marker comments Argument Clinic uses have been changed
...
to improve readability.
2014-01-07 12:41:53 -08:00
Larry Hastings
9026113fd4
Issue #20157 : When Argument Clinic renames a parameter because its name
...
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
2014-01-07 12:21:08 -08:00
Larry Hastings
77561cccb2
Issue #20141 : Improved Argument Clinic's support for the PyArg_Parse "O!"
...
format unit.
2014-01-07 12:13:13 -08:00
Larry Hastings
16c5191ab3
Issue #20144 : Argument Clinic now supports simple constants as parameter
...
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
2014-01-07 11:53:01 -08:00
Larry Hastings
eb31e9d6ed
Issue #20143 : The line numbers reported in Argument Clinic errors are
...
now more accurate.
2014-01-06 11:10:08 -08:00
Larry Hastings
3f144c2ad7
Issue #20142 : Py_buffer variables generated by Argument Clinic are now
...
initialized with a default value.
2014-01-06 10:34:00 -08:00
Larry Hastings
6d2ea21337
Argument Clinic: fixed test suite, improved howto.
2014-01-05 02:50:45 -08:00
Larry Hastings
78cf85c669
Issue #19659 : Added documentation for Argument Clinic.
2014-01-04 12:44:57 -08:00
Larry Hastings
3cceb38486
Issue #19976 : Argument Clinic METH_NOARGS functions now always
...
take two parameters.
2014-01-04 11:09:09 -08:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Martin v. Löwis
c70d4f4d79
Issue #19728 : Enable pip installation by default on Windows.
2014-01-02 14:12:30 +01:00
Serhiy Storchaka
8c4f57d1d5
Issue #20046 : Locale alias table no longer contains entities which can be
...
calculated. Generalized support of the euro modifier.
2013-12-27 00:56:53 +02:00
Serhiy Storchaka
e190fac5f9
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:21:52 +02:00
Serhiy Storchaka
5eb01530b2
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:20:59 +02:00
Serhiy Storchaka
a3409489b7
Issue #20033 : makelocalealias.py now works with non-ASCII locales and produces
...
the same result as in 2.x.
2013-12-23 18:56:31 +02:00
Serhiy Storchaka
55c6cc408c
Issue #20033 : makelocalealias.py now works with non-ASCII locales and produces
...
the same result as in 2.x.
2013-12-23 18:56:08 +02:00
Benjamin Peterson
eaedaeccf2
update Barry's email ( #19563 )
2013-12-22 19:45:38 -06:00
Benjamin Peterson
8fb007f329
merge 3.3 ( #19563 )
2013-12-22 19:45:53 -06:00
Christian Heimes
cb3558dcc1
Issue #18215 : Add script Tools/ssl/test_multiple_versions.py to compile and
...
run Python's unit tests with multiple versions of OpenSSL.
2013-12-16 14:35:39 +01:00
Zachary Ware
14fff88773
Issue #19788 : kill_python(_d).exe is now run as a PreBuildEvent on the
...
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:34:45 -06:00
Zachary Ware
bb65b5bf1d
Issue #19788 : kill_python(_d).exe is now run as a PreBuildEvent on the
...
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
2013-11-26 16:32:59 -06:00
Larry Hastings
dc6aaec9e3
Clinic: fix "self converters" with METH_NOARGS functions.
2013-11-24 04:41:57 -08:00
Larry Hastings
2f9a9aaf21
Clinic: Add warning for untested (and unused in CPython!) format units.
2013-11-24 04:23:35 -08:00
Larry Hastings
44e2eaab54
Issue #19674 : inspect.signature() now produces a correct signature
...
for some builtins.
2013-11-23 15:37:55 -08:00
Larry Hastings
dcd340eeeb
Issue #19358 : "make clinic" now runs the Argument Clinic preprocessor
...
over all CPython source files.
2013-11-23 14:58:45 -08:00
Larry Hastings
ebdcb50b8a
Issue #19730 : Argument Clinic now supports all the existing PyArg
...
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.
2013-11-23 14:54:00 -08:00
Martin v. Löwis
8d0d369067
Update Tcl/Tk to 8.6.1.
2013-11-23 23:05:27 +01:00
Martin v. Löwis
3ed82c55a8
Package _overlapped.
2013-11-23 22:02:00 +01:00
Serhiy Storchaka
6787a3806e
Issue #15204 : Deprecated the 'U' mode in file-like objects.
2013-11-23 22:12:06 +02:00
Antoine Pitrou
59b7ff2d43
Undo (hopefully) buildbot failures
2013-11-23 18:22:02 +01:00
Antoine Pitrou
23828f6d8e
Undo (hopefully) buildbot failures
2013-11-23 18:20:42 +01:00
Antoine Pitrou
b17d2aa552
Issue #19308 : fix the gdb plugin on gdbs linked with Python 3
2013-11-23 17:40:36 +01:00
Antoine Pitrou
e50240c504
Issue #19308 : fix the gdb plugin on gdbs linked with Python 3
2013-11-23 17:40:36 +01:00
Martin v. Löwis
baacf4d293
Update xz to 5.0.5.
2013-11-22 19:13:51 +01:00
Martin v. Löwis
bc2f0ba6b8
Update SQLite to 3.8.1 on Windows.
2013-11-22 18:36:28 +01:00
Larry Hastings
abc716b058
Issue #19474 : Argument Clinic now always specifies a default value for
...
variables in option groups, to prevent "uninitialized value" warnings.
2013-11-20 09:13:52 -08:00
Martin v. Löwis
dd7436c613
Issue #19550 : Implement Windows installer changes of PEP 453 (ensurepip).
2013-11-19 17:02:36 +01:00
Larry Hastings
ed4a1c5703
Argument Clinic: rename "self" to "module" for module-level functions.
2013-11-18 09:32:13 -08:00
Nick Coghlan
d0cf0635b3
Close #19406 : Initial implementation of ensurepip
...
Patch by Donald Stufft and Nick Coghlan
2013-11-11 22:11:55 +10:00
Andrew Kuchling
9d5c071060
#1097797 : add the original mapping file
2013-11-10 21:46:02 -05:00
Andrew Kuchling
695f07b27b
Fix some PEP8-formatting problems in the generated code
2013-11-10 21:45:24 -05:00
Larry Hastings
dfcd46769b
Issue #19390 : Argument Clinic no longer accepts malformed Python and C ids.
2013-10-27 02:49:39 -07:00
Larry Hastings
ef3b1fbb2b
Two small, quick bugfixes for Argument Clinic.
2013-10-22 23:26:23 -07:00
Larry Hastings
3182680210
Issue #16612 : Add "Argument Clinic", a compile-time preprocessor
...
for C files to generate argument parsing code. (See PEP 436.)
2013-10-19 00:09:25 -07:00
Benjamin Peterson
94d08d908b
upgrade unicode db to 6.3.0 ( closes #19221 )
2013-10-10 17:24:45 -04:00
Martin v. Löwis
a27af80614
Merge 3.3
2013-09-30 16:10:05 +02:00
Martin v. Löwis
bf52648ce1
Issue #19106 : Touch generated files to be 1s newer than their youngest source.
2013-09-30 16:09:44 +02:00
Benjamin Peterson
c3034b14ff
merge 3.3
2013-09-27 09:11:31 -04:00
Benjamin Peterson
1f09c663ad
let this work with system Python 2.5
2013-09-27 09:11:21 -04:00
Serhiy Storchaka
935349406a
Issue #18873 : The tokenize module, IDLE, 2to3, and the findnocoding.py script
...
now detect Python source code encoding only in comment lines.
2013-09-16 23:57:00 +03:00
Serhiy Storchaka
dafea85190
Issue #18873 : The tokenize module, IDLE, 2to3, and the findnocoding.py script
...
now detect Python source code encoding only in comment lines.
2013-09-16 23:51:56 +03:00
Serhiy Storchaka
c56894d305
Issue #18922 : Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
...
their version strings to stdout, and not to sderr.
2013-09-05 17:44:53 +03:00
Serhiy Storchaka
48e6a8c88a
Issue #18743 : Fix references to non-existant "StringIO" module
...
in docstrings and comments.
2013-08-29 11:39:48 +03:00
Serhiy Storchaka
50254c57cd
Issue #18743 : Fix references to non-existant "StringIO" module
...
in docstrings and comments.
2013-08-29 11:35:43 +03:00
Ezio Melotti
d640fe2af5
#18803 : merge with 3.3.
2013-08-26 01:33:30 +03:00
Ezio Melotti
7c4a7e6f3c
#18803 : fix more typos. Patch by Févry Thibault.
2013-08-26 01:32:56 +03:00
Antoine Pitrou
9d95254bb7
Issue #18772 : fix the gdb plugin after the set implementation changes
2013-08-24 21:07:07 +02:00
Andrew Kuchling
f3a2e9f937
#18445 : update Tools/scripts/README.
...
- document abitype.py, analyze_dxp.py, get-remote-certificate.py,
import_diagnostics.py, parse_html5_entities.py.
- remove redemo.py which was moved to Tools/Demo.
- sort list into alphabetical order
Patch by Seydou Dia.
2013-08-18 20:04:34 -04:00
Andrew Kuchling
d36b515954
#18445 : change permissions on some scripts to executable
2013-08-18 19:48:12 -04:00
Antoine Pitrou
9ed5f27266
Issue #18722 : Remove uses of the "register" keyword in C code.
2013-08-13 20:18:52 +02:00
Martin v. Löwis
d87c3d3ea4
Issue #16067 : Merge with 3.3
2013-08-03 20:12:45 +02:00
Martin v. Löwis
78fa5e38a9
Issue #16067 : Add description into MSI file to replace installer's temporary name.
2013-08-03 20:09:42 +02:00
Martin v. Löwis
5284f80268
Issue #18569 : The installer now adds .py to the PATHEXT variable
...
when extensions are registered. Patch by Paul Moore.
2013-08-01 18:31:06 +02:00
Martin v. Löwis
85a4847f07
Add UUID for 3.4.
2013-08-01 17:34:42 +02:00
Terry Jan Reedy
db53ad7cf1
Merge with 3.3
2013-07-21 20:58:15 -04:00
Terry Jan Reedy
6e2711b345
Issue #18439 : Make patchcheck work on Windows for ACKS, NEWS.
2013-07-21 20:57:44 -04:00
Serhiy Storchaka
8361617fad
Issue #18448 : Fix a typo in Tools/demo/eiffel.py.
2013-07-16 22:14:03 +03:00
Serhiy Storchaka
6a98fe9edd
Issue #18448 : Fix a typo in Tools/demo/eiffel.py.
2013-07-16 22:12:03 +03:00
Serhiy Storchaka
c9b3f6f5ef
Issue #18457 : Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
...
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:58:37 +03:00
Serhiy Storchaka
ec7ddd9028
Issue #18457 : Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
...
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:55:36 +03:00
Serhiy Storchaka
6180a2f453
Issue #18449 : Make Tools/demo/ss1.py work again on Python 3. Patch by
...
Févry Thibault.
2013-07-15 12:37:43 +03:00
Serhiy Storchaka
2670b9acb6
Issue #18449 : Make Tools/demo/ss1.py work again on Python 3. Patch by
...
Févry Thibault.
2013-07-15 12:34:17 +03:00
Brett Cannon
53e600c24a
Issue #17177 : update checkpyc to stop using imp
2013-06-15 18:10:18 -04:00
Serhiy Storchaka
302b8c31ec
Issue #15239 : Make mkstringprep.py work again on Python 3.
2013-06-09 17:11:48 +03:00
Serhiy Storchaka
e7275ffa4c
Issue #15239 : Make mkstringprep.py work again on Python 3.
2013-06-09 17:08:00 +03:00
Serhiy Storchaka
369d05a616
Fix some bugs in Tools/scripts/abitype.py.
2013-05-17 10:17:43 +03:00
Serhiy Storchaka
e67f8e7419
Fix some bugs in Tools/scripts/abitype.py.
2013-05-17 10:18:40 +03:00
Georg Brandl
3bfc5f5d83
merge with 3.3
2013-05-12 19:57:26 +02:00
Georg Brandl
84fc4ba67e
Closes #17962 : Build with OpenSSL 1.0.1e on Windows.
2013-05-12 19:50:34 +02:00
David Malcolm
1df37c657d
#17833 : merge with 3.3
2013-05-06 14:51:13 -04:00
David Malcolm
d08b210164
#17833 : fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
2013-05-06 14:47:15 -04:00
Ned Deily
dbccf6ad4c
Issue #17801 : fix shebang line of gprof2html.py
2013-04-20 14:08:16 -07:00
Ned Deily
67804e9838
Issue #17801 : fix shebang line of gprof2html.py
2013-04-20 14:07:43 -07:00
Victor Stinner
d8a5cc91e6
python-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
...
display invalid strings. Such strings can be found while Python is creating a
new string, in a text decoder for example, when Python is compiled in debug
mode.
2013-04-11 21:37:45 +02:00
Victor Stinner
765531d2d0
Issue #17516 : use comment syntax for comments, instead of multiline string
2013-03-26 01:11:54 +01:00
Martin v. Löwis
5fe5b4ead3
#17425 : merge 3.3
2013-03-24 22:53:04 +01:00
Martin v. Löwis
cc0b927b74
Issue #17425 : Build with openssl 1.0.1d on Windows.
2013-03-24 22:45:50 +01:00
Benjamin Peterson
cda75be02a
unify some ast.argument's attrs; change Attribute column offset ( closes #16795 )
...
Patch from Sven Brauch.
2013-03-18 10:48:58 -07:00
Terry Jan Reedy
dd61f8f389
Merge with 3.3: Issue #17047 : removed doubled words in Doc/*,
...
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -04:00
Terry Jan Reedy
caeb6bea9b
Merge with 3.2: Issue #17047 : removed doubled words in Doc/*,
...
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy
65e69b3718
Issue #17047 : removed doubled words in Doc/*, Mac/*, and Tool/*
...
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Serhiy Storchaka
151699a202
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:29 +02:00
Serhiy Storchaka
859cd4723f
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:38:12 +02:00
Serhiy Storchaka
b6ed17344b
Issue #17156 : pygettext.py now uses an encoding of source file and correctly
...
writes and escapes non-ascii characters.
2013-02-09 22:37:22 +02:00
Ezio Melotti
3a62e45b97
Merge typo fixes from 3.3.
2013-01-27 06:20:51 +02:00
Ezio Melotti
3f5db3940f
Fix a few typos and a double semicolon. Patch by Eitan Adler.
2013-01-27 06:20:14 +02:00
Martin v. Löwis
3f50bf652b
Drop support for Windows 2000; allow any XP API (but not Vista+).
...
Drop SDK version configuration for Tk compilation, to not bind it to W2k
anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
2013-01-25 14:06:18 +01:00
doko@python.org
6951fea3ab
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:20:46 +01:00
doko@python.org
0c77bf757f
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:19:35 +01:00
doko@python.org
3e6e2ac31d
- Issue #17029 : Let h2py search the multiarch system include directory.
2013-01-25 13:12:29 +01:00
Serhiy Storchaka
1829bb4591
Issue #15539 : Fix a backup file creation in pindent.py on Windows.
2013-01-11 22:21:45 +02:00
Serhiy Storchaka
b4fb2e2aac
Issue #15539 : Fix a backup file creation in pindent.py on Windows.
2013-01-11 22:19:07 +02:00
Serhiy Storchaka
a3a01b6ac3
Issue #15539 : Fix a backup file creation in pindent.py on Windows.
2013-01-11 22:18:17 +02:00
Ezio Melotti
e814501c21
Merge patchcheck changes with 3.3
2013-01-11 14:12:42 +02:00
Ezio Melotti
8762595ef3
Merge patchcheck changes with 3.2
2013-01-11 14:12:20 +02:00
Ezio Melotti
5e12bb728f
Add a note about checking refleaks to patchcheck.
2013-01-11 14:07:47 +02:00
Serhiy Storchaka
9942e5a9cf
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 12:12:32 +02:00
Serhiy Storchaka
40ce22edb5
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 12:10:57 +02:00
Serhiy Storchaka
6840a54ad4
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 12:04:23 +02:00
Andrew Svetlov
8b33dd8e54
Use OESeeror instead of os.error ( #16720 )
...
Patch by Serhiy Storchaka.
2012-12-24 19:58:48 +02:00
Brian Curtin
445ad997ab
Fix #14470 . Remove w9xpopen per PEP 11.
...
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
2012-12-23 16:53:21 -06:00
Andrew Svetlov
2606a6f197
Issue #16719 : Get rid of WindowsError. Use OSError instead
...
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov
a191959849
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov
5b89840d9c
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Andrew Svetlov
6b2cbeba58
Issue #16421 : allow to load multiple modules from the same shared object.
...
Patch by Václav Šmilauer.
2012-12-14 17:04:59 +02:00
Benjamin Peterson
442f20996d
create NameConstant AST class for None, True, and False literals ( closes #16619 )
2012-12-06 17:41:04 -05:00
Ezio Melotti
90378b4807
#13301 : merge with 3.3.
2012-11-09 11:51:30 +01:00
Ezio Melotti
956c6c2dab
#13301 : merge with 3.2.
2012-11-09 11:51:03 +01:00
Ezio Melotti
9bf379e9fb
#13301 : use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
2012-11-09 11:46:19 +01:00
Nick Coghlan
8155f8e5d4
Issue #5765 : Merge from 3.3
2012-11-05 00:19:49 +10:00
Nick Coghlan
10d6ddeef1
Issue #5765 : Also check the compiler when finding the recursion limit
2012-11-05 00:19:18 +10:00
Vinay Sajip
d94a502cb0
Issue #16340 : Merged fix from 3.3.
2012-10-28 09:11:48 +00:00
Vinay Sajip
65e2bef4f0
Issue #16340 : exclude venv/scripts from byte-compilation at installation time on Windows.
2012-10-28 09:11:00 +00:00
Ezio Melotti
ccc9e617f5
#16245 : add a script to generate the html.entities.html5 dict.
2012-10-23 15:46:33 +02:00
Christian Heimes
efb15993f8
Add _sha3.pyd to list of extension modules for MSI
2012-10-22 17:01:13 +02:00
Antoine Pitrou
e9631e5d3a
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:14:40 +02:00
Antoine Pitrou
31605ace0d
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:13:55 +02:00
Antoine Pitrou
1eff0fc3cd
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:12:30 +02:00
Benjamin Peterson
29e02a2be8
merge 3.3
2012-10-09 11:16:13 -04:00
Benjamin Peterson
b29614e047
compare singletons by identity not equality ( closes #16712 )
...
Patch from Serhiy Storchaka.
2012-10-09 11:16:03 -04:00
Jesus Cea
f1af705720
#16135 : Removal of OS/2 support (Remove OS2 and OS/2 references)
2012-10-05 02:48:46 +02:00
Jesus Cea
b176203dda
#16135 : Removal of OS/2 support (C code and Docs)
2012-10-05 02:27:40 +02:00
Philip Jenvey
fd0d3e5d25
more yield from
...
patch by Serhiy Storchaka
2012-10-01 15:34:31 -07:00
Benjamin Peterson
b8350f1c7d
upgrade to UCD 6.2
2012-09-29 13:47:39 -04:00
Martin v. Löwis
77cc86f873
Ajdust path to launcher for non-PGO-builds
2012-09-29 13:08:41 +02:00
Martin v. Löwis
5951ec0fdd
Pick up 32-bit launcher from PGO directory on 64-bit PGO build.
2012-08-24 16:06:10 +02:00
Ned Deily
6b9bfe801d
Allow redemo.py to be used from the command line like other demos.
2012-08-18 12:24:56 -07:00
Ned Deily
3c6661a914
Allow redemo.py to be used from the command line like other demos.
2012-08-18 12:21:17 -07:00
Victor Stinner
a90f311d05
Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close)
2012-08-02 00:05:41 +02:00
Victor Stinner
98516a6930
Fix findnocoding.p and pysource.py scripts
...
I suppose that these scripts didn't work since Python 3.0.
2012-08-01 20:12:51 +02:00
Raymond Hettinger
d3f63d3661
Simplify the LaTeX section (only three escapes are needed for alltt)
2012-07-23 00:24:24 -05:00
Brett Cannon
d382bfc921
Move importlib.test.benchmark to Tools/importbench to make it more
...
visible and to place it with other micro-benchmarks (e.g.
stringbench).
2012-07-20 14:54:53 -04:00
Raymond Hettinger
c4ac789be7
Fix-up latex styling
2012-07-14 17:58:29 -07:00
Raymond Hettinger
fb20a1a924
Fix builtin test and simplify the classified text tuple.
2012-07-13 11:52:45 -07:00
Raymond Hettinger
7d39055f7f
Add simple LaTeX markup
2012-07-09 23:52:08 -07:00
Martin v. Löwis
2b9df89ff1
Don't package removed pysetup3 anymore.
2012-07-10 07:04:33 +02:00
Raymond Hettinger
848245a078
Add verbose option for diagnostics
2012-07-09 01:17:22 -07:00
Raymond Hettinger
42a5f4a3f2
Minor algorithmic tweaks, better factoring, improved docstrings and variable names
2012-07-08 15:42:54 -07:00
Florent Xicluna
c20740109d
Some cleanup in the Tools directory.
2012-07-07 17:03:54 +02:00
Mark Dickinson
3bee1f1154
Fix undefined names in __all__.
2012-07-04 11:07:06 +02:00
Raymond Hettinger
5b381a3650
Make ANSI the default output style
2012-07-03 17:55:23 -07:00
Raymond Hettinger
0712f40308
Add examples to the module docstring
2012-07-03 14:42:33 -07:00
Raymond Hettinger
1087d9c4b3
Fix spelling.
2012-07-03 14:25:16 -07:00
Raymond Hettinger
3a96161a73
Add support for ANSI escape sequences
2012-07-03 14:11:40 -07:00
Raymond Hettinger
5da6039765
Refactor to isolate HTML encoding step from the parsing step.
2012-07-03 13:13:52 -07:00
Raymond Hettinger
ac5f8467b1
Fix keyword argument
2012-07-03 00:15:59 -07:00
Raymond Hettinger
cf6eac4063
Minor cleanups
2012-07-03 00:12:27 -07:00
Raymond Hettinger
ecea0fb173
Use new-style string formatting for the HTML template
2012-07-02 17:17:16 -07:00
Raymond Hettinger
f57baaba49
Clean-up unused variable
2012-07-02 13:54:33 -07:00
Raymond Hettinger
f2cc352afd
Do HTML escaping after the tokenization step.
2012-07-02 13:29:57 -07:00
Georg Brandl
487f191b79
Fix filename.
2012-07-01 10:04:35 +02:00
Raymond Hettinger
e4870b5117
Limit which operators get colorized
2012-07-01 00:37:05 -07:00
Raymond Hettinger
9b8ede60c1
Set title to the source filename
2012-06-30 23:19:30 -07:00
Raymond Hettinger
fd490cc052
Small cleanups
2012-06-30 22:19:04 -07:00
Raymond Hettinger
410afbc5d8
Fix local variable
2012-06-30 17:10:25 -07:00
Raymond Hettinger
461fcaa6d4
Add author tag
2012-06-30 17:00:14 -07:00
Raymond Hettinger
bc09cf1f35
Add syntax highlighter tool
2012-06-30 16:58:06 -07:00
Stefan Krah
4cf1cc71a6
Issue #15171 : Quote the variable that expands to the current directory.
2012-06-30 18:35:15 +02:00
David Malcolm
8d37ffa563
Issue #12605 : Show information on more C frames within gdb backtraces
...
The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
* C frames that are waiting on the GIL
* C frames that are garbage-collecting
* C frames that are due to the invocation of a PyCFunction
2012-06-27 14:15:34 -04:00
Antoine Pitrou
932f5be6c5
Merge buildbot script changes
2012-06-27 17:28:21 +02:00
Antoine Pitrou
d0bb9c6386
Allow passing extra testing options to the buildbot test scripts
2012-06-27 17:27:21 +02:00
Stefan Krah
62ba0428af
Issue #15171 : Try the HOST_PYTHON hack for 3.2.
2012-06-25 14:57:18 +02:00
Stefan Krah
3c0db67bf3
Drop useenv=true also from the 32-bit build script: It is not necessary and
...
leads to failures in successive 64-bit/32-bit builds in the same shell window.
2012-06-24 22:00:44 +02:00
Stefan Krah
318c56c001
Issue #15102 : Fix paths of python executables.
2012-06-24 19:04:35 +02:00
Antoine Pitrou
92c9757973
Use -W on the Windows 64 buildbots
2012-06-24 17:22:50 +02:00
Stefan Krah
d725de9d13
Issue #15102 : Try setting HOST_PYTHON in build-amd64.bat as a temporary
...
measure.
2012-06-24 13:03:59 +02:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Stefan Krah
16ad7a254a
Issue #15102 : Fix paths in external-amd64.bat.
2012-06-23 22:18:19 +02:00
Stefan Krah
37459a0c3a
Issue #15102 : Allow platform-specific settings for the current project
...
to override environment variables.
2012-06-23 18:57:45 +02:00
Mark Dickinson
be4fb69201
Issue #14742 : test_unparse now only checks a limited number of files unless the 'cpu' resource is specified.
2012-06-23 09:27:47 +01:00
Brian Curtin
fafd9eeef0
Revert unintended change in 973b4806f760
2012-06-22 21:40:52 -05:00
Brian Curtin
e3f3940fc3
file was the old arg name from an earlier patch. command matches the implementation
2012-06-22 21:14:34 -05:00
Antoine Pitrou
ffd4d47d0b
Add a docstring at the top of Tools/ssl/make_ssl_data.py
2012-06-22 22:07:01 +02:00
Antoine Pitrou
f7338f65fb
Add forgotten files for #14837 .
2012-06-22 21:12:59 +02:00
Alexander Belopolsky
a2637729f2
Issue #7582 : Use ISO timestamp in diff.py
2012-06-22 12:46:19 -04:00
Martin v. Löwis
8559b3cecf
Build and bundle the 32-bit launcher in all configurations.
2012-06-21 18:24:32 +02:00
Martin v. Löwis
7dae234e78
Package the launcher.
2012-06-21 17:36:05 +02:00
Antoine Pitrou
aaefac76dd
Issue #14874 : Restore charmap decoding speed to pre-PEP 393 levels.
...
Patch by Serhiy Storchaka.
2012-06-16 22:48:21 +02:00
Martin v. Löwis
4b10e1978c
VS 2010 has the AMD64 redist files in VC\redist\x64.
2012-05-31 21:58:21 +02:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00
Antoine Pitrou
ebdcd859e5
Move private function _args_from_interpreter_flags() to subprocess.py, so
...
that it can be imported when threads are disabled.
(followup to issue #12098 )
2012-05-18 18:33:07 +02:00
Martin v. Löwis
cca802e354
Fix typo.
2012-05-18 16:42:52 +02:00
Martin v. Löwis
e01eb4cc80
Upgrade OpenSSL to 1.0.1c
2012-05-18 16:29:33 +02:00
Martin v. Löwis
3f90311bfe
merge 3.2
2012-05-18 15:34:22 +02:00
Martin v. Löwis
3407dfbaf9
Upgrade OpenSSL to 1.0.0j
2012-05-18 15:28:01 +02:00
Brian Curtin
a79e7fed48
Merge 3.2
2012-05-14 19:43:16 -05:00
Brian Curtin
1f24548e1f
bsddb never existed in 3.x, no need to keep downloading sleepycat
2012-05-14 19:42:36 -05:00
Martin v. Löwis
d7be304786
merge 3.2
2012-05-14 18:19:16 +02:00
Martin v. Löwis
2d82d049f6
Stop deleting non-existing bytecode files.
2012-05-14 18:18:07 +02:00
Martin v. Löwis
29e861d155
Upgrade sqlite to 3.7.12.
2012-05-14 16:51:35 +02:00
Martin v. Löwis
87960da3e3
Upgrade bzip2 to 1.0.6.
2012-05-14 14:13:48 +02:00
Martin v. Löwis
ecc5877f5a
Upgrade bzip2 to 1.0.6.
2012-05-14 13:52:03 +02:00
Brian Curtin
6d7c9f3297
Update the clean and MSI scripts for VS2010
2012-05-13 22:45:57 -05:00
Brian Curtin
f6b1b9b2f3
Correct PlatformTarget->Platform usage for building the solution
2012-05-13 18:59:26 -05:00
Brian Curtin
638f6c1450
Convert build slave scripts to work with VS2010
2012-05-13 18:51:43 -05:00
Brian Curtin
401f9f3d32
Fix #13210 . Port the Windows build from VS2008 to VS2010.
2012-05-13 11:19:23 -05:00
Mark Dickinson
fe8440aec0
Issue #14965 : Bring Tools/parser/unparse.py up to date with the Python 3.3. Grammar.
2012-05-06 17:35:19 +01:00
Mark Dickinson
1b2e9444fe
Issue #14965 : Fix missing support for starred assignments in Tools/parser/unparse.py.
2012-05-06 17:27:39 +01:00
Martin v. Löwis
bd31db6f79
Include micro version even if it is 0.
2012-05-01 16:37:44 +02:00
Nick Coghlan
ec5cf095a9
Better control when dumping import state
2012-04-29 17:58:24 +10:00
Victor Stinner
fe98e2fc83
Issue #14428 : Use the new time.perf_counter() and time.process_time() functions
...
* Replace "time.clock on windows, or time.time" with time.perf_counter()
* profile module: only use time.process_time() instead of trying different
functions providing the process time
* timeit module: use time.perf_counter() by default, time.time() and
time.clock() can still be used using --time and --clock options
* pybench program: use time.perf_counter() by default, add support for
the new time.process_time() and time.perf_counter() functions, but stay
backward compatible. Use also time.get_clock_info() to display information
of the timer.
2012-04-29 03:01:20 +02:00
Benjamin Peterson
0e1a5b49cf
use wfile api
2012-04-27 11:56:30 -04:00
Martin v. Loewis
cfc1cc2996
Issue #14642 : Add "hg touch" extension, and "make touch" target.
2012-04-27 16:10:21 +02:00
Brian Curtin
790a9b4c19
Add a missing close paren
2012-04-25 23:38:05 -05:00
Brian Curtin
ae7758457f
Fix #3561 . Add an option to place the Python installation into the Windows Path environment variable.
2012-04-25 08:12:37 -05:00
Nick Coghlan
d0bb6aa275
Start a shared utility script for poking around at the import internals
2012-04-25 22:17:54 +10:00
Benjamin Peterson
7d95e40721
Implement PEP 412: Key-sharing dictionaries ( closes #13903 )
...
Patch from Mark Shannon.
2012-04-23 11:24:50 -04:00
R David Murray
ea169801e1
#14508 : make gprof2html script runnable under python3
...
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.
Initial patch by Popa.Claudiu.
Here we also add a test (which uses mock, which is why I didn't
check it in on 3.2).
2012-04-11 15:17:37 -04:00
R David Murray
776c0df42b
#14508 : make gprof2html script runnable under python3
...
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.
Initial patch by Popa.Claudiu.
2012-04-11 15:16:38 -04:00
Georg Brandl
a51497ab86
Merge 3.2.3 release clone.
2012-04-11 12:46:24 +02:00
Antoine Pitrou
b547d395ab
Update description of benchmarks and mention the benchmarks repo
2012-04-09 17:06:44 +02:00
Antoine Pitrou
d6aa5b30dd
Fix whitespace
2012-04-09 17:04:14 +02:00
Antoine Pitrou
1584ae3987
Issue #13165 : stringbench is now available in the Tools/stringbench folder.
...
It used to live in its own SVN project.
2012-04-09 17:03:32 +02:00
R David Murray
3861a322b9
Merge #14492 : fix some bugs in Tools/scripts/pdeps.py.
...
Initial patch by Popa Claudiu.
2012-04-05 23:01:13 -04:00
R David Murray
d3af6344ef
#14492 : fix some bugs in Tools/scripts/pdeps.py.
...
Initial patch by Popa Claudiu.
2012-04-05 22:59:13 -04:00
R David Murray
ce9806215b
Merge #14490 , #14491 : add 'sundry'-style import tests for Tools/scripts.
...
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running. Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:29:03 -04:00
R David Murray
54ac832a24
#14490 , #14491 : add 'sundry'-style import tests for Tools/scripts.
...
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running. Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:28:14 -04:00
Martin v. Löwis
8dbbae990c
Add _decimal and _testbuffer modules.
2012-04-01 19:55:48 +02:00
Georg Brandl
c0fdf6cf7a
Closes #14421 : use with statement to properly close socket in bandwidth test.
2012-03-27 07:43:53 +02:00
Martin v. Löwis
a7f6b14fa6
Add 3.2.3rc2 uuid.
2012-03-18 20:39:19 +01:00
Matthias Klose
5ce31cc4fc
merge 3.2
2012-03-14 23:17:31 +01:00
Ross Lagerwall
6c52c5755f
Modify patchcheck.py to check for changes to configure.in.
...
It now reports if configure and pyconfig.h.in weren't regenerated but
configure.in was changed.
2012-03-11 19:21:07 +02:00
Martin v. Löwis
0119e4753e
Remove uuids, as they are now computed.
2012-03-06 17:54:06 +01:00
Martin v. Löwis
41add01317
Use hg manifest to compute list of library files to include.
2012-03-06 17:53:12 +01:00
Martin v. Löwis
f2f592d1b9
Generate product code UUID from download URL.
2012-03-04 19:48:25 +01:00
Martin v. Löwis
3d4809f464
Package mime.types
2012-02-25 10:40:13 +01:00
Nadeem Vawda
6721149501
Merge: #14053 : Fix "make patchcheck" to work with MQ.
...
Patch by Francisco Martín Brugué
2012-02-22 11:53:09 +02:00
Nadeem Vawda
9f64f73193
Issue #14053 : Fix "make patchcheck" to work with MQ.
...
Patch by Francisco Martín Brugué
2012-02-22 11:46:41 +02:00
Benjamin Peterson
c9f54cf512
enable hash randomization by default
2012-02-21 16:08:05 -05:00
Martin v. Löwis
6ca5a4d49f
Issue #12406 : Update list of files.
2012-02-21 19:54:26 +01:00
Martin v. Löwis
61f996b26a
Issue #12406 : prevent case where shortened name could conflict with short name.
2012-02-21 18:49:10 +01:00
Martin v. Löwis
dc4170c5bc
merge 2.6
2012-02-21 18:07:58 +01:00
Martin v. Löwis
dbd3f6173a
Issue #6807 : Run msisupport.mak earlier.
2012-02-21 18:06:22 +01:00
Martin v. Löwis
f9caee9ab4
merge 3.2
2012-02-21 17:26:10 +01:00
Martin v. Löwis
26bb3cf7cd
Issue #10580 : Minor grammar change in Windows installer.
2012-02-21 17:23:55 +01:00
Benjamin Peterson
71f660e00f
update to Unicode 6.1
2012-02-20 22:24:29 -05:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Benjamin Peterson
ad9c569825
delta encoding of upper/lower/title makes a glorious return ( #12736 )
2012-01-15 21:19:20 -05:00
Benjamin Peterson
d5890c8db5
add str.casefold() ( closes #13752 )
2012-01-14 13:23:30 -05:00
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
Benjamin Peterson
b2bf01d824
use full unicode mappings for upper/lower/title case ( #12736 )
...
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Victor Stinner
d974393419
(Merge 3.2) 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:47:10 +01:00
Victor Stinner
8f23be7189
iobench.py: add more info in the header
...
Write the Python version, Unicode implementation and the platform.
2011-12-18 21:38:51 +01:00
Martin v. Löwis
b147aae26f
Add 3.2.4 UUIDs
2013-03-30 13:06:57 +01:00
Martin v. Loewis
5be6d74a0d
Issue #17425 : Build with openssl 1.0.0k on Windows.
2013-03-24 22:03:30 +01:00
Antoine Pitrou
ca2a1a335a
Fix test_gdb failure
2011-12-12 19:18:24 +01:00
Florent Xicluna
aa6c1d240f
Issue #13575 : there is only one class type.
2011-12-12 18:54:29 +01:00
Victor Stinner
0c4fbff6a7
libpython.py: defer call to gdb.lookup_type('PyUnicodeObject')
...
The lookup fails at startup if Python is linked to a shared library.
2011-12-08 00:08:22 +01:00
Nadeem Vawda
3ff069ebc6
Issue #6715 : Add module for compression using the LZMA algorithm.
2011-11-30 00:25:06 +02:00
Victor Stinner
f16a350baf
Oops, really fix gdb/libpython.py for not ready Unicode strings
2011-11-04 22:34:01 +01:00
Victor Stinner
e30c0a1014
Fix gdb/libpython.py for not ready Unicode strings
...
_PyUnicode_CheckConsistency() checks also hash and length value for not ready
Unicode strings.
2011-11-04 20:54:05 +01:00
Ezio Melotti
931b8aac80
#12753 : Add support for Unicode name aliases and named sequences.
2011-10-21 21:57:36 +03:00
Antoine Pitrou
760531a494
Fix a missing encoding argument when opening a text file in some of iobench's subtests.
...
(found by Georg)
2011-10-08 19:40:22 +02: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
Antoine Pitrou
3c0c5f29dd
Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130 )
2011-10-08 19:33:24 +02:00
Ezio Melotti
a9860aeb08
#13054 : fix usage of sys.maxunicode after PEP-393.
2011-10-04 19:06:00 +03:00
Victor Stinner
a3b334da6d
PyUnicode_Ready() now sets ascii=1 if maxchar < 128
...
ascii=1 is no more reserved to PyASCIIObject. Use
PyUnicode_IS_COMPACT_ASCII(obj) to check if obj is a PyASCIIObject (as before).
2011-10-03 13:53:37 +02:00
Antoine Pitrou
87ae0a2804
Backout of changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':
...
Issue #12804 : Prevent "make test" from using network resources.
2011-10-01 16:41:48 +02:00
Ezio Melotti
2a1e926d63
Fix ResourceWarnings in makeunicodedata.py.
2011-09-30 08:46:25 +03:00
Martin v. Löwis
24fa9832be
Update for PEP 393.
2011-09-28 08:35:25 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Martin v. Löwis
2c2d2aedd5
Merge with 3.2
2011-09-05 00:17:49 +02:00
Martin v. Löwis
73abc24345
Add 3.2.2 and 3.2.3 UUIDs.
2011-09-05 00:14:09 +02:00
Nadeem Vawda
08aa3c0235
Issue #12804 : Prevent "make test" from using network resources.
2011-08-21 16:41:03 +02:00
Antoine Pitrou
7f0a6ddb90
Use -n for tests under Windows
2011-08-16 20:02:26 +02:00
Éric Araujo
147cd508bc
Merge 3.2
2011-08-12 19:53:13 +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
f04488e2ba
Merge 3.2
2011-08-12 18:03:30 +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
Jason R. Coombs
88bf51baff
Corrected attribute docstring per pep-257 (reference #10639 )
2011-08-02 08:19:31 -04:00
Nadeem Vawda
328b5015a2
Clean up description of Tools/scripts/run_tests.py.
...
Also, add an entry for the script in Tools/scripts/README.
2011-08-02 10:16:45 +02:00
Nadeem Vawda
3c01d16ed9
Issue #11651 : Move options for running tests into a Python script.
...
This will be particularly useful to Windows users.
run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Éric Araujo
56ec5fe950
Small cleanup
2011-07-31 18:41:25 +02:00
Éric Araujo
ad548b8534
Merge fixes for #9860 , #11104/#8688 and #12331 from 3.2
2011-07-31 18:33:00 +02:00
Éric Araujo
a3e072bb89
Let “make patchcheck” work for out-of-dir builds ( #9860 )
2011-07-30 21:34:04 +02:00
Jason R. Coombs
947fed42b8
Merge fix for reindent.py
2011-07-29 09:32:25 -04:00
Jason R. Coombs
47891044c9
Issue #10639 : spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution
2011-07-29 09:31:56 -04:00
Éric Araujo
2527796a22
Merge from 3.2 ( #10318 , #12255 , #12043 , #12417 and other fixes)
2011-07-29 03:11:09 +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
Jason R. Coombs
76eec3db21
Issue #10639 : reindent.py tool now accepts a --newline option to specify the newline to be used in the output of converted files.
2011-07-26 11:38:04 -04:00
Jason R. Coombs
1322bd4971
Merge with 3.2 Issue #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:57:08 -04: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
Vinay Sajip
4334d740ed
Issue #12406 : Added upates for packaging's .exe files, command_template, and sysconfig.cfg.
2011-07-03 10:35:41 +01:00
Victor Stinner
c9e07a3ec8
(merge 3.2) 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:59:30 +02: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
Benjamin Peterson
4177eff088
general cleaning up
2011-06-27 18:25:06 -05:00
Benjamin Peterson
fbf528f06c
remove svn support
2011-06-27 17:59:45 -05:00
R David Murray
6a73845082
#11781 : update windows build script to account for move of email tests
2011-06-18 11:45:59 -04:00
Éric Araujo
9f0df8bdb8
Remove wsgiref.egg-info from msi.py (follow-up to d615eb7bce33, #12218 )
2011-06-06 17:08:41 +02:00
Martin v. Löwis
e8583e94e6
Drop old UUIDs.
2011-06-05 20:43:30 +02:00
Martin v. Löwis
40b408d455
merge:Do not add txt files twice
2011-06-05 19:43:56 +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
Benjamin Peterson
8c6f88efa2
remove __version__s dependent on subversion keyword expansion ( closes #12221 )
2011-05-31 20:52:17 -05:00
Éric Araujo
f46676d48f
Branch merge
2011-05-26 16:35:14 +02:00
Éric Araujo
0f67a99fc9
Branch merge
2011-05-25 18:22:11 +02:00
Victor Stinner
c520a1856f
(Merge 3.2) Issue #12057 : Add cjkencodings directory to the Makefile and
...
Tools/msi/msi.py
2011-05-25 01:16:49 +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
abe38da6a4
merged
2011-05-23 07:04:05 +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
fb2473fc8b
Merge 3.2.1rc1 release changes to default.
2011-05-21 19:43:36 +02:00
Georg Brandl
9c1928f0a9
Merge release branch after 3.2.1rc1.
2011-05-21 17:35:33 +02:00
Tarek Ziade
1231a4e097
initial import of the packaging package in the standard library
2011-05-19 13:07:25 +02:00
Victor Stinner
118ed71afe
(Merge 3.2) Issue #11614 : import __hello__ prints "Hello World!". Patch written
...
by Andreas Stührk.
2011-05-16 16:35:35 +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
c729c25615
(Merge 3.2) 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:53:22 +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
Victor Stinner
6348f0ecdd
Close #12032 : Fix scripts/crlf.py for Python 3
2011-05-09 01:29:30 +02:00
Éric Araujo
1e794f66f4
Remove obsolete 'rU' mode in Tools/scripts too (see be5b8d1ded34)
2011-05-05 20:18:16 +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
Martin v. Löwis
910a4edbcd
Upgrade Tcl/Tk to 8.5.9.
2010-12-17 20:43:27 +00:00
R. David Murray
39f34aa1f3
Turn on regrtest -W (rerun immediately) option for Windows, too.
2010-12-14 02:25:43 +00:00
Gregory P. Smith
51ee270876
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
...
the C code, using pipe2() when available. Adds unittests for close_fds and
cloexec behaviors.
2010-12-13 07:59:39 +00:00
Martin v. Löwis
d53ee5dd12
Automate build for python3.dll.
...
Package missing files.
2010-12-05 23:07:58 +00:00
Martin v. Löwis
4d0d471a80
Merge branches/pep-0384.
2010-12-03 20:14:31 +00:00
Alexander Belopolsky
73f382de1c
Issue #9598 : untabify.py will now respect encoding cookie in the files it processes
2010-11-30 17:30:43 +00:00
Alexander Belopolsky
827fdaae30
Issue #10552 : Partially fixed a sort error in Tools/unicode/gencodec.py
2010-11-30 16:56:15 +00:00
Georg Brandl
f55aa80b37
Merged revisions 85820,85823,85825,85840,85843-85845,85849-85851,85855,85867,85875,85907-85908,85911,85914 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r85820 | georg.brandl | 2010-10-24 16:20:22 +0200 (So, 24 Okt 2010) | 1 line
Remove usage of exception indexing.
........
r85823 | georg.brandl | 2010-10-24 16:32:45 +0200 (So, 24 Okt 2010) | 1 line
Fix style.
........
r85825 | georg.brandl | 2010-10-24 17:16:02 +0200 (So, 24 Okt 2010) | 1 line
Add documentation about the default warnings filters.
........
r85840 | georg.brandl | 2010-10-25 19:50:20 +0200 (Mo, 25 Okt 2010) | 1 line
#3018 : tkinter demo fixes for py3k.
........
r85843 | georg.brandl | 2010-10-26 08:59:23 +0200 (Di, 26 Okt 2010) | 1 line
Markup fix.
........
r85844 | georg.brandl | 2010-10-26 12:39:14 +0200 (Di, 26 Okt 2010) | 1 line
Work a bit more on tkinter demos.
........
r85845 | georg.brandl | 2010-10-26 12:42:16 +0200 (Di, 26 Okt 2010) | 1 line
faqwiz is removed.
........
r85849 | georg.brandl | 2010-10-26 21:31:06 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85850 | georg.brandl | 2010-10-26 21:58:11 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85851 | georg.brandl | 2010-10-26 22:12:37 +0200 (Di, 26 Okt 2010) | 1 line
Fix import.
........
r85855 | georg.brandl | 2010-10-27 09:21:54 +0200 (Mi, 27 Okt 2010) | 1 line
Encoding fix.
........
r85867 | georg.brandl | 2010-10-27 22:01:51 +0200 (Mi, 27 Okt 2010) | 1 line
Add David.
........
r85875 | georg.brandl | 2010-10-28 10:38:30 +0200 (Do, 28 Okt 2010) | 1 line
Fix bytes/str issues in get-remote-certificate.py.
........
r85907 | georg.brandl | 2010-10-29 06:54:13 +0200 (Fr, 29 Okt 2010) | 1 line
#10222 : fix for overzealous AIX compiler.
........
r85908 | georg.brandl | 2010-10-29 07:22:17 +0200 (Fr, 29 Okt 2010) | 1 line
send_bytes obviously needs bytes...
........
r85911 | georg.brandl | 2010-10-29 07:36:28 +0200 (Fr, 29 Okt 2010) | 1 line
Fix markup error and update false positive entries from "make suspicious".
........
r85914 | georg.brandl | 2010-10-29 08:17:38 +0200 (Fr, 29 Okt 2010) | 1 line
(?:...) is a non-capturing, but still grouping construct.
........
2010-11-26 08:59:40 +00:00
Georg Brandl
d62ecbf0ba
Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r85728 | georg.brandl | 2010-10-19 20:54:25 +0200 (Di, 19 Okt 2010) | 1 line
#10092 : Properly reset locale in Locale*Calendar classes. The context manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this.
........
r85731 | georg.brandl | 2010-10-19 23:07:16 +0200 (Di, 19 Okt 2010) | 1 line
Be consistent in the spelling of thread-safe(ty).
........
r85735 | georg.brandl | 2010-10-20 08:50:19 +0200 (Mi, 20 Okt 2010) | 1 line
Fix r85728: use "" to mean the system default locale, which should work on more systems.
........
r85766 | georg.brandl | 2010-10-21 09:40:03 +0200 (Do, 21 Okt 2010) | 1 line
#10159 : sort completion matches before comparing to dir() result.
........
r85767 | georg.brandl | 2010-10-21 14:49:28 +0200 (Do, 21 Okt 2010) | 1 line
#9095 , #8912 , #8999 : add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing.
........
r85768 | georg.brandl | 2010-10-21 14:59:14 +0200 (Do, 21 Okt 2010) | 1 line
#9919 : fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
........
r85769 | georg.brandl | 2010-10-21 15:01:23 +0200 (Do, 21 Okt 2010) | 1 line
Fix missing import.
........
r85770 | georg.brandl | 2010-10-21 15:29:10 +0200 (Do, 21 Okt 2010) | 1 line
#3077 : fix h2py substitution of character literals.
........
r85771 | georg.brandl | 2010-10-21 15:34:51 +0200 (Do, 21 Okt 2010) | 1 line
#1203650 : allow larger list of files in windows makefile for freeze.
........
r85773 | georg.brandl | 2010-10-21 15:45:52 +0200 (Do, 21 Okt 2010) | 1 line
#4829 : better error message for invalid file mode
........
r85777 | georg.brandl | 2010-10-21 17:44:51 +0200 (Do, 21 Okt 2010) | 1 line
Add .hgeol file for the Mercurial EOL extension.
........
2010-11-26 08:52:36 +00:00
Georg Brandl
aba9796c5e
Merged revisions 85450-85455,85460-85465 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r85450 | georg.brandl | 2010-10-14 08:35:53 +0200 (Do, 14 Okt 2010) | 1 line
#7642 : update to os.system() docs.
........
r85451 | georg.brandl | 2010-10-14 08:41:42 +0200 (Do, 14 Okt 2010) | 1 line
#3865 : add note about benchmarking with profilers, and move licensing stuff to bottom of document.
........
r85452 | georg.brandl | 2010-10-14 08:43:22 +0200 (Do, 14 Okt 2010) | 1 line
#10046 : small correction to atexit docs.
........
r85453 | georg.brandl | 2010-10-14 08:46:08 +0200 (Do, 14 Okt 2010) | 1 line
#6825 : small correction to split() docs.
........
r85454 | georg.brandl | 2010-10-14 08:48:47 +0200 (Do, 14 Okt 2010) | 1 line
Mention 2to3.
........
r85455 | georg.brandl | 2010-10-14 08:59:45 +0200 (Do, 14 Okt 2010) | 1 line
#1710703 : write zipfile structures also in the case of closing a new, but empty, archive.
........
r85460 | georg.brandl | 2010-10-14 09:24:28 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_import under -O or -OO.
........
r85461 | georg.brandl | 2010-10-14 09:29:08 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix lib2to3 fixer fix_operator when running under -OO.
........
r85462 | georg.brandl | 2010-10-14 09:32:52 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_xml_etree under -OO.
........
r85463 | georg.brandl | 2010-10-14 09:34:56 +0200 (Do, 14 Okt 2010) | 1 line
Better check for "any optimize option given".
........
r85464 | georg.brandl | 2010-10-14 09:42:27 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_compileall under -O and -OO.
........
r85465 | georg.brandl | 2010-10-14 10:08:56 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_cmd_line_script under -O and -OO.
........
2010-11-26 08:37:46 +00:00
Martin v. Löwis
5cbc71e50a
Issue #10459 : Update CJK character names to Unicode 6.0.
2010-11-22 09:00:02 +00:00
Éric Araujo
1e600dc01f
Fix resource warning from patchcheck.py
2010-11-22 03:13:47 +00:00
Brian Curtin
f213d2317c
Backport the distutils part of r83399 to fix #7645 .
2010-11-22 02:04:33 +00:00
Martin v. Löwis
3a72b250eb
Merged revisions 84339,84487 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84339 | martin.v.loewis | 2010-08-28 15:40:10 +0200 (Sa, 28 Aug 2010) | 1 line
Stop packaging versioncheck.
........
r84487 | martin.v.loewis | 2010-09-04 16:38:09 +0200 (Sa, 04 Sep 2010) | 3 lines
Issue #1303434 : Include PDBs in release.
Patch by James Lee and Daniel Stutzbach.
........
2010-11-14 18:13:49 +00:00
Martin v. Löwis
e0bf419ae7
Add UUID for 3.2a4
2010-11-12 17:20:02 +00:00
Éric Araujo
71f8c65b66
Remove traces of setuptools ( #10341 )
2010-11-06 16:06:37 +00:00
Georg Brandl
cbb9421347
Fix bytes/str issues in get-remote-certificate.py.
2010-10-28 08:38:30 +00:00
Georg Brandl
91b47c64e1
Fix import.
2010-10-26 20:12:37 +00:00
Martin v. Löwis
acc62be8aa
Add 3.1.3 UUIDs.
2010-10-25 19:58:42 +00:00
Georg Brandl
6d61cb4d2f
#1203650 : allow larger list of files in windows makefile for freeze.
2010-10-21 13:34:51 +00:00
Georg Brandl
9c14f2f343
#3077 : fix h2py substitution of character literals.
2010-10-21 13:29:10 +00:00
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
Georg Brandl
13f959b501
Merged revisions 83561,83563,83565-83566,83569,83571,83574-83575,83580,83584,83599,83612,83659,83977,84015-84018,84020,84141 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r83561 | georg.brandl | 2010-08-02 22:17:50 +0200 (Mo, 02 Aug 2010) | 1 line
#4280 : remove outdated "versionchecker" tool.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83566 | georg.brandl | 2010-08-02 22:30:57 +0200 (Mo, 02 Aug 2010) | 1 line
#9019 : remove false (in 3k) claim about Headers updates.
........
r83569 | georg.brandl | 2010-08-02 22:39:35 +0200 (Mo, 02 Aug 2010) | 1 line
#7797 : be explicit about bytes-oriented interface of base64 functions.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
r83580 | georg.brandl | 2010-08-02 23:02:36 +0200 (Mo, 02 Aug 2010) | 1 line
#8119 : fix copy-paste error.
........
r83584 | georg.brandl | 2010-08-02 23:07:14 +0200 (Mo, 02 Aug 2010) | 1 line
#9457 : fix documentation links for 3.2.
........
r83599 | georg.brandl | 2010-08-02 23:51:18 +0200 (Mo, 02 Aug 2010) | 1 line
#9061 : warn that single quotes are never escaped.
........
r83612 | georg.brandl | 2010-08-03 00:59:44 +0200 (Di, 03 Aug 2010) | 1 line
Fix unicode literal.
........
r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line
Terminology fix: exceptions are raised, except in generator.throw().
........
r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line
Fix copy-paste error.
........
r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line
Add some maintainers.
........
r84016 | georg.brandl | 2010-08-14 17:46:15 +0200 (Sa, 14 Aug 2010) | 1 line
Wording fix.
........
r84017 | georg.brandl | 2010-08-14 17:46:59 +0200 (Sa, 14 Aug 2010) | 1 line
Typo fix.
........
r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line
Typo fix.
........
r84020 | georg.brandl | 2010-08-14 17:57:20 +0200 (Sa, 14 Aug 2010) | 1 line
Fix format.
........
r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line
Markup nits.
........
2010-10-06 08:35:38 +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
b4efb3d81e
Merged revisions 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines
Syntax cleanup.
........
r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines
Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments.
........
r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines
Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608 .
........
r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines
Typo.
........
r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines
Issue #7564 : Skip test_ioctl if another process is attached to /dev/tty.
........
r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line
Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
........
r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines
Merged manually from 2.7 branch to 3.x trunk.
------------------------------------------------------------------------
r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)
Try to turn some buildbots green by allowing test_multiprocessing to
pass even if it hits the sys.exc_clear code in the threading module, and
improve the test coverage by making the ctypes dependencies a bit more
granular (two of the cited ctypes objects don't exist on my system)
------------------------------------------------------------------------
........
r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line
List Misc/python-config.in in Misc/README. Fix few typos.
........
r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line
Fix order.
........
r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line
Convert to spaces.
........
r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line
Remove bad merge (from svnmerge r82301)
........
2010-08-14 18:24:40 +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
7f14f0d8a0
Recorded merge of revisions 81032 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines
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 16:14:21 +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
Antoine Pitrou
0c70d2d144
Merged revisions 79977 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79977 | antoine.pitrou | 2010-04-12 00:32:39 +0200 (lun., 12 avril 2010) | 4 lines
Issue #8374 : Update the internal alias table in the :mod:`locale` module
to cover recent locale changes and additions.
........
2010-04-11 22:35:34 +00:00
Benjamin Peterson
6a6666ab7d
Merged revisions 79548,79557,79616-79617,79716,79778,79795,79803,79896 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79548 | martin.v.loewis | 2010-04-01 02:40:51 -0500 (Thu, 01 Apr 2010) | 3 lines
Issue #8032 : For gdb7, a python-gdb.py file is added to the build,
allowing to use advanced gdb features when debugging Python.
........
r79557 | antoine.pitrou | 2010-04-01 12:56:57 -0500 (Thu, 01 Apr 2010) | 5 lines
Issue #8281 : rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
as a regular test by regrtest.py, and fails.
........
r79616 | mark.dickinson | 2010-04-02 15:22:21 -0500 (Fri, 02 Apr 2010) | 1 line
Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.
........
r79617 | mark.dickinson | 2010-04-02 15:34:26 -0500 (Fri, 02 Apr 2010) | 1 line
Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile.
........
r79716 | martin.v.loewis | 2010-04-03 13:54:07 -0500 (Sat, 03 Apr 2010) | 2 lines
Don't install python-gdb.py as an executable.
........
r79778 | r.david.murray | 2010-04-04 20:34:50 -0500 (Sun, 04 Apr 2010) | 3 lines
Issue 8287: try to fix the gdb-python install errors on Solaris
and FreeBSD. Patch by Dave Malcolm.
........
r79795 | ronald.oussoren | 2010-04-05 06:21:21 -0500 (Mon, 05 Apr 2010) | 7 lines
Ensure that the gdb hooks can be installed when
srcdir != builddir.
Without this patch it is no longer possible to
build python when you don't run configure from
the root of the source tree.
........
r79803 | r.david.murray | 2010-04-05 11:28:49 -0500 (Mon, 05 Apr 2010) | 3 lines
Issue 8316: make test_gdb robust in the face of differing terminal
widths. Patch by Dave Malcolm.
........
r79896 | martin.v.loewis | 2010-04-07 14:11:32 -0500 (Wed, 07 Apr 2010) | 2 lines
Issue #8337 : Disable the remaining test also for now.
........
2010-04-11 21:49:28 +00:00