Commit Graph

78450 Commits

Author SHA1 Message Date
Benjamin Peterson 79828343d8 add NEWS note for #22921 2014-11-23 20:15:31 -06:00
Benjamin Peterson 6fa40c496e fix versionchanged version 2014-11-23 20:13:55 -06:00
Benjamin Peterson 31aa69ead5 allow hostname to be passed to SSLContext even if OpenSSL doesn't support SNI (closes #22921)
Patch from Donald Stufft.
2014-11-23 20:13:31 -06:00
Benjamin Peterson 88922db775 fix this test when sizeof(long) < sizeof(size_t) 2014-11-23 13:17:57 -06:00
Benjamin Peterson c6b6ab0caa remove strange casts 2014-11-23 12:58:54 -06:00
Benjamin Peterson b0609ec8f3 remove py3k warning guard 2014-11-23 11:52:46 -06:00
Benjamin Peterson fcfb18ee2b allow passing cert/ssl information to urllib2.urlopen and httplib.HTTPSConnection
This is basically a backport of issues #9003 and #22366.
2014-11-23 11:42:45 -06:00
Benjamin Peterson 5f6b89bda3 initialize _makefile_refs earlier so things don't blow up when close() is called in the constructor 2014-11-23 11:16:48 -06:00
Antoine Pitrou 95b616480e Backport disabling of SSLv3 in ssl._create_stdlib_context() (issue #22638).
The backport currently doesn't achieve anything since the function isn't used (yet).
2014-10-17 19:28:30 +02:00
Ned Deily 86b36e5ec5 Fix 2to3 reference link in pyporting.rst. 2014-11-22 16:03:40 -08:00
Ned Deily ea49a02fe6 Remove line breaks in OS X installer README screen. 2014-11-22 14:35:43 -08:00
Ned Deily 074d391b9b Add downloads page link to OS X installer README screens. 2014-11-22 14:17:05 -08:00
Serhiy Storchaka 138ec8c118 Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD. 2014-11-21 21:54:43 +02:00
Antoine Pitrou fc419fbc71 Add regression issue number to Misc/NEWS entry. 2014-11-21 02:05:06 +01:00
Antoine Pitrou b9a4501179 Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
daemon threads run while the interpreter is shutting down; instead,
these threads are now killed when they try to take the GIL), as it seems
to break some existing code.
2014-11-21 02:04:21 +01:00
Donald Stufft 527d4ace85 Issue #22827: Backport the new Distributing and Instaling Docs from 3.4 2014-11-20 09:38:31 -05:00
Ned Deily 3f1d0b3121 Issue 22878: PEP 477 - "make install" and "make altinstall" integration
The backport of ensurepip to 2.7.9 allows pip to optionally be installed
or upgraded using the bundled pip provided by the new ensurepip module.
The option can be specified persistently using the configure option:

    ./configure --with-ensurepip[=upgrade|install|no]

It can also be overridden on either the "install" or "altinstall" targets:

    make [alt]install ENSUREPIP=[upgrade|install|no]

For Python 2, the default option is "no" (do not install pip).
2014-11-20 02:11:03 -08:00
Serhiy Storchaka a86c091a73 Issue #22453: Fexed reference leaks when format error messages in ceval.c.
Warn against the use of leaking macro PyObject_REPR().
2014-11-19 00:11:05 +02:00
Serhiy Storchaka ead2f5a027 Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
2014-11-18 17:29:47 +02:00
Serhiy Storchaka f9b2aa2efe Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
2014-11-15 13:21:01 +02:00
Ned Deily af627902aa Update OS X installer documentation files for 2.7.9. 2014-11-14 18:57:13 -08:00
Ned Deily 3010182390 Issue #22877: PEP 477 - OS X installer for 2.7.9 now installs pip. 2014-11-14 18:53:59 -08:00
Georg Brandl 05e7c9ea6f Fix description. 2014-11-14 11:20:07 +01:00
Georg Brandl 96c4de960c Closes #22868: make example less ambiguous. 2014-11-14 11:12:53 +01:00
Nick Coghlan 01bd3c1231 Close #22300 by tweaking 2.7.9 What's New announcements 2014-11-14 20:05:04 +10:00
Steve Dower 2d14270734 Issue #22850: Backport ensurepip Windows installer changes to 2.7 2014-11-12 19:02:20 -08:00
Donald Stufft f44b9c4ddc Define a __hash__ to quiet down a -3 warning 2014-11-11 12:32:57 -05:00
Donald Stufft 3ecc8dbdcd Upgrade setuptools to 7.0 2014-11-11 10:53:50 -05:00
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