]> granicus.if.org Git - python/log
python
8 years agoissue27985 - fix the incorrect duplicate class name in the lib2to3
Gregory P. Smith [Fri, 9 Sep 2016 21:48:08 +0000 (14:48 -0700)]
issue27985 - fix the incorrect duplicate class name in the lib2to3
test.  call it TestVarAnnotations instead.

8 years agoIssue #27810: Add _PyCFunction_FastCallKeywords()
Victor Stinner [Fri, 9 Sep 2016 21:07:44 +0000 (14:07 -0700)]
Issue #27810: Add _PyCFunction_FastCallKeywords()

Use _PyCFunction_FastCallKeywords() in ceval.c: it allows to remove a lot of
code from ceval.c which was only used to call C functions.

8 years agoIssue #27874: Allows use of pythonXX.zip file as landmark on Windows
Steve Dower [Fri, 9 Sep 2016 21:22:43 +0000 (14:22 -0700)]
Issue #27874: Allows use of pythonXX.zip file as landmark on Windows

8 years agoPrevent PGO build for x86 releases.
Steve Dower [Fri, 9 Sep 2016 21:21:24 +0000 (14:21 -0700)]
Prevent PGO build for x86 releases.

8 years agoremove all usage of Py_LOCAL
Benjamin Peterson [Fri, 9 Sep 2016 20:54:34 +0000 (13:54 -0700)]
remove all usage of Py_LOCAL

8 years agoIssue #24320: Drop an old setuptools-induced hack.
Eric Snow [Fri, 9 Sep 2016 20:30:54 +0000 (13:30 -0700)]
Issue #24320: Drop an old setuptools-induced hack.

8 years agoRemove unused suspicious rules
Zachary Ware [Fri, 9 Sep 2016 20:26:47 +0000 (13:26 -0700)]
Remove unused suspicious rules

8 years agoAdd tix deprecation to whatsnew
Zachary Ware [Fri, 9 Sep 2016 20:25:44 +0000 (13:25 -0700)]
Add tix deprecation to whatsnew

8 years agoCloses #27314: Fixes launcher installer upgrade table.
Steve Dower [Fri, 9 Sep 2016 20:19:09 +0000 (13:19 -0700)]
Closes #27314: Fixes launcher installer upgrade table.

8 years agoIssue #19489: Merge with 3.5
Zachary Ware [Fri, 9 Sep 2016 20:15:47 +0000 (13:15 -0700)]
Issue #19489: Merge with 3.5

8 years agoIssue #19489: Add NEWS and ACKS
Zachary Ware [Fri, 9 Sep 2016 20:14:42 +0000 (13:14 -0700)]
Issue #19489: Add NEWS and ACKS

8 years agoCloses #19489: Merge with 3.5
Zachary Ware [Fri, 9 Sep 2016 20:11:58 +0000 (13:11 -0700)]
Closes #19489: Merge with 3.5

8 years agoIssue #19489: Move the search box from sidebar to header and footer.
Zachary Ware [Fri, 9 Sep 2016 20:11:27 +0000 (13:11 -0700)]
Issue #19489: Move the search box from sidebar to header and footer.

8 years agoRename Future._blocking to _asyncio_future_blocking.
Guido van Rossum [Fri, 9 Sep 2016 19:58:15 +0000 (12:58 -0700)]
Rename Future._blocking to _asyncio_future_blocking.

This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it.  (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)

Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.

Tests and docs are TBD. (Also there are more isinstance() checks to fix.)

8 years agoRename test_pep####.py files
Zachary Ware [Fri, 9 Sep 2016 19:55:37 +0000 (12:55 -0700)]
Rename test_pep####.py files

8 years agoFix running test_tokenize directly
Zachary Ware [Fri, 9 Sep 2016 19:55:14 +0000 (12:55 -0700)]
Fix running test_tokenize directly

8 years agoRename Future._blocking to _asyncio_future_blocking.
Guido van Rossum [Fri, 9 Sep 2016 19:54:54 +0000 (12:54 -0700)]
Rename Future._blocking to _asyncio_future_blocking.

This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it.  (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)

Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.

Tests and docs are TBD.

