| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
invalid memory.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
Fixed the case of the "Ctrl-" prefixes.
|
| |\ \ \
| | |/ /
| | | |
| | | | |
Fixed the case of the "Ctrl-" prefixes.
|
| | | |
| | | |
| | | |
| | | | |
Fixed the case of the "Ctrl-" prefixes.
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Overflow test in test_FromSecondsObject() fails on FreeBSD 10.0 buildbot which
uses clang. clang implements more aggressive optimization which gives
different result than GCC on undefined behaviours.
Check if a multiplication will overflow, instead of checking if a
multiplicatin had overflowed, to avoid undefined behaviour.
Add also debug information if the test on overflow fails.
|
| | | |
| | | |
| | | |
| | | | |
Filter also values for check_float_rounding().
|
| | | |
| | | |
| | | |
| | | | |
Filter values which would overflow when converted to a C time_t type.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Filter values which would overflow on conversion to the C long type
(for timeval.tv_sec).
* Adjust also the message of OverflowError on PyTime conversions
* test_time: add debug information if a timestamp conversion fails
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Drop all hardcoded tests. Instead, reimplement each function in Python, usually
using decimal.Decimal for the rounding mode.
Add much more values to the dataset. Test various timestamp units from
picroseconds to seconds, in integer and float.
Enhance also _PyTime_AsSecondsDouble().
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
boolean result instead of raising an exception.
Patch by A Kaptur.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
boolean result instead of raising an exception.
Patch by A Kaptur.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
boolean result instead of raising an exception.
Patch by A Kaptur.
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| |\ \ \ |
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Moves distutils test import within skippable class.
|
| | | | | | |
|
| | |\ \ \ \
| | | |/ / /
| | |/| | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
to Windows installation.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | | |_|/ /
| | |/| | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Needs to be tested on a BSD.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | |/ / / / |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | |/ / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also fix signature because os.utime(..., ns=None) is not allowed.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
remove scories of round half up code and debug code.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
datetime.datetime now round microseconds to nearest with ties going to nearest
even integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards
-Infinity (ROUND_FLOOR).
pytime API: replace _PyTime_ROUND_HALF_UP with _PyTime_ROUND_HALF_EVEN. Fix
also _PyTime_Divide() for negative numbers.
_PyTime_AsTimeval_impl() now reuses _PyTime_Divide() instead of reimplementing
rounding modes.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"""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)."""
datetime.timedelta uses rounding mode ROUND_HALF_EVEN again.
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | | |
the path of the directory for temporary files contains symlinks.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | | |
the path of the directory for temporary files contains symlinks.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
the path of the directory for temporary files contains symlinks.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | |/ / / / |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | | |
expat parser.
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | | |
expat parser.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
expat parser.
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
|