Commit Graph

79785 Commits

Author SHA1 Message Date
Berker Peksag 621d7fd583 Issue #6500: Fix "maximum recursion depth exceeded" error caused by Request.__getattr__() 2016-01-06 02:04:52 +02:00
Senthil Kumaran 0f3a71dab1 Issue24733 - Remove unreachable code in traceback.c 2016-01-04 22:40:39 -08:00
Senthil Kumaran e2e6b54a4c Backport documentation improvement.
Issue24898 - Improve str.find documentation.

Simplify str.find explaination as per Georg Brandl's suggestion.
2016-01-03 18:07:06 -08:00
Senthil Kumaran 8a4e7fd678 Backport doc improvements for Issue21221 - Explain the usage of tm_isdst
attribute of mktime, with valid values and meaning.

Patch contributed by Andrew Scheller.
2016-01-03 01:03:40 -08:00
Ned Deily 48e2b676d1 Update copyrights for 2016. 2016-01-01 17:45:31 -05:00
Zachary Ware fa45a0e3d2 Fix grammar.
Reported by Anatoly Techtonik on docs@
2016-01-01 12:22:16 -06:00
Benjamin Peterson f30bad284b remove some copyright notices supserseded by the toplevel ones 2016-01-01 11:53:47 -06:00
Benjamin Peterson 9df070e1b0 reflow 2016-01-01 11:12:44 -06:00
Benjamin Peterson 1f40ece2d7 2016 will be another year of writing copyrighted code 2016-01-01 10:23:45 -06:00
Serhiy Storchaka 28f35f246b Issue #25961: Fixed compilation error and a leak in type constructor. 2015-12-31 12:03:14 +02:00
Serhiy Storchaka f9347e3b44 Issue #25961: Disallowed null characters in the type name. 2015-12-30 21:39:21 +02:00
Serhiy Storchaka ff41d456bc Make catched exceptions more specific and correct a comment. 2015-12-30 20:59:32 +02:00
Serhiy Storchaka b8e54dd806 Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled.  Including memoryview.
2015-12-30 20:43:29 +02:00
Serhiy Storchaka 2e6c829681 Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
2015-12-27 15:41:58 +02:00
Serhiy Storchaka 8688acaf2e Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
2015-12-27 12:38:48 +02:00
Vinay Sajip 82ea0f9517 Closes #25664: handled logger names in Unicode. 2015-12-26 12:21:47 +00:00
Serhiy Storchaka 20a003bea4 Issue #24103: Fixed possible use after free in ElementTree.iterparse(). 2015-12-24 11:51:24 +02:00
Serhiy Storchaka 5951f2300f Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
2015-12-24 10:35:35 +02:00
Zachary Ware 6ed42ea08b Issue #25827: Add support for ICC to configure 2015-12-21 11:43:03 -06:00
Serhiy Storchaka a3c2242461 Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views.
2015-12-20 11:40:00 +02:00
Serhiy Storchaka 0b72ae8e78 Create a file in SizeofTest only if needed. 2015-12-20 09:36:55 +02:00
Serhiy Storchaka e789038e0d Use correct PyGC_Head size in tests for issue #25421. 2015-12-19 22:49:29 +02:00
Serhiy Storchaka c06a6d0958 Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
2015-12-19 20:07:48 +02:00
Terry Jan Reedy 6f3d5da36c Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK. 2015-12-18 15:46:52 -05:00
Serhiy Storchaka 3ea431dedf Issue #25899: Fixed typo in .bzrignore. 2015-12-18 13:12:33 +02:00
Martin Panter d77fe94b4e Issue #22088: Port base64 character ignoring doc and test from 857d9fe60169 2015-12-14 03:41:59 +00:00
Martin Panter edd6a817d1 Issue #20837: Base-64 alphabet clarification from revision 1853679c6f71 2015-12-14 02:54:40 +00:00
R David Murray b75adccd0a #25495: Clarify b2a_base64 documentation vis 57 bytes. 2015-12-13 18:04:14 -05:00
Gregory P. Smith 64fa45af5a Fixes issue #20954: _args_from_interpreter_flags used by multiprocessing
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.
2015-12-13 13:57:50 -08:00
Victor Stinner 04627633ed Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory 2015-12-13 21:25:42 +01:00
Victor Stinner 15a6c4239c Issue #25696: Fix installation of Python on UNIX with make -j9. 2015-12-13 21:19:28 +01:00
Martin Panter 7b9e7ed59f Issue #25809: Skip testing platform-dependent French thousands separator 2015-12-12 06:53:34 +00:00
Serhiy Storchaka 33ea29772d Fixed possible leaks in ElementTree parser. 2015-12-09 19:44:30 +02:00
Zachary Ware 6b93ca6a3b Clarify that only *documentation* bugs should go to docs@python.org 2015-12-09 01:53:44 -06:00
Serhiy Storchaka 45cf0b7f3e Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
2015-12-06 23:51:53 +02:00
Ned Deily 4902591cae merge heads 2015-12-06 00:00:57 -05:00
Benjamin Peterson 3c459de2c6 remove pointless keys() call 2015-12-05 20:52:43 -08:00
Ned Deily 3afd9c17b6 Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
2015-12-05 23:47:34 -05:00
Benjamin Peterson 4f1aeaef3d off to 2.7.12 we go 2015-12-05 11:46:21 -08:00
Benjamin Peterson 0c13d1af63 merge 2.7.11 branch 2015-12-05 11:45:48 -08:00
Benjamin Peterson bee7f7cc82 Added tag v2.7.11 for changeset 6d1b6a68f775 2015-12-05 11:45:22 -08:00
Benjamin Peterson 11fc030b6f 2.7.11 final 2015-12-05 11:45:17 -08:00
Benjamin Peterson f9d11e815a make consulting save_modules O(1) rather than O(n) 2015-12-05 00:29:56 -08:00
Benjamin Peterson fe5c64f727 merge 2.7.11 branch 2015-12-05 00:18:11 -08:00
Benjamin Peterson 167910a42b add CVE and issue number 2015-12-05 00:17:57 -08:00
Martin Panter 7e59ce8b07 Issue #14285: Do not catch ImportError from __init__.py in runpy
Initialize package before calling get_loader() for __main__, so that we do
not incorrectly handle ImportError from __init__.py. When runpy is used from
the Python CLI, use an internal exception rather than ImportError, to avoid
catching an unexpected ImportError.

Also simplify message formatting: str() is redundant with %s.

Also fix test_dash_m_error_code_is_one() in test_cmd_line_script, which was
failing because the test package was not in the current directlry, rather
the desired ValueError.
2015-12-03 01:23:10 +00:00
Serhiy Storchaka ab68fcaee3 Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
2015-12-03 22:20:45 +02:00
Serhiy Storchaka e37003e9ae Issue #19543: Added Py3k warning for decoding unicode. 2015-12-03 20:47:48 +02:00
Victor Stinner c747e5564f Fix test_doctest in verbose mode 2015-12-02 14:39:37 +01:00
Serhiy Storchaka 048e107859 Fixed reference leak when read truncated pickle. 2015-12-01 00:32:49 +02:00