8 years agorepair errors in (set|get)_task_factory note (#28051)
Benjamin Peterson [Fri, 9 Sep 2016 19:46:42 +0000 (12:46 -0700)]
repair errors in (set|get)_task_factory note (#28051)

8 years agoIssue #27213: document changes in Misc/NEWS
Victor Stinner [Fri, 9 Sep 2016 19:43:42 +0000 (12:43 -0700)]
Issue #27213: document changes in Misc/NEWS

8 years agoAdd _PyObject_FastCallKeywords()
Victor Stinner [Fri, 9 Sep 2016 19:36:44 +0000 (12:36 -0700)]
Add _PyObject_FastCallKeywords()

Issue #27830: Add _PyObject_FastCallKeywords(): avoid the creation of a
temporary dictionary for keyword arguments.

Other changes:

* Cleanup call_function() and fast_function() (ex: rename nk to nkwargs)
* Remove now useless do_call(), replaced with _PyObject_FastCallKeywords()

8 years agomerge 3.5 (#28051)
Benjamin Peterson [Fri, 9 Sep 2016 19:46:49 +0000 (12:46 -0700)]
merge 3.5 (#28051)

8 years agoremove unconvincing use of Py_LOCAL
Benjamin Peterson [Fri, 9 Sep 2016 19:42:51 +0000 (12:42 -0700)]
remove unconvincing use of Py_LOCAL

8 years agoAdd a note about queue not being safe for use from signal handlers.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:31:05 +0000 (12:31 -0700)]
Add a note about queue not being safe for use from signal handlers.
issue14976.

8 years agoAdd a note about queue not being safe for use from signal handlers.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:30:34 +0000 (12:30 -0700)]
Add a note about queue not being safe for use from signal handlers.
issue14976.

8 years agoFix make buildbottest to not re-trigger a profile-opt build. issue28035.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:22:49 +0000 (12:22 -0700)]
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.

8 years agoIssue #24594: Validates persist parameter when opening MSI database
Steve Dower [Fri, 9 Sep 2016 18:56:34 +0000 (11:56 -0700)]
Issue #24594: Validates persist parameter when opening MSI database

8 years ago#28047: Fix calculation of base64 line length.
R David Murray [Fri, 9 Sep 2016 19:00:09 +0000 (15:00 -0400)]
#28047: Fix calculation of base64 line length.

This is buggy in the old email code as well, but it doesn't affect anything
there because only the default line length is ever used there.

8 years agoCloses #22731: Documents change of console mode.
Steve Dower [Fri, 9 Sep 2016 18:46:37 +0000 (11:46 -0700)]
Closes #22731: Documents change of console mode.

8 years agoIssue #26619: Improves error message when installing on out-of-date Windows Server
Steve Dower [Fri, 9 Sep 2016 18:41:28 +0000 (11:41 -0700)]
Issue #26619: Improves error message when installing on out-of-date Windows Server

8 years agoRework CALL_FUNCTION* opcodes
Victor Stinner [Fri, 9 Sep 2016 17:17:08 +0000 (10:17 -0700)]
Rework CALL_FUNCTION* opcodes

Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more
efficient bytecode:

* CALL_FUNCTION now only accepts position arguments
* CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys
  of keyword arguments are packed into a constant tuple.
* CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for
  positional and keyword arguments.

CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed.

2 tests of test_traceback are currently broken: skip test, the issue #28050 was
created to track the issue.

Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka
and Victor Stinner.

8 years agoFix make buildbottest to not re-trigger a profile-opt build. issue28035.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Fri, 9 Sep 2016 19:23:05 +0000 (12:23 -0700)]
Fix make buildbottest to not re-trigger a profile-opt build. issue28035.

8 years agoMerge with 3.5
Steve Dower [Fri, 9 Sep 2016 19:09:07 +0000 (12:09 -0700)]
Merge with 3.5

8 years agoIssue #27576: Fix call order in OrderedDict.__init__().
Eric Snow [Fri, 9 Sep 2016 18:59:08 +0000 (11:59 -0700)]
Issue #27576: Fix call order in OrderedDict.__init__().

