Commit graph

10065 commits

Author SHA1 Message Date
Georg Brandl
2aff335c36 #9204: remove mentions of removed types in the types module. 2010-10-17 10:59:41 +00:00
Georg Brandl
418cc73403 Fix capitalization. 2010-10-17 10:53:54 +00:00
Georg Brandl
6f4e68d82c #5962: clarify sys.exit() vs. threads. 2010-10-17 10:51:45 +00:00
Georg Brandl
a192828ea1 #9138: reword introduction to classes in Python. 2010-10-17 10:44:11 +00:00
Georg Brandl
f41427263c #9117: fix syntax for class definition. 2010-10-17 10:38:20 +00:00
Georg Brandl
e0bf91d597 Some markup and style fixes in argparse docs. 2010-10-17 10:34:28 +00:00
Georg Brandl
9375492be3 #9112: document error() and exit() methods of ArgumentParser. 2010-10-17 10:28:04 +00:00
Georg Brandl
0036bcf8d8 #9105: move pickle warning to a bit more prominent location. 2010-10-17 10:24:54 +00:00
Georg Brandl
047e486c45 Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway. 2010-10-17 10:22:28 +00:00
Georg Brandl
fc9794a8fc Make file names consistent. 2010-10-17 10:15:50 +00:00
Georg Brandl
4985ff2e61 #9086: correct wrong terminology about linking with pythonXY.dll. 2010-10-17 10:14:38 +00:00
Georg Brandl
531d76b096 #5212: md5 weaknesses do not affect hmac, so remove the note about that. 2010-10-17 10:09:06 +00:00
Georg Brandl
f3d008737e Fix copy-paste error in example. 2010-10-17 10:07:29 +00:00
Georg Brandl
7306ad53da #459007: merge info from PC/getpathp.c and using/windows.rst to document the forming of sys.path under Windows. 2010-10-17 10:05:13 +00:00
Georg Brandl
eec2d768cd #8968: add actual name of token constants. 2010-10-17 09:46:11 +00:00
Georg Brandl
80b75fd288 Fix hmac docs: it takes and returns bytes, except for hexdigest(). 2010-10-17 09:43:35 +00:00
Georg Brandl
7716ca6cdd #8855: add shelve security warning. 2010-10-17 09:37:54 +00:00
Georg Brandl
96115fb2d3 #8811: small fixes to sqlite3 docs. 2010-10-17 09:33:24 +00:00
Georg Brandl
8e9eb95c40 #8686: remove potentially confusing wording that does not add any value. 2010-10-17 09:23:05 +00:00
Georg Brandl
edc9e7ff17 #8556: use less confusing mapping key in example. 2010-10-17 09:19:03 +00:00
Georg Brandl
dd909db1a9 #10058: tweak wording about exception returns. 2010-10-17 06:32:59 +00:00
Georg Brandl
17ef0d51d7 Note that maxtasksperchild is new in 3.2. 2010-10-17 06:21:59 +00:00
Georg Brandl
573caa3476 #10124: typo fix. 2010-10-16 18:53:08 +00:00
Georg Brandl
8e4ddcfaea #10122: typo fix. 2010-10-16 18:51:05 +00:00
Barry Warsaw
a40453df37 abiflags: alphabetize and versionadded 2010-10-16 14:17:50 +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
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
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
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
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
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
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
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
Senthil Kumaran
d449a8ad87 Issue10100 - fromfd is now available on all platforms 2010-10-15 09:02:14 +00:00
Antoine Pitrou
b1c5496738 Issue #7523: Add SOCK_CLOEXEC and SOCK_NONBLOCK to the socket module,
where supported by the system.  Patch by Nikita Vetoshkin.
2010-10-14 15:05:38 +00:00
Senthil Kumaran
383c32dd38 Issue10063 - file:// scheme will stop accessing remote hosts via ftp protocol 2010-10-14 11:57:35 +00:00
Georg Brandl
268e4d4cf3 #1710703: write zipfile structures also in the case of closing a new, but empty, archive. 2010-10-14 06:59:45 +00:00
Georg Brandl
539c165299 #6825: small correction to split() docs. 2010-10-14 06:46:08 +00:00
Georg Brandl
7c4cad51ba #10046: small correction to atexit docs. 2010-10-14 06:43:22 +00:00