Barry Warsaw
a40453df37
abiflags: alphabetize and versionadded
2010-10-16 14:17:50 +00:00
Victor Stinner
2f2ed1f36c
Fix ast_error_finish() and err_input(): filename can be NULL
...
Fix my previous commit (r85569).
2010-10-16 13:42:53 +00:00
Victor Stinner
4c7c8c3023
Issue #9713 , #10114 : Parser functions (eg. PyParser_ASTFromFile) expects
...
filenames encoded to the filesystem encoding with surrogateescape error handler
(to support undecodable bytes), instead of UTF-8 in strict mode.
2010-10-16 13:14:10 +00:00
Victor Stinner
5a7913eb3b
zipimport: catch _PyUnicode_AsString() failure in get_code_from_data()
...
It occurs if the path contains surrogates.
2010-10-16 11:29:07 +00:00
Brian Quinlan
2c2bfe5bdf
Fixes issue 10120 (concurrent.futures module is not installed properly), patch by Neil Muller
2010-10-16 10:36:11 +00:00
Brian Quinlan
6d3895606c
Fix incorrect maintainer name
2010-10-16 10:12:32 +00:00
Brian Quinlan
d1f0218112
Add bquinlan as the maintainer of concurrent.futures
2010-10-16 09:55:14 +00:00
Benjamin Peterson
230b20684f
don't identify the toplevel namespace by name #9997
2010-10-16 03:45:45 +00:00
Benjamin Peterson
294a9fcba6
fix refleak
2010-10-16 03:12:39 +00:00
Barry Warsaw
f6219a588d
Add NEWS for issue 9807 part 1.
2010-10-16 01:20:45 +00:00
Barry Warsaw
8cf4eae522
First (uncontroversial) part of issue 9807.
...
* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
patch) succeed.
* Fix a few small style issues.
2010-10-16 01:04:07 +00:00
Benjamin Peterson
d8d835bd1d
run autoconf
2010-10-15 23:14:46 +00:00
R. David Murray
e16cda9ad8
#9862 : On AIX PIPE_BUF is broken. Make it 512.
...
Patch by Sébastien Sablé.
2010-10-15 23:12:57 +00:00
Victor Stinner
88bd891e6c
Fix imp_cache_from_source(): Decode make_compiled_pathname() result from the
...
filesystem encoding instead of utf-8.
imp_cache_from_source() encodes the input path to filesystem encoding and this
path is passed to make_compiled_pathname().
2010-10-15 22:46:07 +00:00
Victor Stinner
1a5630326f
imp_load_module() uses PyUnicode_FSConverter() to support surrogates in module
...
path
2010-10-15 22:43:10 +00:00
Benjamin Peterson
42311734ab
revert change in inappropiate branch
2010-10-15 21:56:35 +00:00
Victor Stinner
3ea23ddabf
imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates in
...
module path
2010-10-15 20:34:32 +00:00
Georg Brandl
392c92a0c6
#10072 : assume a bit less knowledge of the FTP protocol in the ftplib docs.
2010-10-15 19:46:19 +00:00
Georg Brandl
3844f0d7cd
#6098 : Refrain from claiming DOM level 3 conformance in minidom.
2010-10-15 18:00:35 +00:00
Georg Brandl
b9cd72a9f7
#5762 : fix handling of empty namespace in minidom, which would result in AttributeError on toxml().
2010-10-15 17:58:45 +00:00
Georg Brandl
d4460aaacd
#4785 : document strict argument of JSONDecoder, plus add object_pairs_hook in the docstrings.
2010-10-15 17:03:02 +00:00
Georg Brandl
b67878a522
#7790 : move table of struct_time members to the actual description of struct_time.
2010-10-15 17:01:15 +00:00
Georg Brandl
39cadc3ffe
#4968 : updates to inspect.is* function docs.
2010-10-15 16:53:24 +00:00
Georg Brandl
d0b0e1d869
#6798 : fix wrong docs for the arguments to several trace events.
2010-10-15 16:42:37 +00:00
Georg Brandl
d2413428dc
Fix issue references.
2010-10-15 16:42:14 +00:00
Georg Brandl
f1f8d47d38
#7303 : add documentation for useful pkgutil functions and classes.
2010-10-15 16:35:46 +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
c01537f742
#9054 : fix crash when using pyexpat with a system expat lib version 2.0.1.
2010-10-15 16:26:08 +00:00
Georg Brandl
6c6a4d0249
Remove unused label.
2010-10-15 16:23:54 +00:00
Georg Brandl
3ed4114f7d
#9801 : document how list and dict proxies created by Managers behave w.r.t. mutable items.
2010-10-15 16:19:43 +00:00
Georg Brandl
c1c4bf85c1
#9683 : remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
2010-10-15 16:07:41 +00:00
Georg Brandl
f74cf77c8d
#7771 : reference to documentation of dictview methods and operations.
2010-10-15 16:03:02 +00:00
Georg Brandl
1f7fffb308
#2830 : add html.escape() helper and move cgi.escape() uses in the standard library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
2010-10-15 15:57:45 +00:00
Georg Brandl
70543acfa1
Refrain from using inline suites.
2010-10-15 15:32:05 +00:00
Georg Brandl
91d2a3fb0e
#5355 followup: add unit test for new dictionaries, and provide submodules from xml.parsers.expat as advertised.
2010-10-15 15:25:23 +00:00
Senthil Kumaran
279b56d9a7
Fix a minor docs bug.
2010-10-15 15:21:19 +00:00
Georg Brandl
b4dac71a87
#5355 : Provide mappings from Expat error numbers to string descriptions and backwards, in order to actually make it possible to analyze error codes provided by ExpatError.
2010-10-15 14:46:48 +00:00
Brian Curtin
f668df5fa7
Fix #10098 . Fix sporadic test_os failures.
...
Amaury noticed that we're not waiting for the subprocess to be ready --
it should be checking for 1, not 0.
2010-10-15 14:21:06 +00:00
Antoine Pitrou
ba8071241b
Revert debug printout
2010-10-15 13:52:53 +00:00
Antoine Pitrou
fe9791365d
Enable debug output at the start of the regression suite instead.
...
Sorry for the ephemeral inconvenience.
2010-10-15 13:47:00 +00:00
Antoine Pitrou
f64317e05f
Temporary debug printout for buildbots
2010-10-15 13:35:51 +00:00
Senthil Kumaran
8227045bbe
Fix sphinx role markups.
2010-10-15 13:29:33 +00:00
Senthil Kumaran
46a48bef3f
Fix ``make check`` warnings.
2010-10-15 13:10:10 +00:00
Senthil Kumaran
916bd38a06
Fixing some sphinx inline directives - detected using ``make check``.
2010-10-15 12:55:19 +00:00
Victor Stinner
8dbf629bbd
imp.load_dynamic() uses PyUnicode_FSConverter() to support surrogates
...
in the library path.
2010-10-15 12:48:01 +00:00
Victor Stinner
f3170ccef8
Use locale encoding if Py_FileSystemDefaultEncoding is not set
...
* PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and
PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if
Py_FileSystemDefaultEncoding is NULL
* redecode_filenames() functions and _Py_code_object_list (issue #9630 )
are no more needed: remove them
2010-10-15 12:04:23 +00:00
Victor Stinner
6a4aff10f0
redecode_filename(): don't need to initialize variables
2010-10-15 11:16:59 +00:00
Victor Stinner
5d1e3438cd
Mark _Py_char2wchar() input argument as constant
2010-10-15 11:15:54 +00:00
Senthil Kumaran
d449a8ad87
Issue10100 - fromfd is now available on all platforms
2010-10-15 09:02:14 +00:00
Benjamin Peterson
3e46b25751
remove empty file
2010-10-15 01:07:08 +00:00