Commit Graph

51796 Commits

Author SHA1 Message Date
Florent Xicluna dcbb822c08 Fix documentation formatting. 2011-10-23 23:37:46 +02:00
Florent Xicluna 72ca42af8b Merge heads 2011-10-23 22:47:56 +02:00
Florent Xicluna e9126b5e3b Merge 3.2 2011-10-23 22:44:19 +02:00
Ezio Melotti 26358cc403 Remove obsolete FAQ. 2011-10-23 23:42:51 +03:00
Florent Xicluna 023611f34e Issue 13141: Demonstrate recommended style for socketserver examples. 2011-10-23 22:40:37 +02:00
Florent Xicluna 6d57d212a8 Documentation typo. 2011-10-23 22:23:57 +02:00
Florent Xicluna 2bb96f593a Cleanup code: remove int/long idioms and simplify a while statement. 2011-10-23 22:11:00 +02:00
Mark Dickinson 8d48b43ea9 Issue #12965: Fix some inaccurate comments in Objects/longobject.c. Thanks Stefan Krah. 2011-10-23 20:47:14 +01:00
Mark Dickinson 30970e9e44 Issue #10925: Add equivalent pure Python code for the builtin int-to-float conversion to test_long. 2011-10-23 20:07:13 +01:00
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 2011-10-23 19:53:01 +01:00
Petri Lehtinen a2a2e480f3 Merge 3.2 2011-10-23 21:07:50 +03:00
Petri Lehtinen ce77037503 Add the green "New reference" note to the doc of PyException_GetTraceback() 2011-10-23 21:03:33 +03:00
Martin v. Löwis 9af29d39af Rewrite find_module_path using unicode API. 2011-10-23 18:45:16 +02:00
Martin v. Löwis 2cc0cc54a2 Fix off-by-one error. 2011-10-23 18:41:56 +02:00
Martin v. Löwis fadcd317fa Drop unused macros. Use CACHEDIR consistently. 2011-10-23 18:08:20 +02:00
Martin v. Löwis 8a0ef78e8c Rewrite make_source_pathname using Unicode API. 2011-10-23 18:05:06 +02:00
Martin v. Löwis 30260a7fe3 Add ready checks for make_compiled_pathname. 2011-10-23 17:35:46 +02:00
Martin v. Löwis 2db72863fb Reformulate make_compiled_pathname in terms of unicode objects. 2011-10-23 17:29:08 +02:00
Nick Coghlan 9715d26305 Merge issue 1294232 patch from 3.2 2011-10-23 22:36:42 +10:00
Nick Coghlan de31b191e5 Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban. 2011-10-23 22:04:16 +10:00
Antoine Pitrou a0e0e23299 Add a docstring to SSLError 2011-10-22 23:41:52 +02:00
Antoine Pitrou b7705b7792 Use PyExc_OSError directly instead of grabbing it from the socket module API 2011-10-22 23:37:51 +02:00
Antoine Pitrou 57735a0d6a Add missing prefixes 2011-10-22 22:08:46 +02:00
Antoine Pitrou b965b3938a Elaborate on representations and canonical/legacy unicode objects 2011-10-22 22:08:05 +02:00
Antoine Pitrou e6b99a1832 Move deprecated functions at the end of their respective sections. 2011-10-22 21:56:20 +02:00
Meador Inge 70d86bdef1 Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.py
Parser/asdl_c.py was missed in commit 7109f31300fb when _Py_identifier
was replaced with _Py_IDENTIFIER.  Thanks to Eric Snow for the patch.
2011-10-22 14:06:50 -05:00
Éric Araujo 661161ed86 Avoid relying on the default reST role in logging library doc 2011-10-22 19:29:48 +02:00
Vinay Sajip 0a889534e7 Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning. 2011-10-22 13:34:48 +01:00
Victor Stinner dd18d3ad9e Fix unicode_subtype_new() on debug build
Patch written by Stefan Behnel.
2011-10-22 11:08:10 +02:00
Éric Araujo df7b66546c Fix text duplication. Spotted by Nick Coghlan, thanks! 2011-10-22 01:44:36 +02:00
Ezio Melotti f881751ded Remove unused variable. 2011-10-22 01:01:32 +03:00
Ezio Melotti 4837e39b08 #12753: fix compilation on Windows. 2011-10-22 00:24:17 +03:00
Ezio Melotti 931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 2011-10-21 21:57:36 +03:00
Éric Araujo 3764a964ca Banch merge 2011-10-21 15:52:10 +02:00
Vinay Sajip 04d5bc00a2 Closes #13235: Added deprecation for warn() methods and function in logging. 2011-10-21 07:33:42 +01:00
Éric Araujo 89d3a69d83 Add tests for packaging.tests.support (#12659).
Thanks to Francisco Martín Brugué for the patch.
2011-10-21 07:56:32 +02:00
Éric Araujo 4d4b19e294 Document that packaging doesn’t create __init__.py files (#3902).
The bug reported expected distutils to create an __init__.py file for a
project using only C extension modules.  IMO, how Python imports
packages and submodules is well documented, and it’s never suggested
that distutils might create an __init__.py file, so I’m adding this
clarification to the packaging docs but won’t backport unless other
people tell me they shared the same wrong expectation.

Thanks to Mike Hoy for his help with the patch.
2011-10-21 07:34:00 +02:00
Éric Araujo f89ebdc358 Fix missing imports in setup scripts generated by packaging (#13205).
I’ve made more edits than the bug report suggested to make sure the
generated setup script is compatible with many Python versions; a
comment in the source explains that in detail.

The cfg_to_args function uses old 2.x idioms like codecs.open and
RawConfigParser.readfp because I want the setup.py generated by packaging and
distutils2 to be the same.  Most users won’t see the deprecation warning and I
ignore it in the test suite.

Thanks to David Barnett for the report and original patch.
2011-10-21 06:27:06 +02:00
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument.  Patch by Petri Lehtinen.
2011-10-20 23:54:17 +02:00
Florent Xicluna 407cfd1a26 Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:14:36 +02:00
Florent Xicluna 711f87ca7d Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:03:43 +02:00
Ezio Melotti 0cc147e9a2 #13233: null merge with 3.2. 2011-10-20 19:53:35 +03:00
Ezio Melotti cd1d3ef77b #13233: fix typo. 2011-10-20 19:51:18 +03:00
Ezio Melotti 9927e0ce35 Merge heads. 2011-10-20 19:45:39 +03:00
Raymond Hettinger d11a64d54c merge 2011-10-20 09:43:12 -07:00
Raymond Hettinger ded203f7c9 Bytes are already distinct from text, so typed=True isn't necessary. 2011-10-20 09:42:05 -07:00
Ezio Melotti 27607290a6 #13219: merge with 3.2. 2011-10-20 19:40:44 +03:00
Ezio Melotti 81231d9379 #13219: clarify section about character sets in the re documentation. 2011-10-20 19:38:04 +03:00
Senthil Kumaran 6e7c155489 merge heads 2011-10-21 00:34:27 +08:00
Senthil Kumaran 00e36e59ea News entry for Issue12529 and Issue12604 2011-10-21 00:31:40 +08:00