Jim Fasarakis-Hilliard
08c16016e2
bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)
2017-04-25 21:26:36 +03:00
Nate
fcfe80ec25
bpo-29822: Make inspect.isabstract() work during __init_subclass__. ( #678 )
...
At the time when an abstract base class' __init_subclass__ runs,
ABCMeta.__new__ has not yet finished running, so in the presence of
__init_subclass__, inspect.isabstract() can no longer depend only on
TPFLAGS_IS_ABSTRACT.
2017-04-24 20:06:15 +03:00
Mariatta
9eb5ca0774
bpo-29751: add Cheryl Sabella to Misc/ACKS (GH-1268)
2017-04-23 21:05:19 -07:00
Serhiy Storchaka
7bfd740e3d
Remove unneeded Misc/NEWS entry for bpo-29802. ( #1251 )
...
The bug was added in still not released version.
2017-04-22 09:24:59 +03:00
bladebryan
9616a82e78
bpo-29960 _random.Random corrupted on exception in setstate(). ( #1019 )
2017-04-22 09:10:46 +03:00
Serhiy Storchaka
40db90c1ce
bpo-29802: Fix reference counting in module-level struct functions ( #1213 )
...
when pass arguments of wrong type.
2017-04-20 21:19:31 +03:00
Dong-hee Na
b4dc6af7a7
bpo-12414: Update code_sizeof() to take in account co_extra memory. ( #1168 )
2017-04-20 10:31:17 +03:00
Serhiy Storchaka
a79f4c2195
bpo-30070: Fixed leaks and crashes in errors handling in the parser module. ( #1131 )
2017-04-19 21:09:21 +03:00
Serhiy Storchaka
d90045f319
bpo-22352: Adjust widths in the output of dis.dis() for large line numbers and ( #1153 )
...
instruction offsets.
Add tests for widths of opcode names.
2017-04-19 20:36:31 +03:00
Serhiy Storchaka
bf623ae884
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() ( #1096 )
...
raised an error.
Replace them with using concrete types API that never fails if appropriate.
2017-04-19 20:03:52 +03:00
Serhiy Storchaka
fdbd01151d
bpo-10076: Compiled regular expression and match objects now are copyable. ( #1000 )
2017-04-16 10:16:03 +03:00
Serhiy Storchaka
baf9f29811
bpo-29839: Raise ValueError rather than OverflowError in len() for negative values. ( #701 )
2017-04-16 09:37:18 +03:00
Xiang Zhang
026435ce49
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present ( #1130 )
2017-04-15 12:47:28 +08:00
Mariatta
39f5956ffb
bpo-29738: Add Olivier Vielpeau to Misc/ACKS (GH-1146)
2017-04-14 18:33:48 -07:00
Ryan Gonzalez
f9f87f0934
bpo-11913: Add README.rst to the distutils standard READMEs list ( #563 )
2017-04-14 11:00:25 +02:00
Mariatta
947629916a
bpo-29869: Add Nevada Sanchez to Misc/ACKS (GH-1125)
2017-04-13 18:30:42 -07:00
Armin Rigo
22a594a004
bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089)
2017-04-13 11:08:15 -07:00
Serhiy Storchaka
5908300e4b
bpo-29995: re.escape() now escapes only special characters. ( #1007 )
2017-04-13 21:06:43 +03:00
Xiang Zhang
a6902e662c
bpo-26985: Add missing info of code object in inspect documentation (GH-1090)
2017-04-13 10:38:28 +08:00
Serhiy Storchaka
4c0d9ea995
bpo-30017: Allowed calling the close() method of the zip entry writer object ( #1041 )
...
multiple times. Writing to closed zip entry writer object now always produce
a ValueError.
2017-04-12 16:03:23 +03:00
Nick Coghlan
e8a6bb4f39
bpo-29692: Add missing ACKS entry ( #1079 )
2017-04-11 19:47:39 +10:00
svelankar
00c75e9a45
bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH-949)
...
contextlib._GeneratorContextManager.__exit__ includes a special case to deal with
PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context
manager body.
Previously this check was too permissive, and undid one level of chaining on *all*
RuntimeError instances, not just those that wrapped a StopIteration instance.
2017-04-11 19:11:13 +10:00
Sanyam Khurana
19e0494256
bpo-29506: Clarify deep copy note in copy module
...
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
2017-04-09 20:22:30 +10:00
Aviv Palivoda
0e6cb2ea62
bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461)
...
conn.set_trace_callback() shouldn't be called multiple times when the
schema is changing.
This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303.
2017-04-09 12:11:59 +03:00
Serhiy Storchaka
b785396ab4
bpo-29998: Pickling and copying ImportError now preserves name and path ( #1010 )
...
attributes.
2017-04-08 09:55:07 +03:00
Serhiy Storchaka
205e00c5cf
bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). ( #843 )
...
object.__reduce__() no longer takes arguments, object.__reduce_ex__() now
requires one argument.
2017-04-08 09:52:59 +03:00
Stuart Berg
93b4b47e3a
bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] ( #24 )
2017-04-05 22:19:40 -07:00
Mark Dickinson
a0ce375e10
bpo-29962: add math.remainder ( #950 )
...
* Implement math.remainder.
* Fix markup for arguments; use double spaces after period.
* Mark up function reference in what's new entry.
* Add comment explaining the calculation in the final branch.
* Fix out-of-order entry in whatsnew.
* Add comment explaining why it's good enough to compare m with c, in spite of possible rounding error.
2017-04-05 18:34:27 +01:00
Serhiy Storchaka
a0157b5f11
Miscellaneous minor fixes of Misc/NEWS formatting. ( #1002 )
2017-04-05 12:07:22 +03:00
Andrew Nester
f78b119364
bpo-29649: Improve struct.pack_into() boundary error messages ( #424 )
2017-04-04 13:46:25 +03:00
cocoatomo
e8c763128f
bpo-19225: Add a table of warning names and missed exception names in C API doc ( #881 )
...
Move the `.. index` directive to more appropriate place.
2017-04-02 13:45:40 +03:00
Pierre Quentel
351adda54b
bpo-29654 : Support If-Modified-Since HTTP header (browser cache) ( #298 )
...
Return 304 response if file was not modified.
2017-04-02 13:26:12 +03:00
Michael Selik
11fa3c7cd1
bpo-29957: change LBYL key lookup to dict.setdefault ( #938 )
...
* change LBYL key lookup to dict.setdefault
The ``results`` was constructed as a defaultdict and we could simply
delete the check ``if key not in results``. However, I think it's safer
to use dict.setdefault as I'm not sure whether the caller expects a
regular dict or defaultdict.
* add name to the acknowledgements file
* use defaultdict to make the key-lookup cleaner
2017-04-01 23:02:31 -07:00
INADA Naoki
e82cf8675b
bpo-29949: Fix set memory usage regression (GH-943)
...
Revert "Minor factoring: move redundant resize scaling logic into the resize function."
This reverts commit 4897300276
.
2017-04-01 17:20:25 +09:00
s-sanjay
7bd8d3e794
bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. ( #879 )
...
the original logic was just comparing the network address
but this is wrong because if the network address is equal then
we need to compare the ip address for breaking the tie
add more ip_interface comparison tests
2017-04-01 09:09:53 +03:00
Serhiy Storchaka
314d6fca36
bpo-29953: Fix memory leaks in the replace() method of datetime and time ( #927 )
...
objects when pass out of bound fold argument.
2017-03-31 22:48:16 +03:00
T. Wouters
5466d4af5f
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. ( #889 )
...
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
2017-03-30 09:58:35 -07:00
Serhiy Storchaka
06e522521c
bpo-10030: Sped up reading encrypted ZIP files by 2 times. ( #550 )
2017-03-30 19:09:08 +03:00
Serhiy Storchaka
d4edfc9abf
bpo-29935: Fixed error messages in the index() method of tuple, list and deque ( #887 )
...
when pass indices of wrong type.
2017-03-30 18:29:23 +03:00
Serhiy Storchaka
762ec97ea6
bpo-29204: Emit warnings for already deprecated ElementTree features. ( #773 )
...
Element.getiterator() and the html parameter of XMLParser() were
deprecated only in the documentation (since Python 3.2 and 3.4 correspondintly).
Now using them emits a deprecation warning.
* Don’t need check_warnings any more.
2017-03-30 18:12:06 +03:00
s-sanjay
16f852345b
bpo-29913: deprecate compare_networks() in documentation (GH-865)
2017-03-30 15:44:29 +08:00
Serhiy Storchaka
576def096e
bpo-27863: Fixed multiple crashes in ElementTree. ( #765 )
2017-03-30 09:47:31 +03:00
Serhiy Storchaka
918403cfc3
bpo-29816: Shift operation now has less opportunity to raise OverflowError. ( #680 )
...
ValueError always is raised rather than OverflowError for negative counts.
Shifting zero with non-negative count always returns zero.
2017-03-30 09:47:07 +03:00
Serhiy Storchaka
ea720fe7e9
bpo-25996: Added support of file descriptors in os.scandir() on Unix. ( #502 )
...
os.fwalk() is sped up by 2 times by using os.scandir().
2017-03-30 09:12:31 +03:00
Serhiy Storchaka
0a58f72762
bpo-24821: Fixed the slowing down to 25 times in the searching of some ( #505 )
...
unlucky Unicode characters.
2017-03-30 09:11:10 +03:00
Xiang Zhang
794623bdb2
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693)
...
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
2017-03-29 11:58:54 +08:00
Garvit Khatri
1cf93a76c2
bpo-10379: add 'monetary' to format_string, deprecate format
...
Add the 'monetary' parameter to format_string so that all
uses of format can be converted to format_string. Adjust
the documentation accordingly, and add a deprecation
warning when format is used.
2017-03-28 11:43:38 -04:00
INADA Naoki
c8fa45bac2
NEWS: remove duplicated "Build" section (GH-872)
2017-03-29 00:24:30 +09:00
Barry Warsaw
9f74deba78
Improve the documentation for template strings ( #856 )
...
bpo-19824
bpo-20314
bpo-12518
2017-03-28 10:02:07 -04:00
Alex Wang
8cea5929f5
bpo-29643: Fix check for --enable-optimizations (GH-129)
...
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
2017-03-28 21:50:51 +09:00
Victor Stinner
bbd3cf8f1e
Fix ref cycles in TestCase.assertRaises() ( #193 )
...
bpo-23890: unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
2017-03-28 00:56:28 +02:00
Michael Seifert
5fb278fd58
Fixes sphinx warning in "changelog" misc/NEWS ( #829 )
2017-03-26 21:25:57 -04:00
Serhiy Storchaka
4aec9a8be2
bpo-29901: Improve support of path-like objects in zipapp. ( #815 )
...
Now general path-like objects are supported, not just pathlib.Path.
2017-03-25 13:05:23 +02:00
Serhiy Storchaka
671079ef60
bpo-29894: Deprecate returning an instance of complex subclass from __complex__. ( #798 )
...
In a future versions of Python this can be an error.
2017-03-24 21:28:43 +02:00
Serhiy Storchaka
af7b9ec5c8
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) ( #805 )
...
when the OS gives priority to errors such as EACCES over EEXIST.
2017-03-24 20:51:53 +02:00
Antoine Pitrou
8988945cdc
bpo-29861: release references to multiprocessing Pool tasks ( #743 )
...
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
2017-03-24 13:52:11 +01:00
Serhiy Storchaka
e304e33c16
bpo-19930: The mode argument of os.makedirs() no longer affects the file ( #799 )
...
permission bits of newly-created intermediate-level directories.
2017-03-24 13:27:42 +02:00
Christophe Zeitouny
20fbf8accd
faulthandler: Restore the old sigaltstack during teardown ( #777 )
2017-03-23 18:14:29 +01:00
Serhiy Storchaka
aefa7ebf0f
bpo-6532: Make the thread id an unsigned integer. ( #781 )
...
* bpo-6532: Make the thread id an unsigned integer.
From C API side the type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), the id parameter of
PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
changed from "long" to "unsigned long".
* Restore a check in thread_get_ident().
2017-03-23 14:48:39 +01:00
Nathaniel J. Smith
1e2147b9d7
bpo-29728: Provide socket.TCP_NOTSENT_LOWAT ( #477 )
...
* Provide socket.TCP_NOTSENT_LOWAT
* New TCP option available on recent MacOS and Linux.
* Document addition of TCP_NOTSENT_LOWAT
2017-03-22 20:56:55 -07:00
Daniel Birnstiel
d7fa6b259e
bpo-29859: Fix error messages from return codes for pthread_* calls (GH-741)
2017-03-21 22:06:06 +09:00
Xiang Zhang
4830f581af
bpo-29849: fix a memory leak in import_from (GH-712)
2017-03-21 11:13:42 +08:00
Benjamin Peterson
df8280838f
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one ( #422 )" ( #713 )
...
This reverts commit 02371e0ed1
.
2017-03-19 23:49:43 -07:00
4kir4
e46fb86118
bpo-28876: bool of large range raises OverflowError ( #699 )
2017-03-20 08:44:46 +02:00
Serhiy Storchaka
80ec8364f1
bpo-29748: Added the slice index converter in Argument Clinic. ( #549 )
2017-03-19 19:37:40 +02:00
Serhiy Storchaka
a5af6e1af7
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ( #514 )
2017-03-19 19:25:29 +02:00
Nate
bd583ef985
bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ ( #527 )
...
Many metaclasses in the standard library don't play nice with
__init_subclass__. This bug makes ABCMeta in particular with
__init_subclass__, which is an 80/20 solution for me personally.
AFAICT, a general solution to this problem requires updating all
metaclasses in the standard library to make sure they pass **kwargs to
type.__new__, whereas this PR only fixes ABCMeta. For context, see
https://bugs.python.org/issue29581 .
* added a test combining ABCMeta and __init_subclass__
* Added NEWS item
2017-03-15 11:39:22 -07:00
Michael Seifert
6c3d527468
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings ( #649 )
2017-03-15 07:26:33 +02:00
Xiang Zhang
7e2a54cdd9
bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-546)
2017-03-14 15:07:15 +08:00
Nikolay Kim
2b27e2e6a3
bpo-29742: asyncio get_extra_info() throws exception ( #525 )
2017-03-12 15:23:30 -04:00
Serhiy Storchaka
4125e5c60e
bpo-26121: Revert to using the own implementations of lgamma and gamma on all platforms. ( #637 )
2017-03-12 14:08:06 +02:00
Serhiy Storchaka
c2cf128571
bpo-8256: Fixed possible failing or crashing input() ( #517 )
...
if attributes "encoding" or "errors" of sys.stdin or sys.stdout
are not set or are not strings.
2017-03-12 13:50:36 +02:00
Nick Coghlan
27abb0e533
bpo-29723: Add missing NEWS entry ( #638 )
2017-03-12 21:34:32 +10:00
Serhiy Storchaka
f6595983e0
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. ( #507 )
2017-03-12 13:15:01 +02:00
Serhiy Storchaka
202fda55c2
bpo-24037: Add Argument Clinic converter `bool(accept={int})`. ( #485 )
2017-03-12 10:10:47 +02:00
Serhiy Storchaka
97553fdf9d
bpo-26121: Use C library implementation for math functions: ( #515 )
...
* bpo-26121: Use C library implementation for math functions:
tgamma(), lgamma(), erf() and erfc().
* Don't use tgamma() and lgamma() from libc on OS X.
2017-03-11 21:37:16 +00:00
Victor Stinner
0f6d73343d
bpo-29619: Convert st_ino using unsigned integer ( #557 )
...
bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode
(st_ino) using unsigned integers.
2017-03-09 17:34:28 +01:00
orenmn
964281af59
bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements ( #570 )
2017-03-09 11:35:28 +02:00
Serhiy Storchaka
a7cba27aea
bpo-29645: Speed up importing the webbrowser module. ( #484 )
2017-03-08 17:15:54 +02:00
Serhiy Storchaka
8606e9524a
bpo-28231: The zipfile module now accepts path-like objects for external paths. ( #511 )
2017-03-08 14:37:51 +02:00
Benjamin Peterson
21a74312f2
Revert "bpo-29571: Use correct locale encoding in test_re ( #149 )" ( #554 )
...
This reverts commit ace5c0fdd9
.
2017-03-07 22:48:09 -08:00
Benjamin Peterson
02371e0ed1
make the glibc alias table take precedence over the X11 one ( #422 )
...
bpo-20087
2017-03-07 22:03:13 -08:00
Serhiy Storchaka
9f8ad3f39e
bpo-29568: Disable any characters between two percents for escaped percent "%%" in the format string for classic string formatting. (GH-513)
2017-03-08 11:51:19 +08:00
Xiang Zhang
d5d3249e8a
bpo-26915: Test identity first in membership operation in index() and count() methods of collections.abc.Sequence (GH-503)
2017-03-08 11:04:24 +08:00
Serhiy Storchaka
8f6b344d36
bpo-28682: Added support for bytes paths in os.fwalk(). ( #489 )
2017-03-07 14:33:21 +02:00
Serhiy Storchaka
2e5642422f
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). ( #518 )
2017-03-06 17:01:06 +02:00
Xiang Zhang
b76ad5121e
bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-499)
2017-03-06 17:17:05 +08:00
Serhiy Storchaka
58d23e6806
bpo-29695: Deprecated using bad named keyword arguments in builtings: ( #486 )
...
int(), bool(), float(), list() and tuple(). Specify the value as a
positional argument instead.
2017-03-06 00:53:39 +02:00
Ned Deily
de04644627
bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. ( #462 )
...
* bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS
Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
2017-03-04 06:00:37 -05:00
Ned Deily
5c4b0d063a
bpo-27593: Get SCM build info from git instead of hg. ( #446 )
...
sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.
Based on original patches by Brett Cannon and Steve Dower.
2017-03-04 00:19:55 -05:00
Zachary Ware
fc64c351c7
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-439)
2017-03-03 16:07:07 -06:00
David Ellis
85b8d01c91
bpo-29623: Make PathLike objects work with ConfigParser.read() ( #242 )
2017-03-03 20:14:27 +03:00
Aviv Palivoda
86a670543f
bpo-9303: Migrate sqlite3 module to _v2 API to enhance performance ( #359 )
2017-03-03 13:58:17 +03:00
Yury Selivanov
84af903f3b
bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C ( #408 )
2017-03-02 23:46:56 -05:00
Seth M. Larson
481cb70a72
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing ( #405 )
2017-03-02 23:21:18 -05:00
Yury Selivanov
398ff91ac0
bpo-28893: Set __cause__ for errors in async iteration protocol ( #407 )
2017-03-02 22:20:00 -05:00
Yury Selivanov
8d26aa930c
bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. ( #406 )
2017-03-02 22:16:33 -05:00
Yury Selivanov
ba7e1f9a4e
bpo-29703: asyncio: Fix creating new event loops in child processes. ( #404 )
2017-03-02 20:07:11 -05:00
Brian Coleman
6a9122ce69
bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is ( #376 )
...
allocated.
On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.
2017-03-02 11:32:18 +01:00
Petr Motejlek
3c6314c08d
bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError ( #260 )
...
(or any other exception) to exception(s) raised in the dispatched methods.
Patch by Petr Motejlek.
2017-03-01 19:21:28 +02:00
INADA Naoki
3824cd8fd4
bpo-29684: Fix regression of PyEval_CallObjectWithKeywords (GH-87)
...
It should raise TypeError when kwargs is not a dict.
2017-03-01 20:41:03 +09:00
Xiang Zhang
267b9d2fa8
bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used as decorator (GH-231)
2017-02-28 17:12:52 +08:00
Xiang Zhang
f3a9faba4b
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-236)
2017-02-27 11:01:30 +08:00
Sayan Chowdhury
d5c11f7ace
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects ( #157 )
2017-02-26 20:06:10 +03:00
Berker Peksag
4a926caf8e
bpo-28518: Start a transaction implicitly before a DML statement ( #245 )
...
Patch by Aviv Palivoda.
2017-02-26 18:22:38 +03:00
Subhendu Ghosh
ae160bba20
bpo-26128: Added __init__to subprocess.STARTUPINFO ( #171 )
...
The Windows-specific subprocess.STARTUPINFO class now accepts
keyword-only arguments to its constructor to set the various
data attributes.
Patch by Subhendu Ghosh.
2017-02-26 00:59:05 +10:00
Ratnadeep Debnath
21024f0662
bpo-16285: Update urllib quoting to RFC 3986 ( #173 )
...
* bpo-16285: Update urllib quoting to RFC 3986
urllib.parse.quote is now based on RFC 3986, and hence
includes `'~'` in the set of characters that is not escaped
by default.
Patch by Christian Theune and Ratnadeep Debnath.
2017-02-25 19:00:28 +10:00
David Steele
e3ce69522f
bpo-24241: Improve preferred webbrowser handling ( #85 )
...
- Add 'preferred' argument to webbrowser.register
- Use xdg-settings to specify preferred X browser
The first change replaces the existing undocumented tri-state
'try_order' parameter with the documented boolean keyword-only
'preferred' parameter. Setting it to True places the browser at the
front of the list, preferring it as the return to a subsequent get() call.
The second change adds a private `_os_preferred_browser` setting
and then uses that to make the default browser reported by
`xdg-settings` first in the try list when running under X (or
another environment that sets the `DISPLAY` variable).
This avoids the problem where the first entry in the tryorder
queue otherwise defaults to xdg-open, which doesn't support
the "new window" option.
2017-02-25 14:47:38 +10:00
Mariatta
e3bf4cdd3d
bpo-28929: Add to Misc/NEWS (GH-112)
...
mention bpo-28929 in the Documentation section of
What's New in Python 3.7.0 alpha 1
2017-02-24 18:09:22 -08:00
Barry Warsaw
fba79dc568
bpo-25008: Deprecate smtpd and point to aiosmtpd ( #274 )
...
* bpo-25008: Deprecate smtpd and point to aiosmtpd.
* Simplify the aiosmtpd URL.
2017-02-24 20:05:59 +01:00
Martijn Pieters
d7e64337ef
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations ( #51 )
...
When you use `'%s' % SubClassOfStr()`, where `SubClassOfStr.__rmod__` exists, the reverse operation is ignored as normally such string formatting operations use the `PyUnicode_Format()` fast path. This patch tests for subclasses of `str` first and picks the slow path in that case.
Patch by Martijn Pieters.
2017-02-23 15:38:04 +02:00
INADA Naoki
cb41b2766d
bpo-29463: Add docstring field to some AST nodes. ( #46 )
...
* bpo-29463: Add docstring field to some AST nodes.
ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now. It was first statement of there body.
* fix document. thanks travis!
* doc fixes
2017-02-22 16:31:59 +01:00
Matthias Bussonnier
1bc156430b
bpo-29546: Improve from-import error message with location ( #103 )
...
bpo-29546: Improve from-import error message with location
2017-02-22 10:06:50 -05:00
Anthony Zhang
03f68b60e1
bpo-29110: Fix file object leak in `aifc.open` when given invalid AIFF file. (GH-162)
2017-02-22 16:23:30 +09:00
Matthieu Dartiailh
3a9ac827c7
bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX ( #202 )
2017-02-21 15:25:22 +02:00
Mark Dickinson
112ec38c15
bpo-29602: fix signed zero handling in complex constructor. ( #203 )
...
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
2017-02-20 20:28:15 +00:00
Serhiy Storchaka
9639e4ab6d
bpo-29532: Altering a kwarg dictionary passed to functools.partial() ( #190 )
...
no longer affects a partial object after creation.
2017-02-20 14:04:30 +02:00
Xiang Zhang
d0e8212ed7
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects ( #128 )
2017-02-20 12:25:16 +08:00
Steve Dower
52a7e92e3d
bpo-29579: Removes readme.txt from the installer. ( #160 )
2017-02-18 16:12:02 -08:00
Barry Warsaw
8c130d7f81
bpo-22807: Expose platform UUID generation safety information. ( #138 )
...
bpo-22807: Expose platform UUID generation safety information.
2017-02-18 15:45:49 -05:00
Nick Coghlan
ace5c0fdd9
bpo-29571: Use correct locale encoding in test_re ( #149 )
...
``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).
``re.LOCALE`` uses the latter, so update the test case to match.
2017-02-18 15:01:22 +05:30
Matthias Bussonnier
1d4601c2c6
bpo-29576: add explicit deprecation for importlib.abc.find_loader() and find_module() (GH-32)
2017-02-15 18:00:32 -08:00
Mariatta
85064db281
bpo-29521 update Misc/ACKS ( #106 )
2017-02-16 00:16:24 +01:00
Matthias Bussonnier
bc4bed4405
bpo-29546: Set 'path' on ImportError for ``from ... import ...`` (GH-91)
2017-02-14 16:05:25 -08:00
Mark Dickinson
996c3874fd
Issue #29534 : move Misc/NEWS entry to correct section; add Misc/ACS entry for Andrew Nester. ( #99 )
2017-02-14 19:18:54 +00:00
Andrew Nester
6d1dece06d
Fixed #29534 - _decimal difference with _pydecimal ( #65 )
2017-02-14 18:22:55 +00:00
Ivan Levkivskyi
b692dc8475
bpo-28556: Various updates to typing ( #28 )
...
various updates from upstream python/typing repo:
- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates
* Add Misc/NEWS entry
* Add issue number
2017-02-13 13:50:14 -08:00
INADA Naoki
2294f3aee1
bpo-29438: fixed use-after-free in key sharing dict ( #17 )
2017-02-12 13:51:30 +09:00
Ryan Gonzalez
e7ffb99f84
Fix some sphinx warnings ( #9 )
...
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS
2017-02-11 13:47:37 +09:00
Victor Stinner
05e218c37d
Merge 3.6
2017-02-10 10:34:37 +01:00
Victor Stinner
b67f096738
Fix datetime.fromtimestamp(): check bounds
...
Issue #29100 : Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
2017-02-10 10:34:02 +01:00
Łukasz Langa
57fe245e8c
Merge 3.5 ( fix #29519 )
2017-02-10 00:16:10 -08:00
Łukasz Langa
9cd7e17640
Fix #29519 : weakref spewing exceptions during interp finalization
2017-02-10 00:14:55 -08:00
Nick Coghlan
c7a24a7330
Merge issue #26355 fix from 3.6
2017-02-09 16:09:03 +01:00
Nick Coghlan
e1857579f8
Merge issue #26355 fix from Python 3.5
2017-02-09 16:08:17 +01:00
Nick Coghlan
e66244521c
Issue #26355 : Specify canonical URLs in docs pages
...
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
2017-02-09 16:03:59 +01:00
Victor Stinner
193ee0a0e8
Prohibit implicit C function declarations
...
Issue #27659 : use -Werror=implicit-function-declaration when possible (GCC and
Clang, but it depends on the compiler version).
Patch written by Chi Hsuan Yen.
2017-02-06 14:24:00 +01:00
Steve Dower
49226e23f6
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:41:12 -08:00
Steve Dower
c008ddeb21
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:38 -08:00
Steve Dower
6d46ae7d12
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:21 -08:00
Steve Dower
824c6fdfaa
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:46 -08:00
Steve Dower
5f9193a6ed
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:29 -08:00
Steve Dower
43fec9b419
Merge issue #28164 and issue #29409
2017-02-04 15:14:18 -08:00
Steve Dower
722e3e2705
Issue #28164 : Correctly handle special console filenames (patch by Eryk Sun)
2017-02-04 15:07:46 -08:00
Steve Dower
38dbaced03
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:50 -08:00
Steve Dower
bf0fc39edb
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:40 -08:00
Steve Dower
21fae03e16
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:13 -08:00
Steve Dower
479d96c694
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:56:57 -08:00
Steve Dower
1add96f1b6
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:55:16 -08:00
Steve Dower
d3c4853b78
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:54:56 -08:00
Steve Dower
eacee98679
Issue #29409 : Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
2017-02-04 14:38:11 -08:00
Serhiy Storchaka
ef5176769d
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:57:44 +02:00
Serhiy Storchaka
86e42376c2
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:55:40 +02:00
Serhiy Storchaka
7e10dbbd45
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:53:57 +02:00
Serhiy Storchaka
bee09aecc2
Issue #29368 : The extend() method is now called instead of the append()
...
method when unpickle collections.deque and other list-like objects.
This can speed up unpickling to 2 times.
2017-02-02 11:12:47 +02:00
Guido van Rossum
934aba66ef
Issue #29377 : Add three new wrappers to types.py (Manuel Krebber).
2017-02-01 10:55:58 -08:00
Victor Stinner
611083331d
python-gdb.py supports method-wrapper
...
Issue #29367 : python-gdb.py now supports also method-wrapper (wrapperobject)
objects.
2017-02-01 16:29:54 +01:00
doko@ubuntu.com
c9473b838a
Merge 3.6
2017-02-01 13:02:16 +01:00
doko@ubuntu.com
f8c5f30303
Merge 3.5
2017-02-01 13:01:54 +01:00
doko@ubuntu.com
137b5a2861
Issue #29169 : Fix NEWS entry.
2017-02-01 13:01:17 +01:00
Berker Peksag
ef158c3ced
Issue #29218 : Remove unused install_misc command
...
It has been documented as unused since 6c6844a2fa30 (2000-05-25)
Patch by Eric N. Vander Weele.
2017-02-01 04:42:48 +03:00
doko@ubuntu.com
9ac4815240
merge 3.6
2017-01-31 13:53:39 +01:00
doko@ubuntu.com
cd12f7cb5c
merge 3.5
2017-01-31 13:51:21 +01:00
doko@ubuntu.com
34e7e2ecb1
- Issue #29169 : Update zlib to 1.2.10.
2017-01-31 13:49:48 +01:00
Martin Panter
f24bcccefd
Issue #28822 : Add susp-ignored entry for NEWS; fix grammar
2017-01-29 23:37:56 +00:00
Martin Panter
3f16f57ea4
Issue #29384 : Remove Be OS scripts from Modules/, unused in 3.0+
2017-01-29 10:21:57 +00:00
Martin Panter
c654f0acf9
Issues #29349 : Add NEWS for 3.7; use “with” statement
2017-01-29 10:17:17 +00:00
Martin Panter
3a6dc19f6e
Issues #29349 : Merge Py 2 fix 3.6
2017-01-29 10:16:28 +00:00
Martin Panter
e61592e7e1
Issues #29349 : Merge Py 2 fix 3.5
2017-01-29 10:09:43 +00:00
Martin Panter
8f3fb72309
Issue #29349 : Fix Python 2 syntax in documentation build code
2017-01-29 10:05:02 +00:00
Serhiy Storchaka
6e08baf12d
Issue #27867 : Function PySlice_GetIndicesEx() is deprecated and replaced with
...
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
2017-01-25 13:27:44 +02:00
Serhiy Storchaka
512c57cb72
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:25:52 +02:00
Serhiy Storchaka
b2a5be0763
Issue #27867 : Function PySlice_GetIndicesEx() is replaced with a macro if
...
Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher.
2017-01-25 13:23:05 +02:00
Serhiy Storchaka
675f2f8f90
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:39:42 +02:00
Serhiy Storchaka
3831b0a066
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:34:44 +02:00
Serhiy Storchaka
07a1f65a93
Issue #29083 : Fixed the declaration of some public API functions.
...
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in
limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and
Py_BuildValue() were not available in limited API of version < 3.3 when
PY_SSIZE_T_CLEAN is defined.
2017-01-24 21:27:12 +02:00
Serhiy Storchaka
067cbd02bf
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:54:07 +02:00
Serhiy Storchaka
4102d25b7e
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:52:43 +02:00
Serhiy Storchaka
713640c4c9
Issue #29337 : Fixed possible BytesWarning when compare the code objects.
...
Warnings could be emitted at compile time.
2017-01-24 20:49:26 +02:00
Victor Stinner
0e830455cb
Merge 3.6
2017-01-23 12:34:00 +01:00
Victor Stinner
01f5ae7b76
Issue #26273 : Document TCP_USER_TIMEOUT and TCP_CONGESTION
2017-01-23 12:30:00 +01:00
Serhiy Storchaka
ccb5f3cee9
Issue #29338 : The help of a builtin or extension class now includes the
...
constructor signature if __text_signature__ is provided for the class.
2017-01-23 12:37:00 +02:00
Gregory P. Smith
5c8706c04a
Issue #29335 : Fix subprocess.Popen.wait() when the child process has
...
exited to a stopped instead of terminated state (ex: when under ptrace).
2017-01-22 17:30:28 -08:00
Gregory P. Smith
78034c81fb
Issue #29335 : Fix subprocess.Popen.wait() when the child process has
...
exited to a stopped instead of terminated state (ex: when under ptrace).
2017-01-22 17:29:44 -08:00
Gregory P. Smith
50e16e33af
Issue #29335 : Fix subprocess.Popen.wait() when the child process has
...
exited to a stopped instead of terminated state (ex: when under ptrace).
2017-01-22 17:28:38 -08:00
Serhiy Storchaka
2a404b63d4
Issue #28769 : The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()
...
is now of type "const char *" rather of "char *".
2017-01-22 23:07:07 +02:00
Xiang Zhang
d528791096
Issue #29290 : Merge 3.6.
2017-01-22 14:41:42 +08:00
Xiang Zhang
b1681189af
Issue #29290 : Merge 3.5.
2017-01-22 14:39:20 +08:00
Xiang Zhang
7fe28ad837
Issue #29290 : argparse help messages won't wrap at non-breaking spaces.
2017-01-22 14:37:22 +08:00
Serhiy Storchaka
19dea2c726
Issue #28735 : Fixed the comparison of mock.MagickMock with mock.ANY.
2017-01-21 23:17:25 +02:00
Serhiy Storchaka
a203360836
Issue #28735 : Fixed the comparison of mock.MagickMock with mock.ANY.
2017-01-21 23:15:18 +02:00
Serhiy Storchaka
362f058a89
Issue #28735 : Fixed the comparison of mock.MagickMock with mock.ANY.
2017-01-21 23:12:58 +02:00
Mark Dickinson
5e65cd39df
Issue #29282 : Backed out changeset b33012ef1417
2017-01-21 13:10:52 +00:00
Mark Dickinson
d1b230e48b
Issue #29282 : add fused multiply-add function, math.fma.
2017-01-21 12:35:30 +00:00
Ned Deily
502efda10c
Update Misc/NEWS and Misc/HISTORY from current 3.5 and 3.4 branches.
2017-01-20 10:39:13 -05:00
Ned Deily
b2df6319e3
Update Misc/NEWS and Misc/HISTORY from current 3.5 and 3.4 branches.
2017-01-20 10:35:46 -05:00
Ned Deily
67c1cb2008
Issue #29316 : Restore the provisional status of typing module and add
...
corresponding note to documentation. Patch by Ivan L.
2017-01-20 10:13:23 -05:00
Serhiy Storchaka
299dc239fe
Issue #29327 : Fixed a crash when pass the iterable keyword argument to sorted().
2017-01-20 08:35:18 +02:00
Serhiy Storchaka
398ef5c08f
Issue #29327 : Fixed a crash when pass the iterable keyword argument to sorted().
2017-01-20 08:33:06 +02:00
Larry Hastings
09e4ce5a95
Merge 3.5.3 release head with main 3.5 branch.
2017-01-17 00:56:40 -08:00
Larry Hastings
c620f200d6
Post-release updates for 3.5.3.
2017-01-17 00:49:32 -08:00
Raymond Hettinger
e12c313f5e
merge
2017-01-16 22:43:43 -08:00
Raymond Hettinger
80490525e0
Issue #29011 : Fix an important omission by adding Deque to the typing module.
2017-01-16 22:42:37 -08:00
Larry Hastings
51ba5b7d0c
Version bump for Python 3.5.3.
2017-01-16 00:19:36 -08:00
Martin Panter
35e022b77c
Repeat “when pass” fixes for 3.7 section
2017-01-14 08:43:13 +00:00
Martin Panter
446a498a63
Merge doc fixes from 3.6
2017-01-14 09:56:00 +00:00
Martin Panter
674b099eaa
More instances of “when pass”
2017-01-14 08:33:10 +00:00
Martin Panter
4659ddc433
Merge doc fixes from 3.5
2017-01-14 09:54:57 +00:00
Martin Panter
536d70ed33
Fix grammar, typos and markup in documentation and code comments
...
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
2017-01-14 08:23:08 +00:00
Serhiy Storchaka
9ed707eb4c
Issue #29197 : Removed deprecated function ntpath.splitunc().
2017-01-13 20:55:05 +02:00
Serhiy Storchaka
4f76fb16b7
Issue #29210 : Removed support of deprecated argument "exclude" in
...
tarfile.TarFile.add().
2017-01-13 13:25:24 +02:00
Serhiy Storchaka
6196ac4186
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:44:00 +02:00
Serhiy Storchaka
4c4ff5f4d4
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:42:17 +02:00
Serhiy Storchaka
4b318f8be9
Issue #29219 : Fixed infinite recursion in the repr of uninitialized
...
ctypes.CDLL instances.
2017-01-13 09:37:56 +02:00
Serhiy Storchaka
cc283378d6
Issue #29192 : Removed deprecated features in the http.cookies module.
2017-01-13 09:23:15 +02:00
Serhiy Storchaka
009b0a1fac
Issue #29193 : A format string argument for string.Formatter.format()
...
is now positional-only.
2017-01-13 09:10:51 +02:00
Serhiy Storchaka
b37f3f6e6b
Issue #29195 : Removed support of deprecated undocumented keyword arguments
...
in methods of regular expression objects.
2017-01-13 08:53:58 +02:00
Serhiy Storchaka
617c7753ce
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 19:42:20 +02:00
Serhiy Storchaka
42e1ea9a10
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 19:12:21 +02:00
Serhiy Storchaka
67796521dd
Issue #28969 : Fixed race condition in C implementation of functools.lru_cache.
...
KeyError could be raised when cached function with full cache was
simultaneously called from differen threads with the same uncached arguments.
2017-01-12 18:34:33 +02:00
Serhiy Storchaka
d9c956fb23
Issue #20804 : The unittest.mock.sentinel attributes now preserve their
...
identity when they are copied or pickled.
2017-01-11 20:13:03 +02:00
Martin Panter
23e5b82cf7
Issue #29239 : Merge bug number from 3.6
2017-01-11 12:00:39 +00:00
Martin Panter
ced4b90756
Issue #29239 : Fix --enable-optimizations bug number
2017-01-11 11:56:22 +00:00
Xiang Zhang
04c15d5bdc
Issue #29142 : Merge 3.6.
2017-01-09 11:52:10 +08:00
Xiang Zhang
c44d58a77a
Issue #29142 : Merge 3.5.
2017-01-09 11:50:02 +08:00
Xiang Zhang
959ff7f1c6
Issue #29142 : Fix suffixes in no_proxy handling in urllib.
...
In urllib.request, suffixes in no_proxy environment variable with
leading dots could match related hostnames again (e.g. .b.c matches a.b.c).
Patch by Milan Oberkirch.
2017-01-09 11:47:55 +08:00
Raymond Hettinger
4ee39141e8
Issue #29203 : functools.lru_cache() now respects PEP 468
2017-01-08 17:28:20 -08:00
Xiang Zhang
ce16c6827c
Issue #29034 : Merge 3.6.
2017-01-08 23:30:05 +08:00
Xiang Zhang
04316c4cc8
Issue #29034 : Fix memory leak and use-after-free in path_converter.
2017-01-08 23:26:57 +08:00
Victor Stinner
cd992bbe73
Merge 3.6
2017-01-06 18:16:07 +01:00
Victor Stinner
84b6fb0eea
Fix unittest.mock._Call: don't ignore name
...
Issue #28961 : Fix unittest.mock._Call helper: don't ignore the name parameter
anymore.
Patch written by Jiajun Huang.
2017-01-06 18:15:51 +01:00
INADA Naoki
7ed28a8914
Merge 3.6
2017-01-06 17:44:43 +09:00
INADA Naoki
a634e23209
Issue #29159 : Fix regression in bytes(x) when x.__index__() raises Exception.
2017-01-06 17:32:01 +09:00
Xavier de Gaye
9971220e41
Issue #26851 : Merge 3.6.
2017-01-04 21:53:53 +01:00
Xavier de Gaye
2a352b667b
Issue #26851 : Set Android compilation and link flags.
2017-01-04 21:51:16 +01:00
Larry Hastings
e744804bc9
Post-release fixups for Python 3.5.3rc1.
2017-01-02 18:31:25 -08:00
Steve Dower
ea74f0cd4a
Issue #24932 : Use proper command line parsing in _testembed
2017-01-01 20:25:03 -08:00
Berker Peksag
6215e524a2
Issue #15812 : Merge from 3.6
2017-01-02 07:00:29 +03:00
Berker Peksag
01debaccdd
Issue #15812 : Merge from 3.5
2017-01-02 06:59:12 +03:00
Berker Peksag
ff0e3b7a54
Issue #15812 : inspect.getframeinfo() now correctly shows the first line of a context
...
Patch by Sam Breese.
2017-01-02 06:57:43 +03:00
Berker Peksag
00b1ae0dfc
Issue #28985 : Update authorizer constants in sqlite3 module
...
Dates and version information from the changelog:
* 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE
* 2006-10-09 (3.3.8) added SQLITE_FUNCTION
* 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT
* 2014-02-03 (3.8.3) added SQLITE_RECURSIVE
Patch by Dingyuan Wang.
2017-01-02 06:38:10 +03:00
Serhiy Storchaka
67e1aa0b58
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-02 01:43:02 +02:00
Serhiy Storchaka
e465a9af8e
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-01 19:05:29 +02:00
Serhiy Storchaka
34cba33403
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-01 19:00:30 +02:00
Raymond Hettinger
4a5fd61a91
merge
2016-12-31 12:08:19 -07:00
Raymond Hettinger
744c720b69
Issue #29119 : Merge in ACK from 3.5 branch
2016-12-31 12:08:00 -07:00
Raymond Hettinger
a67619ec5f
merge
2016-12-31 12:02:42 -07:00
Raymond Hettinger
b46ea90343
Issue #29119 : Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea.
2016-12-31 12:01:59 -07:00
Raymond Hettinger
0ce64323cf
merge
2016-12-29 22:55:03 -07:00
Raymond Hettinger
e9ee207622
Issue #29061 : secrets.randbelow() would hang with a negative input
2016-12-29 22:54:25 -07:00