8 years agoremove --with(out)-signal-module, since the signal module is non-optional
Benjamin Peterson [Fri, 9 Sep 2016 19:01:10 +0000 (12:01 -0700)]
remove --with(out)-signal-module, since the signal module is non-optional

8 years agoIssue #28049: Add documentation for typing.Awaitable and friends.
Guido van Rossum [Fri, 9 Sep 2016 18:46:34 +0000 (11:46 -0700)]
Issue #28049: Add documentation for typing.Awaitable and friends.

By Michael Lee.

8 years agoIssue #28008: Fix test_unparse
Yury Selivanov [Fri, 9 Sep 2016 18:48:39 +0000 (11:48 -0700)]
Issue #28008: Fix test_unparse

8 years agoCloses #22731: Documents change of console mode.
Steve Dower [Fri, 9 Sep 2016 18:47:02 +0000 (11:47 -0700)]
Closes #22731: Documents change of console mode.

8 years agoIssue #26619: Improves error message when installing on out-of-date Windows Server
Steve Dower [Fri, 9 Sep 2016 18:44:26 +0000 (11:44 -0700)]
Issue #26619: Improves error message when installing on out-of-date Windows Server

8 years agoremove unused osx10.5 sdk check
Benjamin Peterson [Fri, 9 Sep 2016 18:37:58 +0000 (11:37 -0700)]
remove unused osx10.5 sdk check

8 years agoRemove Lib/test/test_pep247.py
Zachary Ware [Fri, 9 Sep 2016 18:38:38 +0000 (11:38 -0700)]
Remove Lib/test/test_pep247.py

This test file is a holdover from the days before hashlib, and doesn't seem to
have anything of value in it.

8 years agoDoc updates for PEPs 520 and 468.
Eric Snow [Fri, 9 Sep 2016 18:22:14 +0000 (11:22 -0700)]
Doc updates for PEPs 520 and 468.

8 years agoMerge
Brett Cannon [Fri, 9 Sep 2016 18:19:16 +0000 (11:19 -0700)]
Merge

8 years agoMention how requiring ordered dicts breaks backwards-compatibility.
Brett Cannon [Fri, 9 Sep 2016 18:18:21 +0000 (11:18 -0700)]
Mention how requiring ordered dicts breaks backwards-compatibility.

8 years agotests: use subTest in test_unparse.test_files
Yury Selivanov [Fri, 9 Sep 2016 18:14:59 +0000 (11:14 -0700)]
tests: use subTest in test_unparse.test_files

8 years agoMention that the order-preserving aspect of the new dict
Brett Cannon [Fri, 9 Sep 2016 18:11:45 +0000 (11:11 -0700)]
Mention that the order-preserving aspect of the new dict
implementation is an implementation detail (and why that is so).

8 years agoRemove Lib/_sysconfigdata.py from .gitignore
Zachary Ware [Fri, 9 Sep 2016 18:07:23 +0000 (11:07 -0700)]
Remove Lib/_sysconfigdata.py from .gitignore

8 years agoIssue #28008: Implement PEP 530 -- asynchronous comprehensions.
Yury Selivanov [Fri, 9 Sep 2016 17:36:01 +0000 (10:36 -0700)]
Issue #28008: Implement PEP 530 -- asynchronous comprehensions.

