Commit graph

97350 commits

Author SHA1 Message Date
Xavier de Gaye
13f1c331a5 Issue #28918: Fix the cross compilation of xxlimited when Python
has been built with Py_DEBUG defined.
2016-12-10 16:45:53 +01:00
Martin Panter
21799618ec Issue #28771: Merge C API doc fix from 3.5 2016-12-10 05:57:38 +00:00
Martin Panter
7a44783b42 Issue #28771: Update tp_get/setattr signature documentation 2016-12-10 05:56:13 +00:00
Martin Panter
186b204997 Fix typos in comment and documentation 2016-12-10 05:32:55 +00:00
Martin Panter
b7880b067b Issue #28820: Merge spelling fixes from 3.5 2016-12-10 05:38:25 +00:00
Martin Panter
898573a734 Issue #28820: Fix spelling of “practice” as a noun 2016-12-10 05:12:56 +00:00
Martin Panter
2fed8cd6f0 Issues #28755, #28753: Merge Arg Clinic howto from 3.5 2016-12-10 04:14:02 +00:00
Martin Panter
cfa9bad4b2 Issue #28755: Improve syntax highlighting in Arg Clinic howto 2016-12-10 04:10:45 +00:00
Martin Panter
a277c130f7 Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard. 2016-12-10 03:49:12 +00:00
Xavier de Gaye
f44abdab1e Issue #26937: The chown() method of the tarfile.TarFile class does not fail now
when the grp module cannot be imported, as for example on Android platforms.
2016-12-09 09:33:09 +01:00
Ned Deily
932d40abf7 Issue #28900: Update documentation sidebar for 3.6.0rc. 2016-12-07 23:34:49 -05:00
Steve Dower
5dc1fb3eda Issue #28896: Deprecate WindowsRegistryFinder
(grafted from 25df9671663b5f8b1560d58d8842f9676f6dffc2)
2016-12-07 13:02:27 -08:00
Benjamin Peterson
b5e688a8ff guard HAVE_LONG_LONG definition to prevent redefinition (#28898)
(grafted from 4745d801cae2d57e3432313acd0b76b8b4cc9c75)
2016-12-07 23:54:28 -08:00
Ned Deily
446e606bfe Issue #28900: Update documentation sidebar for 3.6.0rc. 2016-12-07 23:37:12 -05:00
Yury Selivanov
267862f9ca Issue #28635: Drop the note that whatsnew is incomplete
(grafted from d12bc674b74eee73365e38fad1f170ed3349bd59)
2016-12-07 16:19:56 -08:00
Steve Dower
20367420c8 Issue #28896: Deprecate WindowsRegistryFinder 2016-12-07 13:02:27 -08:00
Serhiy Storchaka
606ab86c0e Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.
2016-12-07 13:31:20 +02:00
Ned Deily
5dd9ca9c31 Added tag v3.6.0rc1 for changeset 29a273eee9a5 2016-12-06 19:04:14 -05:00
Ned Deily
ad2c2d380e Version bump for 3.6.0rc1 2016-12-06 19:02:30 -05:00
Ned Deily
d3f39d31c8 Update pydoc topics for 3.6.0rc1 2016-12-06 18:53:16 -05:00
Ned Deily
8bb38a79b8 Regenerate configure with autoconf 2.69. 2016-12-06 17:31:32 -05:00
Ned Deily
c1c3292d58 Issue #28835: Tidy previous showwarning changes based on review comments.
Patch by Serhiy Storchaka.
2016-12-06 17:12:47 -05:00
Ned Deily
9a5549598a Update the Mac installer README file for 3.6.0. 2016-12-06 17:00:44 -05:00
Serhiy Storchaka
53c53ea4c5 Issue #27030: Unknown escapes in re.sub() replacement template are allowed
again.  But they still are deprecated and will be disabled in 3.7.
2016-12-06 19:15:29 +02:00
Serhiy Storchaka
b0f75c520e Fixed misplaced comment. 2016-12-06 13:45:44 +02:00
Serhiy Storchaka
e503126074 Fixed misplaced comment. 2016-12-06 13:43:46 +02:00
Victor Stinner
8ae9e6a627 warnings: Fix the issue number
The fix for catch_warnings() is the issue #28835 (not the issue #28089).
2016-12-06 11:02:12 +01:00
Victor Stinner
8ef46be26a catch_warnings() calls showwarning() if overriden
Issue #28089: Fix a regression introduced in warnings.catch_warnings(): call
warnings.showwarning() if it was overriden inside the context manager.
2016-12-06 10:53:52 +01:00
Benjamin Peterson
3d3e9ffa8e merge 3.5 2016-12-05 22:31:12 -08:00
Benjamin Peterson
41fef63076 rm unused import 2016-12-05 22:30:55 -08:00
Serhiy Storchaka
9a953dbb34 Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. 2016-12-06 00:17:45 +02:00
Serhiy Storchaka
419967b832 Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. 2016-12-06 00:13:34 +02:00
Nick Coghlan
19d246745d Issue #23722: improve __classcell__ compatibility
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.

The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).

The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.

This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
2016-12-05 16:47:55 +10:00
Raymond Hettinger
71c62e14aa Neaten-up and extend the examples in the random module docs. 2016-12-04 11:00:34 -08:00
Serhiy Storchaka
223813111e Fixed mismatching title overline. 2016-12-04 15:43:37 +02:00
Serhiy Storchaka
7bc01c32b1 Fixed mismatching title overline. 2016-12-04 15:42:13 +02:00
Serhiy Storchaka
e418432dfb Fixed double hyphens that are rendered to literal en-dashes in the documenation. 2016-12-04 10:22:09 +02:00
Serhiy Storchaka
29b0a26822 Fixed double hyphens that are rendered to literal en-dashes in the documenation. 2016-12-04 10:20:55 +02:00
Steve Dower
21cf577526 Revert unintended merge 2016-12-03 15:57:00 -08:00
Steve Dower
f00ef72ee1 Ensures intermediate directory is created before using it 2016-12-03 11:56:44 -08:00
Steve Dower
de6efdb772 Ensures intermediate directory is created before accessing it. 2016-12-03 11:56:20 -08:00
Steve Dower
1058109b31 Issue #28846: Various installer fixes 2016-12-03 11:24:02 -08:00
Steve Dower
190dbd9ba2 Issue #28846: Various installer fixes 2016-12-03 11:18:53 -08:00
Serhiy Storchaka
2d397dc44b Merge heads 2016-12-02 23:34:24 +02:00
Serhiy Storchaka
b6a6b45458 Issue #21818: Fixed references to classes that have names matching with module
names.
2016-12-02 23:15:22 +02:00
Serhiy Storchaka
ee1b01a41b Issue #21818: Fixed references to classes that have names matching with module
names.
2016-12-02 23:13:53 +02:00
Nick Coghlan
3c35fdb8fb Issue #27172: Undeprecate inspect.getfullargspec()
This is still useful for single source Python 2/3 code
migrating away from inspect.getargspec(), but that wasn't
clear with the documented deprecation in place.
2016-12-02 20:29:57 +10:00
Serhiy Storchaka
5adfac2c1b Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.
2016-12-02 08:42:43 +02:00
Serhiy Storchaka
028ace1ccb Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.
2016-12-07 10:56:39 +02:00
doko@ubuntu.com
1177696b6b - Import latest config.sub config.guess files 2016-12-01 21:42:56 +01:00