]> granicus.if.org Git - python/log
python
12 years agoNull merge from 3.2.
Vinay Sajip [Thu, 31 May 2012 11:38:55 +0000 (12:38 +0100)]
Null merge from 3.2.

12 years agoAdded test skip under Windows, as not applicable there.
Vinay Sajip [Thu, 31 May 2012 11:37:04 +0000 (12:37 +0100)]
Added test skip under Windows, as not applicable there.

12 years agoIssue #14909: A number of places were using PyMem_Realloc() apis and
Kristjan Valur Jonsson [Thu, 31 May 2012 09:37:31 +0000 (09:37 +0000)]
Issue #14909: A number of places were using PyMem_Realloc() apis and
PyObject_GC_Resize() with incorrect error handling.  In case of errors,
the original object would be leaked.  This checkin fixes those cases.

12 years agoMake parameterized tests in email less hackish.
R David Murray [Thu, 31 May 2012 01:53:40 +0000 (21:53 -0400)]
Make parameterized tests in email less hackish.

Or perhaps more hackish, depending on your perspective.  But at least this
way it is now possible to run the individual tests using the unittest CLI.

12 years agoMerge heads.
Georg Brandl [Wed, 30 May 2012 20:04:57 +0000 (22:04 +0200)]
Merge heads.

12 years agoAdded tag v3.3.0a4 for changeset 7c51388a3aa7
Georg Brandl [Wed, 30 May 2012 20:04:40 +0000 (22:04 +0200)]
Added tag v3.3.0a4 for changeset 7c51388a3aa7

12 years agoBump version to 3.3.0a4. v3.3.0a4
Georg Brandl [Wed, 30 May 2012 20:04:31 +0000 (22:04 +0200)]
Bump version to 3.3.0a4.

12 years agoUpdate pydoc topics and fix new suspicious markup.
Georg Brandl [Wed, 30 May 2012 20:03:20 +0000 (22:03 +0200)]
Update pydoc topics and fix new suspicious markup.

12 years agoIssue #14007: implemented the 'element_factory' feature of TreeBuilder in
Eli Bendersky [Wed, 30 May 2012 14:57:50 +0000 (17:57 +0300)]
Issue #14007: implemented the 'element_factory' feature of TreeBuilder in
_elementtree, with a test.

12 years agoClose #14947: add missing cross-reference to Language Definition from the new dynamic...
Nick Coghlan [Wed, 30 May 2012 12:17:30 +0000 (22:17 +1000)]
Close #14947: add missing cross-reference to Language Definition from the new dynamic type creation functions. Also cleaned up the general wording of the docs

12 years ago#14796: fix failure of new calendar test on windows.
R David Murray [Wed, 30 May 2012 12:10:54 +0000 (08:10 -0400)]
#14796: fix failure of new calendar test on windows.

12 years agoClose #14690: Use monotonic clock instead of system clock in the sched,
Victor Stinner [Wed, 30 May 2012 11:30:32 +0000 (13:30 +0200)]
Close #14690: Use monotonic clock instead of system clock in the sched,
subprocess and trace modules.

12 years agoIssue #14958: Change IDLE systax highlighting to recognize all string and
Ned Deily [Wed, 30 May 2012 05:55:43 +0000 (22:55 -0700)]
Issue #14958: Change IDLE systax highlighting to recognize all string and
byte literals supported in Python 3.3.

12 years agoMerge 3.2 news item
Brian Curtin [Tue, 29 May 2012 23:44:17 +0000 (18:44 -0500)]
Merge 3.2 news item

12 years agoAdd news item for #14943
Brian Curtin [Tue, 29 May 2012 23:41:30 +0000 (18:41 -0500)]
Add news item for #14943

12 years agoFix #14943. Merge 3.2
Brian Curtin [Tue, 29 May 2012 23:36:40 +0000 (18:36 -0500)]
Fix #14943. Merge 3.2

12 years agoFix #14943. Update the proper default value and list the proper argument names in...
Brian Curtin [Tue, 29 May 2012 23:34:45 +0000 (18:34 -0500)]
Fix #14943. Update the proper default value and list the proper argument names in the explanation.

12 years agoReapplied skip logic for test on Windows, which appears to have been lost during...
Vinay Sajip [Tue, 29 May 2012 21:48:10 +0000 (22:48 +0100)]
Reapplied skip logic for test on Windows, which appears to have been lost during a merge.