8 years agocompile with -std=c99 instead of -std=gnu99; use kiddie-gloves with bluetooth/bluetoo...
Benjamin Peterson [Fri, 9 Sep 2016 17:22:45 +0000 (10:22 -0700)]
compile with -std=c99 instead of -std=gnu99; use kiddie-gloves with bluetooth/bluetooh.h (#28017)

8 years agoAdd a few big-ticket items to What's new in 3.6.
Guido van Rossum [Fri, 9 Sep 2016 16:59:34 +0000 (09:59 -0700)]
Add a few big-ticket items to What's new in 3.6.

8 years agoIssue #26513: Fixes platform module detection of Windows Server
Steve Dower [Fri, 9 Sep 2016 16:46:56 +0000 (09:46 -0700)]
Issue #26513: Fixes platform module detection of Windows Server

8 years agoIssue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.
Guido van Rossum [Fri, 9 Sep 2016 16:36:26 +0000 (09:36 -0700)]
Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.
Patch by Ivan Levkivskyi.

8 years agoMove news items for PEP 526 and 525 to the top of their section.
Guido van Rossum [Fri, 9 Sep 2016 16:29:42 +0000 (09:29 -0700)]
Move news items for PEP 526 and 525 to the top of their section.

(News items should be ordered newest-first within their section.)

8 years agoIssue #26513: Fixes platform module detection of Windows Server
Steve Dower [Fri, 9 Sep 2016 16:47:09 +0000 (09:47 -0700)]
Issue #26513: Fixes platform module detection of Windows Server

8 years agoSwitch to using |version| substitition in Windows docs.
Steve Dower [Fri, 9 Sep 2016 16:40:06 +0000 (09:40 -0700)]
Switch to using |version| substitition in Windows docs.

8 years agocredit Raymond
Benjamin Peterson [Fri, 9 Sep 2016 16:33:23 +0000 (09:33 -0700)]
credit Raymond

8 years agoFixes expected error when getting encoding while shutting down.
Steve Dower [Fri, 9 Sep 2016 16:21:01 +0000 (09:21 -0700)]
Fixes expected error when getting encoding while shutting down.

8 years agoChanges pyvenv.cfg trick into an actual sys.path file.
Steve Dower [Fri, 9 Sep 2016 16:17:35 +0000 (09:17 -0700)]
Changes pyvenv.cfg trick into an actual sys.path file.

8 years agoMerge 3.5
Donald Stufft [Fri, 9 Sep 2016 16:15:07 +0000 (12:15 -0400)]
Merge 3.5

8 years agoMerge 3.4
Donald Stufft [Fri, 9 Sep 2016 16:14:43 +0000 (12:14 -0400)]
Merge 3.4

8 years agoRemove duplicate entry for Ivan L.
Guido van Rossum [Fri, 9 Sep 2016 16:09:19 +0000 (09:09 -0700)]
Remove duplicate entry for Ivan L.

8 years agoUpgrade setuptools to 27.1.2
Donald Stufft [Fri, 9 Sep 2016 16:08:53 +0000 (12:08 -0400)]
Upgrade setuptools to 27.1.2

8 years agoIssue #28038: Remove Tools/parser/com2ann.py and its unit test.
Guido van Rossum [Fri, 9 Sep 2016 16:06:11 +0000 (09:06 -0700)]
Issue #28038: Remove Tools/parser/com2ann.py and its unit test.

Development is moving to https://github.com/ilevkivskyi/com2ann

8 years agoIssue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT
Steve Dower [Fri, 9 Sep 2016 16:03:15 +0000 (09:03 -0700)]
Issue #27781: Fixes uninitialized fd when !MS_WINDOWS and !HAVE_OPENAT

8 years agoRevert #27959: ImportError within an encoding module should also skip the encoding
Steve Dower [Fri, 9 Sep 2016 15:56:37 +0000 (08:56 -0700)]
Revert #27959: ImportError within an encoding module should also skip the encoding

8 years agoMerge 3.5
Donald Stufft [Fri, 9 Sep 2016 15:36:59 +0000 (11:36 -0400)]
Merge 3.5

8 years agoMerge 3.4
Donald Stufft [Fri, 9 Sep 2016 15:35:43 +0000 (11:35 -0400)]
Merge 3.4

8 years agoUpgrade setuptools to 27.1.1
Donald Stufft [Fri, 9 Sep 2016 15:35:02 +0000 (11:35 -0400)]
Upgrade setuptools to 27.1.1

8 years agoIssue #27364: Raw strings to avoid deprecated escaping in com2ann.py
Martin Panter [Fri, 9 Sep 2016 07:38:50 +0000 (07:38 +0000)]
Issue #27364: Raw strings to avoid deprecated escaping in com2ann.py

8 years agoIssue #28003: Fix a compiler warning
Yury Selivanov [Fri, 9 Sep 2016 07:05:42 +0000 (00:05 -0700)]
Issue #28003: Fix a compiler warning

8 years agoIssue #27106: Add test for configparser.__all__
Martin Panter [Fri, 9 Sep 2016 06:46:48 +0000 (06:46 +0000)]
Issue #27106: Add test for configparser.__all__

Patch by Jacek KoƂodziej. The Error class is deliberately omitted because it
is a generic name and of limited use.

8 years agoceval: tighten the code of STORE_ANNOTATION
Yury Selivanov [Fri, 9 Sep 2016 06:38:21 +0000 (23:38 -0700)]
ceval: tighten the code of STORE_ANNOTATION

8 years agoIssue #28003: Implement PEP 525 -- Asynchronous Generators.
Yury Selivanov [Fri, 9 Sep 2016 05:01:51 +0000 (22:01 -0700)]
Issue #28003: Implement PEP 525 -- Asynchronous Generators.

8 years agoregrtest: log FS and locale encodings
Victor Stinner [Fri, 9 Sep 2016 04:46:56 +0000 (21:46 -0700)]
regrtest: log FS and locale encodings

8 years agoIssue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Yury Selivanov [Fri, 9 Sep 2016 03:50:03 +0000 (20:50 -0700)]
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.

Patch by Ivan Levkivskyi.

8 years ago#27364: Credit Emanuel Barry in NEWS item.
R David Murray [Fri, 9 Sep 2016 02:37:34 +0000 (22:37 -0400)]
#27364: Credit Emanuel Barry in NEWS item.

8 years agoMerge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray [Fri, 9 Sep 2016 02:27:39 +0000 (22:27 -0400)]
Merge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.

8 years ago#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray [Fri, 9 Sep 2016 02:21:27 +0000 (22:21 -0400)]
#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.

8 years agoIssue #28033: Fix typo in dictobject.c
Berker Peksag [Fri, 9 Sep 2016 00:57:23 +0000 (03:57 +0300)]
Issue #28033: Fix typo in dictobject.c

Patch by Wesley Emeneker.

8 years agoissue28032: never imply --with-lto as part of --with-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 22:42:45 +0000 (22:42 +0000)]
issue28032: never imply --with-lto as part of --with-optimizations.

Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9).  On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.

