Commit Graph

44300 Commits

Author SHA1 Message Date
R. David Murray 6495136e40 #1466065: add validate option to base64.b64decode
Patch by Neil Tallim.  This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
2010-11-11 20:09:20 +00:00
Łukasz Langa 49afa380fd configparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http://mail.python.org/pipermail/python-dev/2010-November/105391.html
configparser:py: renamed _views to _proxies to be consistent with the SectionProxy name
2010-11-11 19:53:23 +00:00
Alexander Belopolsky b9d10d08c4 Issue #10386: Added __all__ to token module; this simplifies importing
in tokenize module and prevents leaking of private names through
import *.
2010-11-11 14:07:41 +00:00
Georg Brandl bb27c128a5 Review the new configparser docs. 2010-11-11 07:26:40 +00:00
Antoine Pitrou 8d9a4e66c2 Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org 2010-11-10 22:36:43 +00:00
Łukasz Langa 179546412c added myself as a maintainer of configparser 2010-11-10 18:59:35 +00:00
Łukasz Langa 26d513cf2f Issue #5412: extend configparser to support mapping access 2010-11-10 18:57:39 +00:00
Victor Stinner 47f637ce17 getpath.c: fix test to detech PyUnicode_AsWideChar() failure
PyUnicode_AsWideChar() result is signed, whereas it was stored in a unsigned
variable, and then the test was "n >= 0" which is always true to an unsigned
number. Patch written by Hallvard B Furuseth.
2010-11-10 14:12:20 +00:00
Antoine Pitrou cf9f98034a Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
2010-11-10 13:55:25 +00:00
Antoine Pitrou 81c87c5e9a Followup to r86383: it seems that in some cases (buildbots), the server
closes the connection before we can call shutdown().
2010-11-10 08:59:25 +00:00
Georg Brandl 1790ed2b2e Fix typo. 2010-11-10 07:57:10 +00:00
Antoine Pitrou dac47914d7 Forward port r86386 after it fixed the 3.1 buildbot issues 2010-11-10 00:18:40 +00:00
Antoine Pitrou d79f3c8b3a Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
2010-11-09 23:10:33 +00:00
Antoine Pitrou b1436f185d Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
2010-11-09 22:55:55 +00:00
Antoine Pitrou adffced3df Preserve the original environment (e.g. LD_LIBRARY_PATH) 2010-11-09 22:04:44 +00:00
Ask Solem 84c29a2e16 Remove uneeded NEWS entries for minor documentation updates. 2010-11-09 22:04:16 +00:00
Ask Solem ff7ffdd752 Issue #8028: multiprocessing: Documented that ``Process.terminate``
is only intented for use by the parent process.
2010-11-09 21:52:33 +00:00
Ask Solem 518eaa8a76 Issue #7707: Documented that multiprocessing.Queue operations during
import can lead to deadlocks.
2010-11-09 21:46:03 +00:00
Ask Solem 1d3b89397b Documented the new error_callback keyword argument to multiprocessing.Pool's apply_async and map_async 2010-11-09 21:36:56 +00:00
Antoine Pitrou 9bc35682de Use script_helper in one more test 2010-11-09 21:33:55 +00:00
Ask Solem e912f5ab7a Added missing NEWS entry for my previous commit (r86370). 2010-11-09 21:14:53 +00:00
Ask Solem 2afcbf2249 Issue #9244: multiprocessing.pool: Worker crashes if result can't be encoded 2010-11-09 20:55:52 +00:00
Antoine Pitrou fb0469112f Issue #10022: The dictionary returned by the `getpeercert()` method
of SSL sockets now has additional items such as `issuer` and `notBefore`.
2010-11-09 20:21:19 +00:00
Antoine Pitrou 859c4ef0a0 Make `usenetrc` False by default (the old behaviour of having it True by
default could be rather confusing).
2010-11-09 18:58:42 +00:00
Antoine Pitrou 1cb121ecea Issue #1926: Add support for NNTP over SSL on port 563, as well as
STARTTLS.  Patch by Andrew Vant.
2010-11-09 18:54:37 +00:00
Alexander Belopolsky 14fb79977b Issue #7061: Added a 'Turtle star' sidebar 2010-11-09 18:40:03 +00:00
Senthil Kumaran 922e904cca Fix issue10324 - Modules/binascii.c: simplify expressions 2010-11-09 09:59:13 +00:00
Victor Stinner 4fe519bf8d Issue #10359: Remove useless (duplicate) initialization in _csv 2010-11-09 09:40:16 +00:00
Victor Stinner 132ef6cca3 Issue #10359: Remove useless comma, invalid in ISO C 2010-11-09 09:39:41 +00:00
Victor Stinner 9f0b51e4e3 Issue #10359: Use Py_UNICODE for the typecode in array
And don't create non constant array, invalid in ISO C.
2010-11-09 09:38:30 +00:00
Victor Stinner 3e2b7171bf Issue #10359: Remove ";" after function definition, invalid in ISO C 2010-11-09 09:32:19 +00:00
Raymond Hettinger 572895b8eb Simplify code 2010-11-09 03:43:58 +00:00
Alexander Belopolsky e1f849c7d2 Fixed a typo in ReST markup. 2010-11-09 03:13:43 +00:00
Senthil Kumaran ec30b3dd8c Fix Issue10205 - XML QName error when different tags have same QName. 2010-11-09 02:36:59 +00:00
Victor Stinner 92665ab8c7 test_tokenize: use self.assertEqual() instead of plain assert 2010-11-09 01:11:31 +00:00
Victor Stinner 58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
Victor Stinner ae4836df6d Issue #6011: decode PREFIX, EXEC_PREFIX and PYTHONPATH variables using
_Py_char2wchar(), instead of L"" VAR hack, to escape undecodable bytes using
the surrogateescape error handler.
2010-11-08 23:49:47 +00:00
Victor Stinner d5af0a5df0 PyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails 2010-11-08 23:34:29 +00:00
Victor Stinner 19de4c3a8c _Py_char2wchar() frees the memory on conversion error
Explain in the documentation that conversion errors should never happen.
2010-11-08 23:30:46 +00:00
Alexander Belopolsky 18c33737f8 Fixed unit test failure on Windows 2010-11-08 23:10:20 +00:00
Victor Stinner 2f02a51135 PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails
* Add error_pos optional argument to _Py_wchar2char()
 * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if
   _Py_wchar2char() fails
2010-11-08 22:43:46 +00:00
Éric Araujo 0cfba09b09 This was actually fixed for the previous alpha. 2010-11-08 21:48:23 +00:00
Antoine Pitrou ea510eba1a Fix memory consumption advertised by some test cases 2010-11-08 21:40:13 +00:00
Antoine Pitrou d7ae299e4b Fix test_hashlib with the bigmem option 2010-11-08 20:36:57 +00:00
Alexander Belopolsky 6672ea9424 Streamlined code in trace.Ignore and added unit tests. 2010-11-08 18:32:40 +00:00
Éric Araujo 551f02ca63 Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
2010-11-08 18:15:17 +00:00
R. David Murray 7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Éric Araujo a563392f92 Move a news entry to the right section (+ light reformatting) 2010-11-08 17:13:03 +00:00
Georg Brandl b8bbffd34d Fix next version name. 2010-11-08 16:57:52 +00:00
Georg Brandl 49d474195f Fix typo. 2010-11-08 11:08:35 +00:00