Commit graph

20163 commits

Author SHA1 Message Date
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
Georg Brandl
4eb6597b62 #3865: add note about benchmarking with profilers, and move licensing stuff to bottom of document. 2010-10-14 06:41:42 +00:00
Georg Brandl
8f7b427b5b #7642: update to os.system() docs. 2010-10-14 06:35:53 +00:00
Victor Stinner
8f6b6b0cc3 Issue #9992: Remove PYTHONFSENCODING environment variable. 2010-10-13 22:02:27 +00:00
Antoine Pitrou
674f40092a Merged revisions 85420 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85420 | antoine.pitrou | 2010-10-13 18:17:14 +0200 (mer., 13 oct. 2010) | 5 lines

  Issue #10041: The signature of optional arguments in socket.makefile()
  didn't match that of io.open(), and they also didn't get forwarded
  properly to TextIOWrapper in text mode.  Patch by Kai Zhu.
........
2010-10-13 16:25:33 +00:00
Antoine Pitrou
834bd81c51 Issue #10041: The signature of optional arguments in socket.makefile()
didn't match that of io.open(), and they also didn't get forwarded
properly to TextIOWrapper in text mode.  Patch by Kai Zhu.
2010-10-13 16:17:14 +00:00
Antoine Pitrou
1ab19ca161 Fix grammar 2010-10-13 10:39:21 +00:00
Antoine Pitrou
803e6d670c Issue #9003: http.client.HTTPSConnection, urllib.request.HTTPSHandler and
urllib.request.urlopen now take optional arguments to allow for
server certificate checking, as recommended in public uses of HTTPS.
2010-10-13 10:36:15 +00:00
Benjamin Peterson
a356271bd7 Merged revisions 85395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85395 | benjamin.peterson | 2010-10-12 18:07:13 -0500 (Tue, 12 Oct 2010) | 1 line

  fix spelling #10078
........
2010-10-12 23:10:04 +00:00
Benjamin Peterson
73a3f2d4d4 fix spelling #10078 2010-10-12 23:07:13 +00:00
Benjamin Peterson
582162e42b Merged revisions 85392 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85392 | benjamin.peterson | 2010-10-12 17:57:59 -0500 (Tue, 12 Oct 2010) | 1 line

  prefer clearing global objects to obscure module.__dict__ bugs #10068
........
2010-10-12 23:06:22 +00:00
Benjamin Peterson
5c4bfc4af0 prefer clearing global objects to obscure module.__dict__ bugs #10068 2010-10-12 22:57:59 +00:00
Antoine Pitrou
6c314ec946 Update whatsnew about pickle optimizations 2010-10-12 21:07:20 +00:00
Antoine Pitrou
b0182c8ca5 Issue #10075: Add a session_stats() method to SSLContext objects. 2010-10-12 20:09:02 +00:00
Antoine Pitrou
0518842b69 Make comment about SSL support more accurate 2010-10-12 16:44:39 +00:00
Senthil Kumaran
e6788dbfdc Merged revisions 85347 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85347 | senthil.kumaran | 2010-10-10 11:43:49 +0530 (Sun, 10 Oct 2010) | 3 lines

  Fix Issue7285 - multiprocessing module, example code error.
........
2010-10-10 06:18:19 +00:00
Senthil Kumaran
79941b5c09 Fix Issue7285 - multiprocessing module, example code error. 2010-10-10 06:13:49 +00:00
Raymond Hettinger
066e7a974a Issue #10029: Fix sample code in the docs for zip(). 2010-10-10 05:56:57 +00:00
Raymond Hettinger
2f08df3690 Issue #10029: Fix sample code in the docs for zip(). 2010-10-10 05:54:39 +00:00
Victor Stinner
62165d67a2 Document that the 'strict' error handler is used to encode/decode filenames on
Windows
2010-10-09 10:34:37 +00:00
Victor Stinner
257d38ffdd Issue #9738: Document PyErr_SetString() and PyErr_SetFromErrnoWithFilename()
encodings
2010-10-09 10:12:11 +00:00
Benjamin Peterson
be71227b83 Merged revisions 85328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85328 | benjamin.peterson | 2010-10-08 20:58:37 -0500 (Fri, 08 Oct 2010) | 1 line

  remove author names from prose