12 years agoUpdated test to reflect renamed file.
Vinay Sajip [Tue, 29 May 2012 21:29:50 +0000 (22:29 +0100)]
Updated test to reflect renamed file.

12 years agoIssue #10997: merge from 3.2
Ned Deily [Tue, 29 May 2012 17:51:38 +0000 (10:51 -0700)]
Issue #10997: merge from 3.2

12 years agoIssue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
Ned Deily [Tue, 29 May 2012 17:43:36 +0000 (10:43 -0700)]
Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.

12 years ago#14796: improve calendar test coverage.
R David Murray [Tue, 29 May 2012 16:55:05 +0000 (12:55 -0400)]
#14796: improve calendar test coverage.

Patch by Oleg Plakhotnyuk.

12 years agoIssue #14744: Fix compilation on Windows (part 2)
Victor Stinner [Tue, 29 May 2012 16:53:56 +0000 (18:53 +0200)]
Issue #14744: Fix compilation on Windows (part 2)

12 years agoIssue #14744: Fix compilation on Windows
Victor Stinner [Tue, 29 May 2012 16:51:10 +0000 (18:51 +0200)]
Issue #14744: Fix compilation on Windows

12 years ago#10839: add new test file that was omitted from checkin
R David Murray [Tue, 29 May 2012 16:31:11 +0000 (12:31 -0400)]
#10839: add new test file that was omitted from checkin

12 years ago#10839: raise an error on add of duplicate unique headers in new email policies
R David Murray [Tue, 29 May 2012 13:14:44 +0000 (09:14 -0400)]
#10839: raise an error on add of duplicate unique headers in new email policies

This feature was supposed to be part of the initial email6 checkin, but it got
lost in my big refactoring.

In this patch I'm not providing an easy way to turn off the errors, but they
only happen when a header is added programmatically, and it is almost never
the right thing to do to allow the duplicate to be added.  An application that
needs to add duplicates of unique headers can create a policy subclass to
allow it.

12 years agomerge heads
Eli Bendersky [Tue, 29 May 2012 12:45:40 +0000 (15:45 +0300)]
merge heads

12 years agoIssue #14007: make TreeBuilder an actual type exposed from _elementtree, and subclass...
Eli Bendersky [Tue, 29 May 2012 12:45:16 +0000 (15:45 +0300)]
Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and subclassable.

12 years agoMerged upstream changes.
Vinay Sajip [Tue, 29 May 2012 11:53:00 +0000 (12:53 +0100)]
Merged upstream changes.

12 years agoAdded pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip [Tue, 29 May 2012 11:52:14 +0000 (12:52 +0100)]
Added pyvenv docs to 'Python Setup and Usage' section.

12 years agoIssue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and...
Victor Stinner [Tue, 29 May 2012 10:57:52 +0000 (12:57 +0200)]
Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args)

 * Formatting string, int, float and complex use the _PyUnicodeWriter API. It
   avoids a temporary buffer in most cases.
 * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just
   keep a reference to the string if the output is only composed of one string
 * Disable overallocation when formatting the last argument of str%args and
   str.format(args)
 * Overallocation allocates at least 100 characters: add min_length attribute
   to the _PyUnicodeWriter structure
 * Add new private functions: _PyUnicode_FastCopyCharacters(),
   _PyUnicode_FastFill() and _PyUnicode_FromASCII()

The speed up is around 20% in average.

12 years agoPyArg_Parse*("U"): ensure that the Unicode string is ready
Victor Stinner [Tue, 29 May 2012 10:30:29 +0000 (12:30 +0200)]
PyArg_Parse*("U"): ensure that the Unicode string is ready

12 years agoUse Python 3.x-style keyword only arg in Array()
Richard Oudkerk [Tue, 29 May 2012 11:01:47 +0000 (12:01 +0100)]
Use Python 3.x-style keyword only arg in Array()

Previously a Python 2.x compatible hack was used for
multiprocessing.sharedctypes.Array().  Also the documented
signature was wrong.

12 years agoRemove __getslice__, __setslice__, __delslice__ methods from proxies
Richard Oudkerk [Tue, 29 May 2012 11:01:45 +0000 (12:01 +0100)]
Remove __getslice__, __setslice__, __delslice__ methods from proxies

Proxy classes in multiprocessing do not need these methods in Python 3.x.

12 years agoRemoved pysetup3.exe executable.
Vinay Sajip [Tue, 29 May 2012 10:12:43 +0000 (11:12 +0100)]
Removed pysetup3.exe executable.

