]> granicus.if.org Git - python/log
python
9 years agoIssue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge...
Guido van Rossum [Sat, 5 Sep 2015 22:20:57 +0000 (15:20 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge 3.5 -> 3.6)

9 years agoIssue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge...
Guido van Rossum [Sat, 5 Sep 2015 22:20:08 +0000 (15:20 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects. (Merge 3.5.0 -> 3.5)

9 years agoIssue #24910: Windows MSIs now have unique display names.
Steve Dower [Sat, 5 Sep 2015 19:47:22 +0000 (12:47 -0700)]
Issue #24910: Windows MSIs now have unique display names.

9 years agoIssue #24910: Windows MSIs now have unique display names.
Steve Dower [Sat, 5 Sep 2015 19:47:06 +0000 (12:47 -0700)]
Issue #24910: Windows MSIs now have unique display names.

9 years agoIssue #23517: Skip a datetime test on Windows
Victor Stinner [Sat, 5 Sep 2015 08:50:20 +0000 (10:50 +0200)]
Issue #23517: Skip a datetime test on Windows

The test calls gmtime(-1)/localtime(-1) which is not supported on Windows.

9 years agoIssue #24912: Prevent __class__ assignment to immutable built-in objects.
Guido van Rossum [Sat, 5 Sep 2015 03:54:07 +0000 (20:54 -0700)]
Issue #24912: Prevent __class__ assignment to immutable built-in objects.

9 years agoIssue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in
Victor Stinner [Fri, 4 Sep 2015 21:57:25 +0000 (23:57 +0200)]
Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp().
microseconds sign should be kept before rounding.

9 years agoNull merge (3.5.1 -> default).
Guido van Rossum [Fri, 4 Sep 2015 19:55:13 +0000 (12:55 -0700)]
Null merge (3.5.1 -> default).

9 years agoNull merge (Larry's 3.5 -> 3.5.1).
Guido van Rossum [Fri, 4 Sep 2015 19:54:36 +0000 (12:54 -0700)]
Null merge (Larry's 3.5 -> 3.5.1).

9 years agoFix issue #24635.
Guido van Rossum [Fri, 4 Sep 2015 19:15:54 +0000 (12:15 -0700)]
Fix issue #24635.

9 years agoIssue #24635: Fixed flakiness in test_typing.py. (Merge from 3.5.)
Guido van Rossum [Fri, 4 Sep 2015 19:05:03 +0000 (12:05 -0700)]
Issue #24635: Fixed flakiness in test_typing.py. (Merge from 3.5.)

9 years agoIssue #24635: Fixed flakiness in test_typing.py.
Guido van Rossum [Fri, 4 Sep 2015 19:00:06 +0000 (12:00 -0700)]
Issue #24635: Fixed flakiness in test_typing.py.

9 years agoMerge 3.5 (create_stdio)
Victor Stinner [Fri, 4 Sep 2015 15:30:48 +0000 (17:30 +0200)]
Merge 3.5 (create_stdio)

9 years agoMerge 3.4 (create_stdio)
Victor Stinner [Fri, 4 Sep 2015 15:29:57 +0000 (17:29 +0200)]
Merge 3.4 (create_stdio)

9 years agoFix race condition in create_stdio()
Victor Stinner [Fri, 4 Sep 2015 15:27:49 +0000 (17:27 +0200)]
Fix race condition in create_stdio()

Issue #24891: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.

9 years agoMerge: #24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:03:03 +0000 (10:03 -0400)]
Merge: #24998: fix cut and paste error in subprocess example.

9 years agoMerge: #24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:02:27 +0000 (10:02 -0400)]
Merge: #24998: fix cut and paste error in subprocess example.

9 years ago#24998: fix cut and paste error in subprocess example.
R David Murray [Fri, 4 Sep 2015 14:01:19 +0000 (10:01 -0400)]
#24998: fix cut and paste error in subprocess example.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 4 Sep 2015 08:38:52 +0000 (04:38 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 4 Sep 2015 08:38:17 +0000 (04:38 -0400)]
Merge with 3.4

9 years agoIssue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:56 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.

9 years agotest_time: add tests on HALF_UP rounding mode for _PyTime_ObjectToTime_t() and
Victor Stinner [Fri, 4 Sep 2015 08:31:16 +0000 (10:31 +0200)]
test_time: add tests on HALF_UP rounding mode for _PyTime_ObjectToTime_t() and
_PyTime_ObjectToTimespec()

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 4 Sep 2015 08:18:11 +0000 (04:18 -0400)]
Merge with 3.5

9 years agoMerge 3.5.0 into 3.5.1
Terry Jan Reedy [Fri, 4 Sep 2015 08:16:42 +0000 (04:16 -0400)]
Merge 3.5.0 into 3.5.1

9 years agoIssue #24986: Merge with 3.5
Zachary Ware [Fri, 4 Sep 2015 06:12:44 +0000 (01:12 -0500)]
Issue #24986: Merge with 3.5

9 years agoIssue #24986: Save some bandwidth from svn.python.org
Zachary Ware [Fri, 4 Sep 2015 06:10:23 +0000 (01:10 -0500)]
Issue #24986: Save some bandwidth from svn.python.org

Don't download sources that won't be used.

9 years agoFixed merge error.
Serhiy Storchaka [Fri, 4 Sep 2015 05:39:33 +0000 (08:39 +0300)]
Fixed merge error.

9 years agoFixed merge error.
Serhiy Storchaka [Fri, 4 Sep 2015 05:38:45 +0000 (08:38 +0300)]
Fixed merge error.

9 years agoMerge heads
Serhiy Storchaka [Fri, 4 Sep 2015 05:36:05 +0000 (08:36 +0300)]
Merge heads

9 years agoMerge 3.5
Serhiy Storchaka [Fri, 4 Sep 2015 05:34:57 +0000 (08:34 +0300)]
Merge 3.5

9 years agoMerge heads
Serhiy Storchaka [Fri, 4 Sep 2015 05:34:01 +0000 (08:34 +0300)]
Merge heads

9 years agoMerge 3.5.0
Serhiy Storchaka [Fri, 4 Sep 2015 05:29:00 +0000 (08:29 +0300)]
Merge 3.5.0

9 years agoMerge 3.5.0
Serhiy Storchaka [Fri, 4 Sep 2015 05:27:39 +0000 (08:27 +0300)]
Merge 3.5.0

9 years agoMerged in storchaka/cpython350 (pull request #13)
Larry Hastings [Fri, 4 Sep 2015 05:12:08 +0000 (22:12 -0700)]
Merged in storchaka/cpython350 (pull request #13)

Issue #24989

9 years agoCloses #24986: Merge with 3.5
Zachary Ware [Fri, 4 Sep 2015 04:53:27 +0000 (23:53 -0500)]
Closes #24986: Merge with 3.5

9 years agoMerge with 3.5
Zachary Ware [Fri, 4 Sep 2015 04:51:07 +0000 (23:51 -0500)]
Merge with 3.5

9 years agoIssue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Serhiy Storchaka [Fri, 4 Sep 2015 04:48:19 +0000 (07:48 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.

9 years agoIssue #24986: Allow building Python without external libraries on Windows
Zachary Ware [Fri, 4 Sep 2015 04:43:54 +0000 (23:43 -0500)]
Issue #24986: Allow building Python without external libraries on Windows

This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.

Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).

9 years agoAllow PCbuild\rt.bat to accept unlimited arguments for regrtest.
Zachary Ware [Fri, 4 Sep 2015 04:43:37 +0000 (23:43 -0500)]
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.

This makes it possible to pass more than 4 tests by name through
Tools\buildbot\test.bat

9 years agoIssue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Terry Jan Reedy [Fri, 4 Sep 2015 01:26:12 +0000 (21:26 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.

9 years agoMerge from 3.5 for issue #24913
Brett Cannon [Thu, 3 Sep 2015 22:35:33 +0000 (15:35 -0700)]
Merge from 3.5 for issue #24913

9 years agoMerge from 3.5.0 for issue #24913
Brett Cannon [Thu, 3 Sep 2015 22:34:57 +0000 (15:34 -0700)]
Merge from 3.5.0 for issue #24913

9 years agoIssue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Serhiy Storchaka [Thu, 3 Sep 2015 22:08:54 +0000 (01:08 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.

9 years agoIssue #24989: Fixed buffer overread in BytesIO.readline() if a position is
Serhiy Storchaka [Thu, 3 Sep 2015 22:08:03 +0000 (01:08 +0300)]
Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is
set beyond size.  Based on patch by John Leitch.

9 years agoMerge 3.5 (ICC)
Victor Stinner [Thu, 3 Sep 2015 19:34:03 +0000 (21:34 +0200)]
Merge 3.5 (ICC)

9 years agoMerge 3.4 (ICC)
Victor Stinner [Thu, 3 Sep 2015 19:32:44 +0000 (21:32 +0200)]
Merge 3.4 (ICC)

9 years agoDon't use defined() in C preprocessor macros
Victor Stinner [Thu, 3 Sep 2015 19:30:26 +0000 (21:30 +0200)]
Don't use defined() in C preprocessor macros

The ICC compiler doesn't seem to support defined() in macro expansion. Example
of warning:

warning #3199: "defined" is always false in a macro expansion in Microsoft mode

9 years agoIssue #24913: Fix overrun error in deque.index().
Brett Cannon [Thu, 3 Sep 2015 17:15:03 +0000 (10:15 -0700)]
Issue #24913: Fix overrun error in deque.index().

Reported by John Leitch and Bryce Darling, patch by Raymond Hettinger.

9 years agoCloses #24974: Merge with 3.5
Zachary Ware [Thu, 3 Sep 2015 16:54:51 +0000 (11:54 -0500)]
Closes #24974: Merge with 3.5

9 years agoIssue #24974: Force fp-model precice in mpdecimal.c on Windows
Zachary Ware [Thu, 3 Sep 2015 16:52:15 +0000 (11:52 -0500)]
Issue #24974: Force fp-model precice in mpdecimal.c on Windows

As suggested by Steve Dower and approved by Stefan Krah.

9 years agoMerge 3.5 (odict)
Victor Stinner [Thu, 3 Sep 2015 15:50:30 +0000 (17:50 +0200)]
Merge 3.5 (odict)

9 years agoIssue #24992: Fix error handling and a race condition (related to garbage
Victor Stinner [Thu, 3 Sep 2015 15:50:04 +0000 (17:50 +0200)]
Issue #24992: Fix error handling and a race condition (related to garbage
collection) in collections.OrderedDict constructor.

Patch reviewed by Serhiy Storchaka.

9 years agoDon't abuse volatile keyword in pytime.c
Victor Stinner [Thu, 3 Sep 2015 14:33:16 +0000 (16:33 +0200)]
Don't abuse volatile keyword in pytime.c

Only use it on the most important number. This change fixes also a compiler
warning on modf().

9 years agoEnhance _PyTime_AsTimespec()
Victor Stinner [Thu, 3 Sep 2015 14:25:45 +0000 (16:25 +0200)]
Enhance _PyTime_AsTimespec()

Ensure that the tv_nsec field is set, even if the function fails
with an overflow.

9 years agoMerge 3.5 (namereplace)
Victor Stinner [Thu, 3 Sep 2015 14:20:01 +0000 (16:20 +0200)]
Merge 3.5 (namereplace)

9 years agoIssue #24993: Handle import error in namereplace error handler
Victor Stinner [Thu, 3 Sep 2015 14:19:40 +0000 (16:19 +0200)]
Issue #24993: Handle import error in namereplace error handler

Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors():
return immedialty NULL.

9 years agoMerge 3.5 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 13:43:06 +0000 (15:43 +0200)]
Merge 3.5 (test_gdb)

9 years agoMerge 3.4 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 13:42:45 +0000 (15:42 +0200)]
Merge 3.4 (test_gdb)

9 years agotest_gdb: oops, the regex to parse the gdb version was still too strict
Victor Stinner [Thu, 3 Sep 2015 13:42:26 +0000 (15:42 +0200)]
test_gdb: oops, the regex to parse the gdb version was still too strict

9 years agoFix ast_for_atom()
Victor Stinner [Thu, 3 Sep 2015 10:57:11 +0000 (12:57 +0200)]
Fix ast_for_atom()

Clear PyObject_Str() exception if it failed, ast_error() should not be called
with an exception set.

9 years agotype_call() now detect bugs in type new and init
Victor Stinner [Thu, 3 Sep 2015 10:16:49 +0000 (12:16 +0200)]
type_call() now detect bugs in type new and init

* Call _Py_CheckFunctionResult() to check for bugs in type
  constructors (tp_new)
* Add assertions to ensure an exception was raised if tp_init failed
  or that no exception was raised if tp_init succeed

Refactor also the function to have less indentation.

9 years agoMerge 3.5 (null merge)
Victor Stinner [Thu, 3 Sep 2015 10:15:39 +0000 (12:15 +0200)]
Merge 3.5 (null merge)

9 years agoMerge 3.4 (test_wsgiref)
Victor Stinner [Thu, 3 Sep 2015 10:15:27 +0000 (12:15 +0200)]
Merge 3.4 (test_wsgiref)

The support import is not needed in Python 3.5

9 years agotest_wsgiref: add missing import (support)
Victor Stinner [Thu, 3 Sep 2015 10:14:25 +0000 (12:14 +0200)]
test_wsgiref: add missing import (support)

9 years agoMerge with 3.6. Fix test_wsgiref execution from the test module.
Senthil Kumaran [Thu, 3 Sep 2015 09:28:03 +0000 (02:28 -0700)]
Merge with 3.6. Fix test_wsgiref execution from the test module.

9 years agoMerge with 3.5. Fix test_wsgiref execution from the test module.
Senthil Kumaran [Thu, 3 Sep 2015 09:27:18 +0000 (02:27 -0700)]
Merge with 3.5. Fix test_wsgiref execution from the test module.

9 years agoFix test_wsgiref execution from the test module.
Senthil Kumaran [Thu, 3 Sep 2015 09:26:31 +0000 (02:26 -0700)]
Fix test_wsgiref execution from the test module.

9 years agoMerge 3.5 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 07:46:24 +0000 (09:46 +0200)]
Merge 3.5 (test_gdb)

9 years agoMerge 3.4 (test_gdb)
Victor Stinner [Thu, 3 Sep 2015 07:46:11 +0000 (09:46 +0200)]
Merge 3.4 (test_gdb)

9 years agotest_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
Victor Stinner [Thu, 3 Sep 2015 07:45:53 +0000 (09:45 +0200)]
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'

9 years agoIssue #23517: fromtimestamp() and utcfromtimestamp() methods of
Victor Stinner [Thu, 3 Sep 2015 07:06:44 +0000 (09:06 +0200)]
Issue #23517: fromtimestamp() and utcfromtimestamp() methods of
datetime.datetime now round microseconds to nearest with ties going away from
zero (ROUND_HALF_UP), as Python 2 and Python older than 3.3, instead of
rounding towards -Infinity (ROUND_FLOOR).

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 3 Sep 2015 02:08:21 +0000 (22:08 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 3 Sep 2015 02:08:03 +0000 (22:08 -0400)]
Merge with 3.4

9 years agoIssue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Terry Jan Reedy [Thu, 3 Sep 2015 02:07:44 +0000 (22:07 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.

9 years agoRewrite eintr_tester.py to avoid os.fork()
Victor Stinner [Wed, 2 Sep 2015 23:38:44 +0000 (01:38 +0200)]
Rewrite eintr_tester.py to avoid os.fork()

eintr_tester.py calls signal.setitimer() to send signals to the current process
every 100 ms. The test sometimes hangs on FreeBSD. Maybe there is a race
condition in the child process after fork(). It's unsafe to run arbitrary code
after fork().

This change replace os.fork() with a regular call to subprocess.Popen(). This
change avoids the risk of having a child process which continue to execute
eintr_tester.py instead of exiting. It also ensures that the child process
doesn't inherit unexpected file descriptors by mistake.

Since I'm unable to reproduce the issue on FreeBSD, I will have to watch
FreeBSD buildbots to check if the issue is fixed or not.

Remove previous attempt to debug: remove call to
faulthandler.dump_traceback_later().

9 years agoMerge 3.5 (monotonic)
Victor Stinner [Wed, 2 Sep 2015 22:15:23 +0000 (00:15 +0200)]
Merge 3.5 (monotonic)

9 years agooops, rename pymonotonic_new() to pymonotonic()
Victor Stinner [Wed, 2 Sep 2015 22:14:58 +0000 (00:14 +0200)]
oops, rename pymonotonic_new() to pymonotonic()

I was not supposed to commit the function with the name pymonotonic_new(). I
forgot to rename it.

9 years agoIssue #24707: Remove assertion in monotonic clock
Victor Stinner [Wed, 2 Sep 2015 22:13:46 +0000 (00:13 +0200)]
Issue #24707: Remove assertion in monotonic clock

Don't check anymore at runtime that the monotonic clock doesn't go backward.
Yes, it happens. It occurs sometimes each month on a Debian buildbot slave
running in a VM.

The problem is that Python cannot do anything useful if a monotonic clock goes
backward. It was decided in the PEP 418 to not fix the system, but only expose
the clock provided by the OS.

9 years agoMerge 3.5 (test_warnings)
Victor Stinner [Wed, 2 Sep 2015 22:09:37 +0000 (00:09 +0200)]
Merge 3.5 (test_warnings)

9 years agoMerge 3.4 (test_warnings)
Victor Stinner [Wed, 2 Sep 2015 22:09:26 +0000 (00:09 +0200)]
Merge 3.4 (test_warnings)

9 years agoFix test_warnings: don't modify warnings.filters
Victor Stinner [Wed, 2 Sep 2015 22:07:47 +0000 (00:07 +0200)]
Fix test_warnings: don't modify warnings.filters

BaseTest now ensures that unittest.TestCase.assertWarns() uses the same
warnings module than warnings.catch_warnings(). Otherwise,
warnings.catch_warnings() will be unable to remove the added filter.

9 years agoMerge 3.5 (test_gdb)
Victor Stinner [Wed, 2 Sep 2015 21:22:31 +0000 (23:22 +0200)]
Merge 3.5 (test_gdb)

9 years agoMerge 3.4 (test_gdb)
Victor Stinner [Wed, 2 Sep 2015 21:21:03 +0000 (23:21 +0200)]
Merge 3.4 (test_gdb)

9 years agotest_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
Victor Stinner [Wed, 2 Sep 2015 21:19:55 +0000 (23:19 +0200)]
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
when the test is interrupted (or fail).

9 years agotest_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
Victor Stinner [Wed, 2 Sep 2015 21:12:14 +0000 (23:12 +0200)]
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise

Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).

9 years agoTurn 'rem' comments into a real usage message in PCbuild/build.bat
Zachary Ware [Wed, 2 Sep 2015 18:21:19 +0000 (13:21 -0500)]
Turn 'rem' comments into a real usage message in PCbuild/build.bat

Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix
didn't make it to this branch).

9 years agoMerge 3.5 heads (issue #24975)
Yury Selivanov [Wed, 2 Sep 2015 19:49:30 +0000 (15:49 -0400)]
Merge 3.5 heads (issue #24975)

9 years agoIssue #23517: datetime.timedelta constructor now rounds microseconds to nearest
Victor Stinner [Wed, 2 Sep 2015 17:16:07 +0000 (19:16 +0200)]
Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest
with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older
than 3.3, instead of rounding to nearest with ties going to nearest even
integer (ROUND_HALF_EVEN).

9 years agoMerge with 3.5
Zachary Ware [Wed, 2 Sep 2015 20:01:42 +0000 (15:01 -0500)]
Merge with 3.5

9 years agoMerge 3.5 (issue #24975)
Yury Selivanov [Wed, 2 Sep 2015 19:50:04 +0000 (15:50 -0400)]
Merge 3.5 (issue #24975)

9 years agotest_eintr: try to debug hang on FreeBSD
Victor Stinner [Wed, 2 Sep 2015 15:19:04 +0000 (17:19 +0200)]
test_eintr: try to debug hang on FreeBSD

9 years agotest_gdb: fix ResourceWarning if the test is interrupted
Victor Stinner [Wed, 2 Sep 2015 13:46:00 +0000 (15:46 +0200)]
test_gdb: fix ResourceWarning if the test is interrupted

9 years agotest_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot
Victor Stinner [Wed, 2 Sep 2015 13:44:22 +0000 (15:44 +0200)]
test_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot

9 years agoMerge 3.5 (asyncio doc)
Victor Stinner [Wed, 2 Sep 2015 13:41:08 +0000 (15:41 +0200)]
Merge 3.5 (asyncio doc)

9 years agoMerge 3.4 (asyncio doc)
Victor Stinner [Wed, 2 Sep 2015 13:40:56 +0000 (15:40 +0200)]
Merge 3.4 (asyncio doc)

9 years agoasyncio doc: fix subprocess sections
Victor Stinner [Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)]
asyncio doc: fix subprocess sections

9 years agoIssue 24297: Fix test_symbol on Windows
Victor Stinner [Wed, 2 Sep 2015 12:23:40 +0000 (14:23 +0200)]
Issue 24297: Fix test_symbol on Windows

Don't rely on end of line. Open files in text mode, not in binary mode.

9 years agoIssue #23517: test_time, skip a test checking a corner case on floating point
Victor Stinner [Wed, 2 Sep 2015 11:54:28 +0000 (13:54 +0200)]
Issue #23517: test_time, skip a test checking a corner case on floating point
rounding

9 years agoIssue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot
Victor Stinner [Wed, 2 Sep 2015 09:58:56 +0000 (11:58 +0200)]
Issue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot

9 years agotest_time: add more tests on HALF_UP rounding mode
Victor Stinner [Wed, 2 Sep 2015 09:05:32 +0000 (11:05 +0200)]
test_time: add more tests on HALF_UP rounding mode