........
2010-10-09 02:01:03 +00:00
Benjamin Peterson
fc8408cbe8 remove author names from prose 2010-10-09 01:58:37 +00:00
R. David Murray
7c0a2271ff What's new entry for email 5.1. 2010-10-08 21:37:39 +00:00
Antoine Pitrou
0ee4c9f274 Update what's new 2010-10-08 16:46:17 +00:00
R. David Murray
96fd54eaec #4661: add bytes parsing and generation to email (email version bump to 5.1.0)
The work on this is not 100% complete, but everything is present to
allow real-world testing of the code.  The only remaining major todo
item is to (hopefully!) enhance the handling of non-ASCII bytes in headers
converted to unicode by RFC2047 encoding them rather than replacing them with
'?'s.
2010-10-08 15:55:28 +00:00
Antoine Pitrou
59fdd6736b Issue #1589: Add ssl.match_hostname(), to help implement server identity
verification for higher-level protocols.
2010-10-08 10:37:08 +00:00
Victor Stinner
beb4135b8c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the
prototype for the new function PyUnicode_AsWideCharString().
2010-10-07 01:02:42 +00:00
Antoine Pitrou
cd889af917 More new things in what's new 2010-10-06 21:13:56 +00:00
Georg Brandl
5ad8ed5f26 Update to Sphin 1.0.4. 2010-10-06 12:29:49 +00:00
Georg Brandl
e5e6bc68f9 Merged revisions 85276 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85276 | georg.brandl | 2010-10-06 12:35:24 +0200 (Mi, 06 Okt 2010) | 1 line

  Fix the suspicious builder not to write CRLF, update suspicious file and add instructions to Makefile.
........
2010-10-06 10:43:34 +00:00
Georg Brandl
d098c3d94c Merged revisions 85274 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85274 | georg.brandl | 2010-10-06 12:26:05 +0200 (Mi, 06 Okt 2010) | 1 line

  Fix errors found by "make suspicious".
........
2010-10-06 10:38:58 +00:00
Georg Brandl
19b3e00627 Fix the suspicious builder not to write CRLF, update suspicious file and add instructions to Makefile. 2010-10-06 10:35:24 +00:00
Georg Brandl
682d7e0e07 Fix errors found by "make suspicious". 2010-10-06 10:26:05 +00:00
Georg Brandl
fa4f7f97b8 Fix spelling and markup. 2010-10-06 10:14:08 +00:00
Georg Brandl
60203b41b0 Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
Georg Brandl
f243dad554 Merged revisions 85008,85011,85228,85240 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85008 | georg.brandl | 2010-09-25 15:30:03 +0200 (Sa, 25 Sep 2010) | 1 line

  #9944: fix typo.
........
  r85011 | georg.brandl | 2010-09-25 18:56:36 +0200 (Sa, 25 Sep 2010) | 1 line

  #9562: slight clarification.
........
  r85228 | georg.brandl | 2010-10-05 09:16:01 +0200 (Di, 05 Okt 2010) | 1 line

  Indent version tags properly.
........
  r85240 | georg.brandl | 2010-10-06 07:08:32 +0200 (Mi, 06 Okt 2010) | 1 line

  #10034: import readline in longer example.
........
2010-10-06 08:57:55 +00:00
Georg Brandl
4b05466e25 Merged revisions 84945 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r84945 | georg.brandl | 2010-09-21 16:48:28 +0200 (Di, 21 Sep 2010) | 1 line

  #9911: doc copyedits.
........
2010-10-06 08:56:53 +00:00