- 11 Apr, 2017 3 commits
-
-
Nick Coghlan authored
-
svelankar authored
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.
-
Senthil Kumaran authored
-
- 10 Apr, 2017 1 commit
-
-
Senthil Kumaran authored
-
- 09 Apr, 2017 5 commits
-
-
Sanyam Khurana authored
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.
-
Aviv Palivoda authored
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.
-
Nick Coghlan authored
The original attempted fix missed an `isdir()` call in `get_base_branch()`.
-
Michael Seifert authored
Also changed format specifier for function name from "%s" to "%.200s" and exception messages should start with lowercase letter.
-
Senthil Kumaran authored
-
- 08 Apr, 2017 4 commits
-
-
Jelle Zijlstra authored
Documents a few omitted classes and adds NamedTuple methods.
-
Serhiy Storchaka authored
attributes.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument.
-
- 07 Apr, 2017 3 commits
-
-
Barry Warsaw authored
-
Serhiy Storchaka authored
-
Senthil Kumaran authored
-
- 06 Apr, 2017 2 commits
-
-
Stuart Berg authored
bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] (#24)
-
Alex Jordan authored
-
- 05 Apr, 2017 6 commits
-
-
Mark Dickinson authored
* 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.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
This hides unwanted implementation details from tracebacks.
-
Lisa Roach authored
* Updates B.index documentation. * Updates str.index documentation, makes it Argument Clinic compatible. * Removes ArgumentClinic code. * Finishes string.index documentation. * Updates string.rindex documentation. * Documents B.rindex.
-
Senthil Kumaran authored
* correct parse_qs and parse_qsl test case descriptions.
-
- 04 Apr, 2017 3 commits
-
-
Andrew Nester authored
-
Victor Stinner authored
* bpo-29972: Fix test_eintr on AIX On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer. * bpo-29972: Skip some inet_pton() tests on AIX Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself. * bpo-29972: Skip tests known to fail on AIX * test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date()
-
csabella authored
* bpo-29725: DOC: add text for arraysize in sqlite3.Cursor
-
- 03 Apr, 2017 3 commits
-
-
Jim Fasarakis-Hilliard authored
-
Angus Hollands authored
-
Victor Stinner authored
Don't fail anymore if test run with python3 -Werror. Fix also deprecation message: add a space.
-
- 02 Apr, 2017 6 commits
-
-
Mark Dickinson authored
-
cocoatomo authored
Move the `.. index` directive to more appropriate place.
-
Pierre Quentel authored
Return 304 response if file was not modified.
-
Senthil Kumaran authored
-
Michael Selik authored
* 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
-
csabella authored
-
- 01 Apr, 2017 4 commits
-
-
INADA Naoki authored
Revert "Minor factoring: move redundant resize scaling logic into the resize function." This reverts commit 48973002.
-
Zachary Ware authored
This reverts commit b94d7fd4.
-
s-sanjay authored
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
-
Senthil Kumaran authored
Also uncomment and fix a path test.
-