summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Issue #25155: Fix _PyTime_Divide() roundingVictor Stinner2015-09-182-11/+16
| | | | | | | | | | | | | | | _PyTime_Divide() rounding was wrong: copy code from Python default which has now much better unit tests.
* | | Merge 3.5 (NEWS)Victor Stinner2015-09-181-0/+4
|\ \ \ | |/ /
| * | Issue #25155: document the bugfix in Misc/NEWSVictor Stinner2015-09-181-0/+4
| | | | | | | | | | | | Oops, I forgot to document my change.
* | | Merge 3.5 (pytime, odict)Victor Stinner2015-09-181-1/+1
|\ \ \ | |/ /
| * | odictobject.c: fix compiler warningVictor Stinner2015-09-181-1/+1
| | | | | | | | | | | | | | | PyObject_Length() returns a P_ssize_t, not an int. Use a Py_ssize_t to avoid overflow.
| * | Issue #25155: Add _PyTime_AsTimevalTime_t() functionVictor Stinner2015-09-183-42/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds.
* | | Issue #25155: Add _PyTime_AsTimevalTime_t() functionVictor Stinner2015-09-183-23/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds.
* | | Null merge 3.5Victor Stinner2015-09-180-0/+0
|\ \ \ | |/ /
| * | Issue #25122: sync test_eintr with Python 3.6Victor Stinner2015-09-182-98/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test_eintr: support verbose mode, don't redirect eintr_tester output into a pipe * eintr_tester: replace os.fork() with subprocess to have a cleaner child process (ex: don't inherit setitimer()) * eintr_tester: kill the process if the unit test fails * test_open/test_os_open(): write support.PIPE_MAX_SIZE bytes instead of support.PIPE_MAX_SIZE*3 bytes
* | | Issue #25122: Fix test_eintr.test_open() on FreeBSDVictor Stinner2015-09-182-29/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip test_open() and test_os_open(): both tests uses a FIFO and signals, but there is a bug in the FreeBSD kernel which blocks the test. Skip the tests until the bug is fixed in FreeBSD kernel. Remove also debug traces from test_eintr: * stop using faulthandler to have a timeout * remove print() Write also open and close on two lines in test_open() and test_os_open() tests. If these tests block again, we can know if the test is stuck at open or close. test_eintr: don't always run the test in debug mode.
* | | Merge 3.5 (imp/_imp)Victor Stinner2015-09-181-3/+4
|\ \ \ | |/ /
| * | Issue #25160: Fix import_init() comments and messagesVictor Stinner2015-09-181-3/+4
| | | | | | | | | | | | import_init() imports the "_imp" module, not the "imp" module.
* | | Null mergeSerhiy Storchaka2015-09-180-0/+0
|\ \ \ | |/ /
| * | Null mergeSerhiy Storchaka2015-09-180-0/+0
| |\ \ | | |/
| | * Issue #25108: Backported tests for traceback functions print_stack(),Serhiy Storchaka2015-09-181-0/+35
| | | | | | | | | | | | format_stack(), and extract_stack() called without arguments.
* | | Issue #25108: Omitted internal frames in traceback functions print_stack(),Serhiy Storchaka2015-09-183-0/+44
|\ \ \ | |/ / | | | | | | format_stack(), and extract_stack() called without arguments.
| * | Issue #25108: Omitted internal frames in traceback functions print_stack(),Serhiy Storchaka2015-09-183-0/+44
| | | | | | | | | | | | format_stack(), and extract_stack() called without arguments.
* | | Issue 25147: add reason for using _collectionsEthan Furman2015-09-181-0/+1
| | |
* | | Close issue24756: clarify usage of run_docstring_examples()Ethan Furman2015-09-181-7/+23
|\ \ \ | |/ /
| * | Issue24756: clarify usage of run_docstring_examples()Ethan Furman2015-09-181-7/+23
| |\ \ | | |/
| | * Issue24756: clarify usage of run_docstring_examples()Ethan Furman2015-09-181-7/+23
| | |
* | | Close issue25147: use C implementation of OrderedDictEthan Furman2015-09-181-1/+6
| | |
* | | Close issue24840: Enum._value_ is queried for bool(); original patch by Mike ↵Ethan Furman2015-09-183-0/+11
| | | | | | | | | | | | Lundy
* | | Merge 3.5Yury Selivanov2015-09-161-3/+2
|\ \ \ | |/ /
| * | whatsnew/3.5: Reword bytes*.hex messageYury Selivanov2015-09-161-3/+2
| | |
* | | Issue #25122: add debug traces to test_eintr.test_open()Victor Stinner2015-09-161-0/+14
| | |
* | | Issue #25122: optimize test_eintrVictor Stinner2015-09-151-2/+2
| | | | | | | | | | | | | | | Fix test_write(): copy support.PIPE_MAX_SIZE bytes, not support.PIPE_MAX_SIZE*3 bytes.
* | | Issue #25122: test_eintr: don't redirect stdout to stderrVictor Stinner2015-09-151-1/+1
| | | | | | | | | | | | | | | sys.stderr is sometimes a StringIO. The redirection was just a hack to see eintr_tester.py output in red in the buildbot output.
* | | Merge 3.5 (asyncio doc)Victor Stinner2015-09-151-2/+6
|\ \ \ | |/ /
| * | Issue #25134: Update asyncio doc for SSL on WindowsVictor Stinner2015-09-151-2/+6
| | | | | | | | | | | | ProactorEventLoop now supports SSL.
* | | Issue #25122: Fix test_eintr, kill child process on errorVictor Stinner2015-09-151-8/+24
| | | | | | | | | | | | | | | | | | Some test_eintr hangs on waiting for the child process completion if an error occurred on the parent. Kill the child process on error (in the parent) to avoid the hang.
* | | whatsnew/3.5: Add missing word "class"Berker Peksag2015-09-151-1/+1
|\ \ \ | |/ /
| * | whatsnew/3.5: Add missing word "class"Berker Peksag2015-09-151-1/+1
| | |
* | | Issue #25127: Fix typo in concurrent.futures.rstBerker Peksag2015-09-151-1/+1
|\ \ \ | |/ / | | | | | | Reported by Jakub Wilk.
| * | Issue #25127: Fix typo in concurrent.futures.rstBerker Peksag2015-09-151-1/+1
| |\ \ | | |/ | | | | | | Reported by Jakub Wilk.
| | * Issue #25127: Fix typo in concurrent.futures.rstBerker Peksag2015-09-151-1/+1
| | | | | | | | | | | | Reported by Jakub Wilk.
* | | Issue #25105: Update susp-ignored.csv to avoid false positivesBerker Peksag2015-09-151-0/+5
|\ \ \ | |/ /
| * | Issue #25105: Update susp-ignored.csv to avoid false positivesBerker Peksag2015-09-151-0/+5
| | |
* | | Issue #25122: try to debug test_eintr hang on FreeBSDVictor Stinner2015-09-152-1/+19
| | | | | | | | | | | | | | | | | | | | | * Add verbose mode to test_eintr * Always enable verbose mode in test_eintr * Use faulthandler.dump_traceback_later() with a timeout of 15 minutes in eintr_tester.py
* | | Merge 3.5 (os.waitpid)Victor Stinner2015-09-153-2/+10
|\ \ \ | |/ /
| * | Issue #25118: Fix a regression of Python 3.5.0 in os.waitpid() on Windows.Victor Stinner2015-09-153-2/+10
| | | | | | | | | | | | Add an unit test on os.waitpid()
* | | Merge 3.5 (test_gdb)Victor Stinner2015-09-141-1/+1
|\ \ \ | |/ /
| * | Merge 3.4 (test_gdb)Victor Stinner2015-09-141-1/+1
| |\ \ | | |/
| | * test_gdb: fix regex to parse the GDB versionVictor Stinner2015-09-141-1/+1
| | | | | | | | | | | | Fix the regex to support the version 7.10: minor version with two digits
* | | Tighten inner-loop for deque_inplace_repeat().Raymond Hettinger2015-09-141-4/+6
| | |
* | | Add an exact type match fast path for deque_copy().Raymond Hettinger2015-09-131-0/+16
| | |
* | | Merge with 3.5Steve Dower2015-09-131-1/+1
|\ \ \ | |/ /
| * | Closes #25078: Document InstallAllUsers installer parameter default 0Steve Dower2015-09-131-1/+1
| | |
* | | Fixed a typo in the -b option.Serhiy Storchaka2015-09-131-1/+1
|\ \ \ | |/ /
| * | Fixed a typo in the -b option.Serhiy Storchaka2015-09-131-1/+1
| | |