List of commits:
Subject Hash Author Date (UTC)
bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340) 826f83f1d562a7b878499bc3af2267cfdfe5f2f9 Victor Stinner 2017-04-28 13:07:10
bpo-30174: Remove duplicate definition from pickletools (#1301) 5a4e3d8f9c37e700402b23fafbfc413e5ca3113d Jelle Zijlstra 2017-04-27 16:05:26
bpo-30175: Skip client cert tests of test_imaplib (#1320) 5bccca58b9b2b3a925b16750bedbd907695ea8d7 Victor Stinner 2017-04-27 15:30:13
bpo-27200: Fix several doctests (GH-604) e65fcde85abf6617508f2d6b77020e24b8ca6f6b Marco Buttu 2017-04-27 12:23:34
Use the correct name for ISO in Unicode HOWTO. (#1312) 6fde770e4e940c19cd62de0b6aeb77840690843e Jesse Gonzalez 2017-04-27 05:12:17
bpo-28415: Note 0 conversion different between Python and C (#885) 88c38b32b761cb566759b8ad96704bff590a1de9 Louie Lu 2017-04-27 03:36:35
bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296) a90b990480f45b6a0ad02d43455cf8b620bac9c5 Dong-hee Na 2017-04-26 16:16:21
bpo-30101: Add support for curses.A_ITALIC. (#1015) ab7886b78574d9224b26dc3a5b08e5c105fbbf11 Eijebong 2017-04-26 15:17:12
bpo-30131: test_logging now joins queue threads (#1298) 8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf Victor Stinner 2017-04-26 13:56:25
timemodule.c: Cast PyUnicode_AsUTF8() to char* (#1294) 6e676954de7c4f3f06dd5b56842c9a2c931a1cab Victor Stinner 2017-04-26 11:51:48
bpo-29974: Improve typing.TYPE_CHECKING example (GH-982) 87c07fe9d908d0a2143fcc8369255c6ff3241503 Mathias Rav 2017-04-26 10:49:45
bpo-28698: Fix c_wchar_p doc example (GH-1160) 0d637e236d7099f7b724026c8cb7bd83d8e12e6b Louie Lu 2017-04-26 08:15:05
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271) c6db4811f9ea3aeff0e1fafe1c60a22835ef359e csabella 2017-04-26 05:47:01
bpo-30107: Make SuppressCrashReport quiet on macOS (#1279) d819ad9832292d854e9710493ecdf959b69802e3 Victor Stinner 2017-04-25 22:55:08
bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926) 08c16016e2a2d1368d001ddebfe9ca92465773c4 Jim Fasarakis-Hilliard 2017-04-25 18:26:36
bpo-28851: Improve namedtuple documentation (GH-1274) 97bf722fcd1de1236824377e052369dc7686b644 csabella 2017-04-25 16:14:45
bpo-29617: Remove Python 3.3 support from asyncio (GH-232) 3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 INADA Naoki 2017-04-25 01:57:18
bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278) f6448e5d65c349576df6e83b8324b9c208e77615 Victor Stinner 2017-04-25 00:11:09
tmtotuple(): use time_t for gmtoff (#1276) 0d659e5614cad512a1940125135b443b3eecb5d7 Victor Stinner 2017-04-24 23:22:42
bpo-30131: Cleanup threads in test_logging (#1275) 4bcfa3a2363c30d406c6826e291b30c33a649d18 Victor Stinner 2017-04-24 22:41:36
Commit 826f83f1d562a7b878499bc3af2267cfdfe5f2f9 - bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340)
On clang, only compile dtoa.c with -fno-strict-aliasing, use strict
aliasing to compile all other C files.
Author: Victor Stinner
Author date (UTC): 2017-04-28 13:07
Committer name: GitHub
Committer date (UTC): 2017-04-28 13:07
Parent(s): 5a4e3d8f9c37e700402b23fafbfc413e5ca3113d
Signer:
Signing key:
Signing status: N
Tree: d35096a04bd036d1e807309764002f40d4274f9e
File Lines added Lines deleted
Makefile.pre.in 9 0
configure 3 8
configure.ac 5 8
File Makefile.pre.in changed (mode: 100644) (index 4145634c03..e5141f11da)
... ... ARFLAGS= @ARFLAGS@
107 107 CFLAGSFORSHARED=@CFLAGSFORSHARED@ CFLAGSFORSHARED=@CFLAGSFORSHARED@
108 108 # C flags used for building the interpreter object files # C flags used for building the interpreter object files
109 109 PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE
110 # Strict or non-strict aliasing flags used to compile dtoa.c, see above
111 CFLAGS_ALIASING=@CFLAGS_ALIASING@
110 112
111 113
112 114 # Machine-dependent subdirectories # Machine-dependent subdirectories
 
... ... config.status: $(srcdir)/configure
1536 1538 .c.o: .c.o:
1537 1539 $(CC) -c $(PY_CORE_CFLAGS) -o $@ $< $(CC) -c $(PY_CORE_CFLAGS) -o $@ $<
1538 1540
1541 # bpo-30104: dtoa.c uses union to cast double to unsigned long[2]. clang 4.0
1542 # with -O2 or higher and strict aliasing miscompiles the ratio() function
1543 # causing rounding issues. Compile dtoa.c using -fno-strict-aliasing on clang.
1544 # https://bugs.llvm.org//show_bug.cgi?id=31928
1545 Python/dtoa.o: Python/dtoa.c
1546 $(CC) -c $(PY_CORE_CFLAGS) $(CFLAGS_ALIASING) -o $@ $<
1547
1539 1548 # Run reindent on the library # Run reindent on the library
1540 1549 reindent: reindent:
1541 1550 ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
File configure changed (mode: 100755) (index 1c90d3101c..3e89bfabc3)
... ... OTHER_LIBTOOL_OPT
668 668 UNIVERSAL_ARCH_FLAGS UNIVERSAL_ARCH_FLAGS
669 669 CFLAGS_NODIST CFLAGS_NODIST
670 670 BASECFLAGS BASECFLAGS
671 CFLAGS_ALIASING
671 672 OPT OPT
672 673 LLVM_PROF_FOUND LLVM_PROF_FOUND
673 674 target_os target_os
 
... ... then
6829 6830 then then
6830 6831 # Clang also needs -fwrapv # Clang also needs -fwrapv
6831 6832 WRAP="-fwrapv" WRAP="-fwrapv"
6832
6833 # bpo-30104: Python/dtoa.c requires to be build with
6834 # -fno-strict-aliasing to fix compiler issue on the
6835 # double/ULong[2] union using clang 4.0 and optimization level
6836 # -O2 or higher
6837 # https://bugs.llvm.org//show_bug.cgi?id=31928
6838 ALIASING="-fno-strict-aliasing"
6833 CFLAGS_ALIASING="-fno-strict-aliasing"
6839 6834 fi fi
6840 6835
6841 6836 case $ac_cv_prog_cc_g in case $ac_cv_prog_cc_g in
 
... ... then
6857 6852 ;; ;;
6858 6853 esac esac
6859 6854
6860 OPT="$OPT $STRICT_PROTO $ALIASING"
6855 OPT="$OPT $STRICT_PROTO"
6861 6856
6862 6857 case $ac_sys_system in case $ac_sys_system in
6863 6858 SCO_SV*) OPT="$OPT -m486 -DSCO5" SCO_SV*) OPT="$OPT -m486 -DSCO5"
File configure.ac changed (mode: 100644) (index e5b725795a..c58322dc8c)
... ... esac
1440 1440 # tweak OPT based on compiler and platform, only if the user didn't set # tweak OPT based on compiler and platform, only if the user didn't set
1441 1441 # it on the command line # it on the command line
1442 1442 AC_SUBST(OPT) AC_SUBST(OPT)
1443 AC_SUBST(CFLAGS_ALIASING)
1443 1444 if test "${OPT-unset}" = "unset" if test "${OPT-unset}" = "unset"
1444 1445 then then
1445 1446 case $GCC in case $GCC in
 
... ... then
1469 1470 then then
1470 1471 # Clang also needs -fwrapv # Clang also needs -fwrapv
1471 1472 WRAP="-fwrapv" WRAP="-fwrapv"
1472
1473 # bpo-30104: Python/dtoa.c requires to be build with
1474 # -fno-strict-aliasing to fix compiler issue on the
1475 # double/ULong[2] union using clang 4.0 and optimization level
1476 # -O2 or higher
1477 # https://bugs.llvm.org//show_bug.cgi?id=31928
1478 ALIASING="-fno-strict-aliasing"
1473 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
1474 # see Makefile.pre.in for more information
1475 CFLAGS_ALIASING="-fno-strict-aliasing"
1479 1476 fi fi
1480 1477
1481 1478 case $ac_cv_prog_cc_g in case $ac_cv_prog_cc_g in
 
... ... then
1497 1494 ;; ;;
1498 1495 esac esac
1499 1496
1500 OPT="$OPT $STRICT_PROTO $ALIASING"
1497 OPT="$OPT $STRICT_PROTO"
1501 1498
1502 1499 case $ac_sys_system in case $ac_sys_system in
1503 1500 SCO_SV*) OPT="$OPT -m486 -DSCO5" SCO_SV*) OPT="$OPT -m486 -DSCO5"
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/benf_wspdigital/cpython

Clone this repository using git:
git clone git://git.rocketgit.com/user/benf_wspdigital/cpython

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main