12 years ago#14835: Make plistlib output empty arrays & dicts like OS X
Hynek Schlawack [Tue, 29 May 2012 10:04:54 +0000 (12:04 +0200)]
#14835: Make plistlib output empty arrays & dicts like OS X

Patch by Sidney San Martín.

12 years agoIssue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.
Eli Bendersky [Tue, 29 May 2012 03:02:56 +0000 (06:02 +0300)]
Issue 14814: Add namespaces keyword arg to find(*) methods in _elementtree.
Add attrib keyword to Element and SubElement in _elementtree.
Patch developed with Ezio Melotti.

12 years agoRefactor test_email/test_pickleable and add tests for date headers
R David Murray [Tue, 29 May 2012 01:09:04 +0000 (21:09 -0400)]
Refactor test_email/test_pickleable and add tests for date headers

12 years agoRegularize test_email/test_headerregistry's references to policy.
R David Murray [Tue, 29 May 2012 00:22:37 +0000 (20:22 -0400)]
Regularize test_email/test_headerregistry's references to policy.

12 years agoRefactor test_email/test_defect_handling.
R David Murray [Tue, 29 May 2012 00:14:10 +0000 (20:14 -0400)]
Refactor test_email/test_defect_handling.

12 years agoIssue #14930: Make memoryview objects weakrefable.
Richard Oudkerk [Mon, 28 May 2012 20:35:09 +0000 (21:35 +0100)]
Issue #14930: Make memoryview objects weakrefable.

12 years agoIssue #14775: Fix a potential quadratic dict build-up due to the garbage collector...
Antoine Pitrou [Mon, 28 May 2012 20:23:42 +0000 (22:23 +0200)]
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.

12 years agoIssue #14775: Fix a potential quadratic dict build-up due to the garbage collector...
Antoine Pitrou [Mon, 28 May 2012 20:22:34 +0000 (22:22 +0200)]
Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts.
Additional comments by Tim Silk.

12 years agoIssue #9041: raised exception is misleading
Meador Inge [Mon, 28 May 2012 19:47:53 +0000 (14:47 -0500)]
Issue #9041: raised exception is misleading

An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.

12 years agoIssue #9041: raised exception is misleading
Meador Inge [Mon, 28 May 2012 19:21:16 +0000 (14:21 -0500)]
Issue #9041: raised exception is misleading

An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.

12 years agoFixed typo.
Vinay Sajip [Mon, 28 May 2012 16:01:17 +0000 (17:01 +0100)]
Fixed typo.

12 years agoTweaked tests to use launcher executable name on OS X.
Vinay Sajip [Mon, 28 May 2012 15:34:47 +0000 (16:34 +0100)]
Tweaked tests to use launcher executable name on OS X.

12 years agoAdded python3 symlink; removed Distribute-related code, docs and comments; changed...
Vinay Sajip [Mon, 28 May 2012 15:33:01 +0000 (16:33 +0100)]
Added python3 symlink; removed Distribute-related code, docs and comments; changed Mac OS X computation to determine framework builds.

12 years agoMerge from 3.2
Nick Coghlan [Mon, 28 May 2012 12:36:07 +0000 (22:36 +1000)]
Merge from 3.2

12 years agoIssue #14443: Tell rpmbuild to use the correct version of Python
Nick Coghlan [Mon, 28 May 2012 12:34:46 +0000 (22:34 +1000)]
Issue #14443: Tell rpmbuild to use the correct version of Python

12 years agoIssue #14660: Install namespace_pkgs test directories and files.
Ned Deily [Mon, 28 May 2012 05:34:33 +0000 (22:34 -0700)]
Issue #14660: Install namespace_pkgs test directories and files.

12 years agoMerge 3.2 #14929
Terry Jan Reedy [Mon, 28 May 2012 03:06:14 +0000 (23:06 -0400)]
Merge 3.2 #14929

12 years agoIssue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
Terry Jan Reedy [Mon, 28 May 2012 02:56:49 +0000 (22:56 -0400)]
Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.
Patch by Roger Serwy.

12 years ago#12515: email now registers a defect if the MIME end boundary is missing.
R David Murray [Mon, 28 May 2012 02:20:42 +0000 (22:20 -0400)]
#12515: email now registers a defect if the MIME end boundary is missing.

