Commit graph

43198 commits

Author SHA1 Message Date
Donald Stufft
9a64ccb997 Merge - Upgrade setuptools to 7.0 2014-11-11 11:06:49 -05:00
Donald Stufft
dfede95a06 Upgrade setuptools to 7.0 2014-11-11 11:01:09 -05:00
Serhiy Storchaka
1b2004f059 Fixed error position for the backslash at the end of regex pattern. 2014-11-10 18:28:53 +02:00
Serhiy Storchaka
b99c132bd9 Fixed AttributeError when the regular expression starts from illegal escape. 2014-11-10 14:38:16 +02:00
Serhiy Storchaka
ce40e1a081 Fixed IDLE tests after changing re error messages (issue #22578). 2014-11-10 14:18:03 +02:00
Serhiy Storchaka
ad446d57a9 Issue #22578: Added attributes to the re.error class. 2014-11-10 13:49:00 +02:00
Serhiy Storchaka
eb99e51574 Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
2014-11-10 13:25:14 +02:00
Serhiy Storchaka
19e9158497 Got rid of the array module dependency in the re module.
The re module could be used during building before array is built.
2014-11-10 13:24:47 +02:00
Serhiy Storchaka
5619ab926b Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.
2014-11-10 12:43:14 +02:00
Serhiy Storchaka
0c938f6d24 Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.
2014-11-10 12:37:16 +02:00
Serhiy Storchaka
5f33677219 Merge heads 2014-11-10 10:21:03 +02:00
Berker Peksag
39e4c4d873 Issue #21650: Add an --sort-keys option to json.tool CLI. 2014-11-10 09:56:54 +02:00
Raymond Hettinger
ffd842e1d6 Issue #22824: Updated reprlib output format for sets to use set literals. 2014-11-09 22:30:36 -08:00
Raymond Hettinger
df1b699447 Issue #22823: Use set literals instead of creating a set from a list 2014-11-09 15:56:33 -08:00
Serhiy Storchaka
c7f7d3897e Issue #22434: Constants in sre_constants are now named constants (enum-like). 2014-11-09 20:48:36 +02:00
Serhiy Storchaka
479c1176bf Silence the failure of test_pyclbr after adding a property in sre_parse
(issue #814253).
2014-11-07 22:33:19 +02:00
Serhiy Storchaka
3402ef6c8d Silence the failure of test_pyclbr after adding a property in sre_parse
(issue #814253).
2014-11-07 22:32:37 +02:00
Serhiy Storchaka
6276b32799 Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.
2014-11-07 21:45:17 +02:00
Serhiy Storchaka
84df7fe6a2 Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.
2014-11-07 21:43:57 +02:00
Serhiy Storchaka
85e7066278 Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Based on patch by Martin Panter.
2014-11-07 14:06:19 +02:00
Serhiy Storchaka
519114df42 Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x.
Based on patch by Martin Panter.
2014-11-07 14:04:37 +02:00
Serhiy Storchaka
57b967791a Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.
2014-11-07 12:23:30 +02:00
Serhiy Storchaka
e66bb96929 Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.
2014-11-07 12:19:40 +02:00
Serhiy Storchaka
7c28999cb2 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:03:09 +02:00
Serhiy Storchaka
8e92f57274 Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:02:31 +02:00
Georg Brandl
9f2e0d6a86 merge with 3.4 2014-11-06 15:33:35 +01:00
Georg Brandl
72a7f7c476 Try to transfer the Unicode test data files gzipped. 2014-11-06 15:33:30 +01:00
Georg Brandl
2f5f2908d2 merge with 3.4 2014-11-06 14:38:23 +01:00
Georg Brandl
5a15508f97 #22650: test suite: load Unicode test data files from www.pythontest.net 2014-11-06 14:37:49 +01:00
Steve Dower
5c2939cc41 Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip 2014-11-05 19:30:30 -08:00
Georg Brandl
dca213dd77 merge with 3.4 2014-11-05 22:17:29 +01:00
Antoine Pitrou
f25358265a Closes #22784: fix test_asyncio when the ssl module isn't available 2014-11-05 20:48:40 +01:00
Antoine Pitrou
50219fcd23 Closes #22784: fix test_asyncio when the ssl module isn't available 2014-11-05 20:48:16 +01:00
Georg Brandl
89644d080b Issue #25940: Backport self-signed.pythontest.net testing for test_httplib
The svn.python.org server recently changed root certificate, causing the test
to fail. This backports revision 4985375db40f.
2014-11-05 20:37:40 +01:00
Georg Brandl
fbaf931096 test_httplib: use self-signed.pythontest.net for verification test with non-root-CA cert 2014-11-05 20:37:40 +01:00
Benjamin Peterson
81d9feee8d merge 3.4 2014-11-05 13:10:16 -05:00
Benjamin Peterson
b811a97859 use pythontest.net for fragment redirection test 2014-11-05 13:10:08 -05:00
Benjamin Peterson
141579c886 merge 3.4 2014-11-05 11:31:02 -05:00
Benjamin Peterson
1d83002748 remove requires_ssl decorator 2014-11-05 11:30:21 -05:00
Benjamin Peterson
67a9877866 merge 3.3 2014-11-05 11:30:00 -05:00
Benjamin Peterson
e71abcc7bb merge 3.2 2014-11-05 11:29:39 -05:00
Benjamin Peterson
258f3f0dc2 use pythontest.net for url fragment test 2014-11-05 11:27:14 -05:00
Victor Stinner
3f4d59eb21 Issue #22793, #22637: Add missing "import os" in uuid._ifconfig_getnode() 2014-11-05 16:55:36 +01:00
Victor Stinner
5239caf835 (Merge 3.4) asyncio: Move loop attribute to _FlowControlMixin
Move the _loop attribute from the constructor of _SelectorTransport,
_ProactorBasePipeTransport and _UnixWritePipeTransport classes to the
constructor of the _FlowControlMixin class.

Add also an assertion to explicit that the parent class must ensure that the
loop is defined (not None)
2014-11-05 15:27:54 +01:00
Victor Stinner
004adb91f6 asyncio: Move loop attribute to _FlowControlMixin
Move the _loop attribute from the constructor of _SelectorTransport,
_ProactorBasePipeTransport and _UnixWritePipeTransport classes to the
constructor of the _FlowControlMixin class.

Add also an assertion to explicit that the parent class must ensure that the
loop is defined (not None)
2014-11-05 15:27:41 +01:00
Steve Dower
b7fa201113 Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip 2014-11-04 21:21:22 -08:00
Robert Collins
68b11d129d Fix regression in issue 22457 fix.
When used in the real world it can under some situations trigger
"    assert not _relpath.startswith('..'), "Path must be within the project"
     AssertionError: Path must be within the project
"

Because _get_name_from_path was not expecting to be called with the top level
directory.
2014-11-05 03:43:36 +13:00
Robert Collins
bf2bda3c97 Close #22457: Honour load_tests in the start_dir of discovery.
We were not honouring load_tests in a package/__init__.py when that was the
start_dir parameter, though we do when it is a child package. The fix required
a little care since it introduces the possibility of infinite recursion.
2014-11-05 03:09:01 +13:00
Antoine Pitrou
d39e199a0d Issue #22773: fix failing test with old readline versions due to issue #19884. 2014-11-04 14:53:01 +01:00
Antoine Pitrou
7e8b8678f1 Issue #22773: fix failing test with old readline versions due to issue #19884. 2014-11-04 14:52:10 +01:00