INADA Naoki
6165d55f13
Issue #28147 : Fix a memory leak in split-table dictionaries
...
setattr() must not convert combined table into split table.
2016-12-20 09:54:24 +09:00
Xiang Zhang
270a21fda0
Issue #28950 : Disallow -j0 combined with -T/-l/-M in regrtest.
2016-12-19 21:01:33 +08:00
Victor Stinner
509476b370
doc: Suggest to hash(tuple of attr) rather than XOR
...
Issue #28383 : __hash__ documentation recommends naive XOR to combine but this
is suboptimal. Update the doc to suggest to reuse the hash() method using a
tuple, with an example.
2016-12-19 13:09:28 +01:00
Xiang Zhang
bfbc29cb8f
Issue #29009 : Remove outdated doc of PyUnicode_RichCompare.
2016-12-19 18:35:14 +08:00
Antoine Pitrou
c1ee488962
Issue #19542 : Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
...
when a GC collection happens in another thread.
Original patch and report by Armin Rigo.
2016-12-19 10:56:40 +01:00
Martin Panter
ca3263c50c
Issue #25677 : Correct syntax error caret for indented blocks.
...
Based on patch by Michael Layzell.
2016-12-11 00:18:36 +00:00
Serhiy Storchaka
b94eef2ae3
Issue #20191 : Fixed a crash in resource.prlimit() when pass a sequence that
...
doesn't own its elements as limits.
2016-12-19 08:04:15 +02:00
R David Murray
4ec1590fbf
#29005 : clarify terminology in tutorial 'method' discussion.
...
Patch by Jim Fasarakis-Hilliard.
2016-12-18 14:59:58 -05:00
Martin Panter
2f9171d900
Fix spelling and grammar in code comments and documentation
2016-12-18 01:23:09 +00:00
R David Murray
c69fd86f94
#28407 Improve test coverage of make_msgid.
...
Patch by Dillon Brock.
2016-12-17 22:03:44 -05:00
Brett Cannon
5866719510
Update porting HOWTO to drop unicode_literals and mention static type checking
2016-12-17 12:37:20 -08:00
Serhiy Storchaka
b1a1619bf0
Issue #29000 : Fixed bytes formatting of octals with zero padding in alternate
...
form.
2016-12-17 21:48:03 +02:00
Raymond Hettinger
af56e0e70f
Issue #28991 : Fix obscure reentrancy bug in functools.lru_cache().
2016-12-16 13:57:40 -08:00
Xavier de Gaye
ac13beeef5
Issue #28971 : Temporarily skip test_over until a permanent solution is found
...
for issue #28971 .
2016-12-16 20:49:10 +01:00
Serhiy Storchaka
16b7b7d6ac
Merge heads
2016-12-16 19:05:33 +02:00
Serhiy Storchaka
20cdffd830
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 18:58:33 +02:00
Yury Selivanov
b1461aa781
Issue #28990 : Fix SSL hanging if connection is closed before handshake completed.
2016-12-16 11:50:41 -05:00
Victor Stinner
610f5d739d
python-gdb.py: catch gdb.error on gdb.selected_frame()
2016-12-16 10:00:39 +01:00
Berker Peksag
7b440dfec4
Issue #28944 : Fix footnote numbering
2016-12-15 05:37:56 +03:00
Serhiy Storchaka
49010ee323
Revert changeset 1f31bf3f76f5 (issue5322) except tests.
2016-12-14 19:52:17 +02:00
Steve Dower
4347881414
Issue #26071 : Fixes preprocessor definition and rebuilds wininst-14.0[-amd64].exe
2016-12-13 09:06:24 -08:00
Steve Dower
e711cc0f22
Issue #28783 : Replaces bdist_wininst in nuget packages with stub
2016-12-11 14:35:07 -08:00
Serhiy Storchaka
8b58339eb2
Issue #28512 : Fixed setting the offset attribute of SyntaxError by
...
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().
2016-12-11 14:39:01 +02:00
Martin Panter
49c14d8e8f
Issue #26483 : Clarify str.isdecimal() and isdigit()
...
Patch by Julien Palard.
2016-12-11 01:08:25 +00:00
Martin Panter
41176ae1d2
Issue #28916 : Correct description of %o and %x alternative forms
...
* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
2016-12-11 01:07:29 +00:00
Brett Cannon
bc538e3852
Issue #28424 : Document pkgutil.get_data() doesn't work with namespace packages.
...
Thanks to Douglas Greiman for the patch.
2016-12-10 14:13:38 -08:00
Antoine Pitrou
cd2a201e5b
Issue #28779 : multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks.
2016-12-10 17:13:16 +01:00
Martin Panter
7a44783b42
Issue #28771 : Update tp_get/setattr signature documentation
2016-12-10 05:56:13 +00:00
Martin Panter
898573a734
Issue #28820 : Fix spelling of “practice” as a noun
2016-12-10 05:12:56 +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
Ned Deily
932d40abf7
Issue #28900 : Update documentation sidebar for 3.6.0rc.
2016-12-07 23:34:49 -05: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
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
Serhiy Storchaka
e503126074
Fixed misplaced comment.
2016-12-06 13:43:46 +02:00
Benjamin Peterson
41fef63076
rm unused import
2016-12-05 22:30:55 -08:00
Serhiy Storchaka
419967b832
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:13:34 +02:00
Serhiy Storchaka
7bc01c32b1
Fixed mismatching title overline.
2016-12-04 15:42:13 +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
de6efdb772
Ensures intermediate directory is created before accessing it.
2016-12-03 11:56:20 -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
ee1b01a41b
Issue #21818 : Fixed references to classes that have names matching with module
...
names.
2016-12-02 23:13:53 +02:00
doko@ubuntu.com
1177696b6b
- Import latest config.sub config.guess files
2016-12-01 21:42:56 +01:00
Guido van Rossum
61f0a0261f
Issue #28790 : Fix error when using Generic and __slots__ (Ivan L)
2016-11-29 09:46:21 -08:00
Łukasz Langa
47a9a4beda
Fixes #24142 : [configparser] always join multiline values to not leave the parser in an invalid state
2016-11-26 14:00:39 -08:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Berker Peksag
4931122de8
Add missing square bracket in typing.get_type_hints()
2016-11-25 20:10:07 +03:00
Berker Peksag
219a012156
Issue #28738 : Document SIGBREAK as an acceptable value on Windows
...
Patch by Wojtek Ruszczewski.
2016-11-25 19:46:57 +03:00