This commit also restores the news item for 167256 that it looks like
Terry inadvertently deleted.  (Either that, or I don't understand
now merging works...which is equally possible.)

12 years agomerge heads
Terry Jan Reedy [Mon, 28 May 2012 01:54:28 +0000 (21:54 -0400)]
merge heads

12 years agoMerge 3.2 closes #12510
Terry Jan Reedy [Mon, 28 May 2012 01:39:39 +0000 (21:39 -0400)]
Merge 3.2 closes #12510

12 years agoIssue12510: Attempting to get invalid tooltip no longer closes Idle.
Terry Jan Reedy [Mon, 28 May 2012 01:29:17 +0000 (21:29 -0400)]
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
Original patch by Roger Serwy.

12 years agoNews item for #1672568.
R David Murray [Mon, 28 May 2012 01:27:31 +0000 (21:27 -0400)]
News item for #1672568.

12 years ago#1672568: email now registers defects for base64 payload format errors.
R David Murray [Mon, 28 May 2012 01:23:34 +0000 (21:23 -0400)]
#1672568: email now registers defects for base64 payload format errors.

Which also means that it is now producing *something* for any base64
payload, which is what leads to the couple of older test changes in
test_email.  This is a slightly backward incompatible behavior change,
but the new behavior is so much more useful than the old (you can now
*reliably* detect errors, and any program that was detecting errors by
sniffing for a base64 return from get_payload(decode=True) and then doing
its own error-recovery decode will just get the error-recovery decode
right away).  So this seems to me to be worth the small risk inherent
in this behavior change.

This patch also refactors the defect tests into a separate test file,
since they are no longer just parser tests.

12 years ago#14925: email now registers a defect for missing header/body separator.
R David Murray [Mon, 28 May 2012 00:45:01 +0000 (20:45 -0400)]
#14925: email now registers a defect for missing header/body separator.

This patch also deprecates the MalformedHeaderDefect.  My best guess is that
this defect was rendered obsolete by a refactoring of the parser, and the
corresponding defect for the new parser (which this patch introduces) was
overlooked.

12 years agoNull merge of email doc patch already applied to this branch.
R David Murray [Sun, 27 May 2012 21:18:28 +0000 (17:18 -0400)]
Null merge of email doc patch already applied to this branch.

12 years ago#11785: fix the :mod: references in email package submodule titles.
R David Murray [Sun, 27 May 2012 21:17:53 +0000 (17:17 -0400)]
#11785: fix the :mod: references in email package submodule titles.

12 years ago#11785: fix the :mod: references in email package submodule titles.
R David Murray [Sun, 27 May 2012 21:10:36 +0000 (17:10 -0400)]
#11785: fix the :mod: references in email package submodule titles.

Also adds the TOC entry for headerregistry.

12 years agoMake headerregistry fully part of the provisional api.
R David Murray [Sun, 27 May 2012 19:03:38 +0000 (15:03 -0400)]
Make headerregistry fully part of the provisional api.

When I made the checkin of the provisional email policy, I knew that
Address and Group needed to be made accessible from somewhere.  The more
I looked at it, though, the more it became clear that since this is a
provisional API anyway, there's no good reason to hide headerregistry as
a private API.  It was designed to ultimately be part of the public API,
and so it should be part of the provisional API.

This patch fully documents the headerregistry API, and deletes the
abbreviated version of those docs I had added to the provisional policy
docs.

12 years agoChanged executable name computation in test_venv to allow for debug executables.
Vinay Sajip [Sun, 27 May 2012 18:05:36 +0000 (19:05 +0100)]
Changed executable name computation in test_venv to allow for debug executables.

12 years agoRefined venv tests.
Vinay Sajip [Sun, 27 May 2012 17:39:22 +0000 (18:39 +0100)]
Refined venv tests.

12 years agoAdd '__all__' to _encoded_words and mark QByteMap as private.
R David Murray [Sun, 27 May 2012 16:39:54 +0000 (12:39 -0400)]
Add '__all__' to _encoded_words and mark QByteMap as private.

12 years agoFixed _sys_home computation and added diagnostics for Windows buildbot failures.
Vinay Sajip [Sun, 27 May 2012 16:30:09 +0000 (17:30 +0100)]
Fixed _sys_home computation and added diagnostics for Windows buildbot failures.

12 years agoClose #14857: fix regression in references to PEP 3135 implicit __class__ closure...
Nick Coghlan [Sun, 27 May 2012 08:17:07 +0000 (18:17 +1000)]
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue

12 years agoTweak importlib._bootstrap to avoid zero-argument super so I can work on issue #14857...
Nick Coghlan [Sun, 27 May 2012 07:49:58 +0000 (17:49 +1000)]
Tweak importlib._bootstrap to avoid zero-argument super so I can work on issue #14857 without breaking imports

12 years agoFix markup.
Georg Brandl [Sun, 27 May 2012 07:31:10 +0000 (09:31 +0200)]
Fix markup.

12 years agoMerge with 3.2 #10635 whitespace
Terry Jan Reedy [Sun, 27 May 2012 00:44:45 +0000 (20:44 -0400)]
Merge with 3.2 #10635 whitespace

12 years ago#10365 Trim trailing whitespace
Terry Jan Reedy [Sun, 27 May 2012 00:43:17 +0000 (20:43 -0400)]
#10365 Trim trailing whitespace

12 years agoMerge with 3.2
Terry Jan Reedy [Sun, 27 May 2012 00:29:25 +0000 (20:29 -0400)]
Merge with 3.2
Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.

12 years agoIssue #10365: File open dialog now works instead of crashing
Terry Jan Reedy [Sun, 27 May 2012 00:23:45 +0000 (20:23 -0400)]
Issue #10365: File open dialog now works instead of crashing
even when parent window is closed. Patch by Roger Serwy.

12 years agoMake multiprocessing's shared memory use memoryview instead of raw pointer
Richard Oudkerk [Sat, 26 May 2012 21:09:59 +0000 (22:09 +0100)]
Make multiprocessing's shared memory use memoryview instead of raw pointer

12 years agoMerge Issue #14876: Use user-selected font for highlight configuration.
Terry Jan Reedy [Sat, 26 May 2012 20:50:30 +0000 (16:50 -0400)]
Merge Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.

12 years agoIssue #14876: Use user-selected font for highlight configuration.
Terry Jan Reedy [Sat, 26 May 2012 20:31:00 +0000 (16:31 -0400)]
Issue #14876: Use user-selected font for highlight configuration.
Patch by Roger Serwy.

12 years agoMerged upstream changes.
Vinay Sajip [Sat, 26 May 2012 19:39:27 +0000 (20:39 +0100)]
Merged upstream changes.

12 years agoAddressed some buildbot errors and comments on the checkin by Antoine on python-dev.
Vinay Sajip [Sat, 26 May 2012 19:36:12 +0000 (20:36 +0100)]
Addressed some buildbot errors and comments on the checkin by Antoine on python-dev.

12 years ago#8739: upgrade smtpd to RFC 5321 and 1870.
R David Murray [Sat, 26 May 2012 18:33:59 +0000 (14:33 -0400)]
#8739: upgrade smtpd to RFC 5321 and 1870.

smtpd now handles EHLO and has infrastructure for extended smtp command mode.
The SIZE extension is also implemented.  In order to support parameters on
MAIL FROM, the RFC 5322 parser from the email package is used to parse the
address "token".

Logging subclasses things and overrides __init__, so it was necessary to
update those __init__ functions in the logging tests to make the logging tests
pass.

The original suggestion and patch were by Alberto Trevino.  Juhana Jauhiainen
added the --size argument and SIZE parameter support.  Michele Orrù improved
the patch and added more tests.  Dan Boswell conditionalized various bits of
code on whether or not we are in HELO or EHLO mode, as well as some other
improvements and tests.  I finalized the patch and added the address parsing.

12 years agoRecognize '<>' as a special case of an angle-addr in header_value_parser.
R David Murray [Sat, 26 May 2012 18:31:12 +0000 (14:31 -0400)]
Recognize '<>' as a special case of an angle-addr in header_value_parser.

Although '<>' is invalid according to RFC 5322, SMTP uses it for various
things, and it sometimes ends up in email headers.  This patch changes
get_angle_addr to recognize it and just register a Defect instead of raising a
parsing error.

12 years agoRemove some redundant decorators.
Brett Cannon [Sat, 26 May 2012 18:28:21 +0000 (14:28 -0400)]
Remove some redundant decorators.

12 years agoIssue #14814: Add a basic ipaddress tutorial (thanks to Sandro Tosi for the initial...
Nick Coghlan [Sat, 26 May 2012 15:53:33 +0000 (01:53 +1000)]
Issue #14814: Add a basic ipaddress tutorial (thanks to Sandro Tosi for the initial conversion from Peter Moody's wiki version)

