Donald Stufft
8aaff54db3
Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7
...
* Backports ensurepip to the 2.7 branch
* Backports some of the improved documentation to the 2.7 branch.
* Adds a private backport of the 3.x mock library as test._mock_backport
to enable saner testing of ensurepip.
Key Differences from 3.x:
* Ensurepip does not have any Makefile integration, specifically
it is not ran by default in the Makefile.
* There is no venv module in 2.7, so downstream distributors can
completely disable ensurepip, ideally with a message redirecting
to the correct way to install pip.
* To match the ``python`` command in 2.7, ensurepip will install
the unversioned ``pip`` command as well.
* No-op and hide --default-pip and add --no-default-pip to restore
the 3.x behavor on 2.7.
2014-11-11 10:24:11 -05:00
Serhiy Storchaka
04eee63949
Issue #22845 : Improved formatting of dis documentation.
2014-11-11 10:02:57 +02:00
Serhiy Storchaka
e927757df6
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:02 +02:00
Serhiy Storchaka
069bdcbb25
Issue #22821 : Fixed fcntl() with integer argument on 64-bit big-endian
...
platforms.
2014-11-10 10:42:06 +02:00
Raymond Hettinger
3454941d26
Use internal links where possible
2014-11-09 17:25:42 -08:00
Raymond Hettinger
ccae479e2d
Issue 22830: Clarify docs for functools.cmp_to_key().
2014-11-09 17:10:17 -08:00
Raymond Hettinger
fb136d19ff
Remove unused import
2014-11-07 22:47:30 -08:00
Serhiy Storchaka
c4d2760a6a
Silence the failure of test_pyclbr after adding a property in sre_parse
...
(issue #814253 ).
2014-11-07 22:31:54 +02:00
Serhiy Storchaka
15ea870e29
Issues #814253 , #9179 : Group references and conditional group references now
...
work in lookbehind assertions in regular expressions.
2014-11-07 21:43:45 +02:00
Serhiy Storchaka
b4f3d80d4f
Backported tests for issue #22406 .
2014-11-07 14:07:43 +02:00
Serhiy Storchaka
4535b11147
Issue #17293 : uuid.getnode() now determines MAC address on AIX using netstat.
...
Based on patch by Aivars Kalvāns.
2014-11-07 12:19:23 +02:00
Serhiy Storchaka
7a02582329
Issue #22769 : Fixed ttk.Treeview.tag_has() when called without arguments.
2014-11-07 12:02:11 +02:00
Georg Brandl
a6a8a4f5f7
merge heads
2014-11-06 14:56:47 +01:00
Georg Brandl
6246f2a103
#22650 : test suite: load Unicode test data files from www.pythontest.net
2014-11-06 14:37:49 +01:00
Benjamin Peterson
9dcab59b08
fix test where sizeof(long) != sizeof(int)
2014-11-06 00:52:58 -05:00
Steve Dower
b3067a2023
Fixes path to patchlevel.py in doc/make.bat
2014-11-05 20:13:46 -08:00
Steve Dower
31221a7285
Issue #20160 : broken ctypes calling convention on MSVC / 64-bit Windows (large structs). Patch by mattip
2014-11-05 19:16:05 -08:00
Georg Brandl
a1137fba89
Closes #22525 : clarify documentation for ast.literal_eval().
2014-11-05 20:20:28 +01:00
Benjamin Peterson
9580510958
use pythontest.net for url fragment test
2014-11-05 11:27:14 -05:00
Victor Stinner
57b00ed0a0
Issue #19753 : Fix test_gdb on SystemZ buildbot, ignore warnings
2014-11-05 15:07:18 +01:00
Antoine Pitrou
06c14976dc
Issue #22773 : fix failing test with old readline versions due to issue #19884 .
2014-11-04 14:52:10 +01:00
Benjamin Peterson
93c41335ab
allow keyfile argument to be None ( closes #22787 )
2014-11-03 21:12:05 -05:00
Benjamin Peterson
04439fd5ee
test that keyfile can be None
2014-11-03 21:05:01 -05:00
Serhiy Storchaka
186c5f07e6
Issue #22775 : Fixed unpickling of Cookie.SimpleCookie with protocol 2.
...
Patch by Tim Graham.
2014-11-02 22:35:47 +02:00
Ezio Melotti
009352aefd
#22751 : fix test___all__ warning about modified environment in the tests. Patch by Michael Cetrulo.
2014-11-02 19:08:35 +02:00
Zachary Ware
21a2350a83
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:34:09 -05:00
Ned Deily
33db23f53c
Issue #22770 : Prevent some Tk segfaults on OS X when running gui tests.
...
When running tests in subprocesses with the regrtest -j option, a bug
in Cocoa Tk can result in a Tcl segfault. Avoid the problem by forcing
Tk to fully initialize as an OS X gui process before destroying the
Tcl instance and creating another. (Original patch by Serhiy Storchaka)
2014-11-01 19:26:45 -07:00
Zachary Ware
247b6441a0
Issue #17717 : Pull NASM from svn.python.org for OpenSSL build.
2014-11-01 17:11:08 -05:00
Vinay Sajip
a79d6f40df
Brought excluded code into the scope of a try block in SysLogHandler.emit().
2014-11-01 19:56:13 +00:00
Georg Brandl
409062c669
Closes #22772 : fix __ifloordiv__ and __itruediv__ docstring.
2014-10-31 13:12:57 +01:00
Serhiy Storchaka
e9e54ae222
Issue #17381 : Fixed ranges handling in case-insensitive regular expressions.
2014-10-31 13:53:21 +02:00
Serhiy Storchaka
c04fcd40bd
Backported the optimization of compiling charsets in regular expressions
...
(issue #19329 ). This is needed to apply the patch from issue #17381 .
2014-10-31 13:34:06 +02:00
Georg Brandl
34d1597bb7
#22613 : fix several factual errors in builtin docs (thanks Jacques Ducasse)
2014-10-31 09:41:46 +01:00
Georg Brandl
500380135b
#22613 : minor other fixes in library docs (thanks Jacques Ducasse)
2014-10-31 10:25:48 +01:00
Georg Brandl
fb52e38aba
#22613 : document Cmd.cmdqueue (thanks Jacques Ducasse)
2014-10-31 10:25:38 +01:00
Georg Brandl
c182f888db
minor grammar fixes (from docs@python.org)
2014-10-31 09:29:38 +01:00
Serhiy Storchaka
e969b1b80e
Fixed compile error in issue #22410 . The _locale module is optional.
2014-10-31 01:31:33 +02:00
Serhiy Storchaka
d4c7290368
Issue #22410 : Module level functions in the re module now cache compiled
...
locale-dependent regular expressions taking into account the locale.
2014-10-31 00:53:19 +02:00
Georg Brandl
65566984b0
rstlint: make the "html leaked markup" regex a bit less sensitive
2014-10-30 22:49:06 +01:00
Georg Brandl
d4754b0a9d
rstlint: add more directives we use
2014-10-30 22:35:55 +01:00
Georg Brandl
f3f50526cc
Doc: fix default role usage (except in unittest mock docs)
2014-10-30 22:26:26 +01:00
Antoine Pitrou
78be2f4e01
Issue #8876 : distutils now falls back to copying files when hard linking doesn't work.
...
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
Georg Brandl
0f5d6c00b4
Fixing broken links in doc, part 4: some more breaks and redirects
2014-10-29 10:57:37 +01:00
Georg Brandl
cea2725736
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).
2014-10-29 10:57:01 +01:00
Georg Brandl
97ae4660e1
Fixing broken links in doc, part 3: the rest
2014-10-29 10:26:56 +01:00
Georg Brandl
0ffb46261c
Fixing broken links in doc, part 2: howto/
2014-10-29 09:37:43 +01:00
Georg Brandl
fa55a317e4
Fixing broken links in doc, part 1: faq/
2014-10-29 09:24:54 +01:00
Georg Brandl
ea64fb734f
Fix external links to docs.python.org to use internal links instead.
2014-10-29 09:00:30 +01:00
Georg Brandl
66e624b18c
Remove now-dead link to IDLE debugger doc and add PyCharm to the commercial IDEs.
2014-10-29 08:55:14 +01:00
Georg Brandl
00da140c63
Update "where is python.org hosted" FAQ.
2014-10-29 08:52:43 +01:00