We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.

8 years agomerge 3.5
Benjamin Peterson [Thu, 8 Sep 2016 22:40:49 +0000 (15:40 -0700)]
merge 3.5

8 years agoissue28032: never imply --with-lto as part of --with-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 22:38:46 +0000 (22:38 +0000)]
issue28032: never imply --with-lto as part of --with-optimizations.

Too many build tool chains do not properly support it, including building
and linking an executable fine that simply segfaults when you try to run
it (such as debian jessie 8.5's gcc 4.9).  On others where it does appear
to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb
failures to deal with.

We're not going to spend time attempting to maintain a complicated white list
of what does and doesn't work in our configure.ac file.

8 years agoIssue 18550: Check return value of ioctl() / fnctl() in internal_setblocking
Christian Heimes [Thu, 8 Sep 2016 22:28:57 +0000 (00:28 +0200)]
Issue 18550: Check return value of ioctl() / fnctl() in internal_setblocking

The function internal_setblocking() of the socket module did not check
the return values of ioctl() and fnctl().

CID 1294328

8 years agoFix potential NULL pointer dereference in _imp_create_builtin
Christian Heimes [Thu, 8 Sep 2016 22:25:03 +0000 (00:25 +0200)]
Fix potential NULL pointer dereference in _imp_create_builtin
PyModule_GetDef() can return NULL. Let's check the return value properly
like in the other five cases.

CID 1299590

8 years agoIssue #24254: Drop cls.__definition_order__.
Eric Snow [Thu, 8 Sep 2016 22:11:11 +0000 (15:11 -0700)]
Issue #24254: Drop cls.__definition_order__.

8 years ago24277: Make it clearer that the new modules are not provisional.
R David Murray [Thu, 8 Sep 2016 22:28:43 +0000 (18:28 -0400)]
24277: Make it clearer that the new modules are not provisional.

Also make it clear on the contents page what chapters are about the
legacy API.

8 years agoAdd NULL checks to the initializer of the locale module
Christian Heimes [Thu, 8 Sep 2016 22:24:12 +0000 (00:24 +0200)]
Add NULL checks to the initializer of the locale module

The _locale module was using old-style APIs to set numeric module
constants from macros. The new way requires less code and properly
checks for NULL.

CID 1295027

8 years agoFix potential NULL pointer dereference in update_symbols()
Christian Heimes [Thu, 8 Sep 2016 22:22:28 +0000 (00:22 +0200)]
Fix potential NULL pointer dereference in update_symbols()

symtable_analyze() calls analyze_block() with bound=NULL. Theoretically
that NULL can be passed down to update_symbols(). update_symbols() may
deference NULL and pass it to PySet_Contains()

8 years agoreplace PyInt16 with int16_t
Benjamin Peterson [Thu, 8 Sep 2016 22:08:02 +0000 (15:08 -0700)]
replace PyInt16 with int16_t

8 years agoAdditional safe-guard against dereferencing NULL in reduce_newobj
Christian Heimes [Thu, 8 Sep 2016 22:21:22 +0000 (00:21 +0200)]
Additional safe-guard against dereferencing NULL in reduce_newobj

_PyObject_GetNewArguments() can leave args == NULL but the __newobj_ex__
branch expects args to be not-NULL.

CID 1353201

8 years agoAdd NULL check for gen->gi_code in gen_send_ex()
Christian Heimes [Thu, 8 Sep 2016 22:20:13 +0000 (00:20 +0200)]
Add NULL check for gen->gi_code in gen_send_ex()

_PyGen_Finalize() checks that gen->gi_code is not NULL before it
accesses the flags of the code object. This means that the flag
could be NULL.

It passes down the generatore to gen_close() and gen_send_ex().
gen_send_ex() did not check for gen->gi_code != NULL.

CID 1297900

8 years agoAdd error checking to PyInit_pyexpact
Christian Heimes [Thu, 8 Sep 2016 22:13:35 +0000 (00:13 +0200)]
Add error checking to PyInit_pyexpact

The module initializer of the pyexpat module failed to check
the return value of PySys_GetObject() for NULL.

CID 982779

8 years agoUse PyModule_AddIntMacro() in signal module
Christian Heimes [Thu, 8 Sep 2016 22:11:45 +0000 (00:11 +0200)]
Use PyModule_AddIntMacro() in signal module

The signal module was using old-style module initialization with
potential NULL dereferencing.

CID 1295026

8 years agoSkip unused value in tokenizer code
Christian Heimes [Thu, 8 Sep 2016 22:09:45 +0000 (00:09 +0200)]
Skip unused value in tokenizer code

In the case of an escape character, c is never read. tok_next() is
used to advance the pointer.

CID 1225097

8 years agoCheck return value of PyList_Append() in Py_Main(). CID 1353200
Christian Heimes [Thu, 8 Sep 2016 22:08:35 +0000 (00:08 +0200)]
Check return value of PyList_Append() in Py_Main(). CID 1353200

8 years agoAdd policy keyword to email.generator.DecodedGenerator.
R David Murray [Thu, 8 Sep 2016 21:57:06 +0000 (17:57 -0400)]
Add policy keyword to email.generator.DecodedGenerator.

8 years agoMerge
Raymond Hettinger [Thu, 8 Sep 2016 21:45:40 +0000 (14:45 -0700)]
Merge

8 years agoIssue #26020: Fix evaluation order for set literals
Raymond Hettinger [Thu, 8 Sep 2016 21:40:36 +0000 (14:40 -0700)]
Issue #26020:  Fix evaluation order for set literals

8 years agoMore lenient skipping of console tests.
Steve Dower [Thu, 8 Sep 2016 21:36:18 +0000 (14:36 -0700)]
More lenient skipping of console tests.

8 years agoSkips console open_fd tests when we don't have real consoles.
Steve Dower [Thu, 8 Sep 2016 21:34:24 +0000 (14:34 -0700)]
Skips console open_fd tests when we don't have real consoles.

8 years ago[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
Senthil Kumaran [Thu, 8 Sep 2016 21:29:23 +0000 (14:29 -0700)]
[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
                   documentation consistent with the code.