12 years agoIssue #14814: Clean out an obsolete property and method from ipaddress Network objects
Nick Coghlan [Sat, 26 May 2012 15:03:25 +0000 (01:03 +1000)]
Issue #14814: Clean out an obsolete property and method from ipaddress Network objects

12 years agoIssue #14814: Cleanup ipaddress header comments
Nick Coghlan [Sat, 26 May 2012 14:57:25 +0000 (00:57 +1000)]
Issue #14814: Cleanup ipaddress header comments

12 years agoIssue #14814: In the spirit of TOOWTDI, ditch the redundant version parameter to...
Nick Coghlan [Sat, 26 May 2012 14:25:58 +0000 (00:25 +1000)]
Issue #14814: In the spirit of TOOWTDI, ditch the redundant version parameter to the factory functions by using the appropriate direct class references instead

12 years ago#14814: Some PEP8 adjustments and dead code weeding
Hynek Schlawack [Sat, 26 May 2012 10:04:56 +0000 (12:04 +0200)]
#14814: Some PEP8 adjustments and dead code weeding

12 years agoAdd missing versionadded.
Georg Brandl [Sat, 26 May 2012 07:11:22 +0000 (09:11 +0200)]
Add missing versionadded.

12 years ago#665194: Add a localtime function to email.utils.
R David Murray [Sat, 26 May 2012 03:22:59 +0000 (23:22 -0400)]
#665194: Add a localtime function to email.utils.

Without this function people would be tempted to use the other date functions
in email.utils to compute an aware localtime, and those functions are not as
good for that purpose as this code.  The code is Alexander Belopolsy's from
his proposed patch for issue 9527, with a fix (and additional tests) by Brian
K. Jones.

12 years ago#12586: Fix a small oversight in the new email policy header setting code.
R David Murray [Sat, 26 May 2012 02:53:12 +0000 (22:53 -0400)]
#12586: Fix a small oversight in the new email policy header setting code.

This is a danger of focusing on unit tests: sometimes you forget
to do the integration tests.

12 years agoMerged upstream changes.
Vinay Sajip [Sat, 26 May 2012 02:48:27 +0000 (03:48 +0100)]
Merged upstream changes.

12 years agoImplemented PEP 405 (Python virtual environments).
Vinay Sajip [Sat, 26 May 2012 02:45:29 +0000 (03:45 +0100)]
Implemented PEP 405 (Python virtual environments).

12 years agoAdd news entries for #14731 and #12586.
R David Murray [Sat, 26 May 2012 02:33:36 +0000 (22:33 -0400)]
Add news entries for #14731 and #12586.

12 years ago#12586: Expand What's New email entry with provisional policy features.
R David Murray [Sat, 26 May 2012 02:25:56 +0000 (22:25 -0400)]
#12586: Expand What's New email entry with provisional policy features.

12 years agoUpdated .hgeol for additional binaries.
Vinay Sajip [Sat, 26 May 2012 02:25:23 +0000 (03:25 +0100)]
Updated .hgeol for additional binaries.

12 years agoIssue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have...
Senthil Kumaran [Sat, 26 May 2012 01:55:28 +0000 (09:55 +0800)]
Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg

12 years agoIssue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have...
Senthil Kumaran [Sat, 26 May 2012 01:53:32 +0000 (09:53 +0800)]
Issue #14920: Fix the help(urllib.parse) failure on locale C terminals. Just have ascii in help msg

12 years ago#12586: add provisional email policy with new header parsing and folding.
R David Murray [Fri, 25 May 2012 22:42:14 +0000 (18:42 -0400)]
#12586: add provisional email policy with new header parsing and folding.

When the new policies are used (and only when the new policies are explicitly
used) headers turn into objects that have attributes based on their parsed
values, and can be set using objects that encapsulate the values, as well as
set directly from unicode strings.  The folding algorithm then takes care of
encoding unicode where needed, and folding according to the highest level
syntactic objects.

With this patch only date and time headers are parsed as anything other than
unstructured, but that is all the helper methods in the existing API handle.
I do plan to add more parsers, and complete the set specified in the RFC
before the package becomes stable.

12 years ago#14731: add preliminary What's New entry for policy framework.
R David Murray [Fri, 25 May 2012 21:59:56 +0000 (17:59 -0400)]
#14731: add preliminary What's New entry for policy framework.