List of commits:
Subject Hash Author Date (UTC)
Only define get_zone() and get_gmtoff() if needed (#1193) 8f5cdfa9fc1bb6b4d9a33fc281987252f6398430 Victor Stinner 2017-04-20 11:41:09
support.threading_cleanup() log a warning on fail (#1195) d20324a7fab6734bae19b1f070b5c8aae5ff3612 Victor Stinner 2017-04-20 11:40:08
bpo-30108: Restore sys.path in test_site (#1197) b85c136903c6d2368162f7c4a58f258c9c69ead0 Victor Stinner 2017-04-20 11:39:39
bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) b4dc6af7a7862a8996cffed30d39d6add5ee58a3 Dong-hee Na 2017-04-20 07:31:17
bpo-30109: Fix reindent.py (GH-1207) 58f3c9dc8f5626abe09ac9738c34f6ba99ce2972 Mariatta 2017-04-20 05:59:20
bpo-10379: Add %char examples to locale.format() docs (GH-1145) 6dbdedb0b18a5ca850ab8ce512fda24d5a9d0688 Berker Peksag 2017-04-20 04:38:43
Remove redundant comma in argparse HOWTO (#1141) 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf Berker Peksag 2017-04-20 04:29:35
bpo-30078: Add an example of passing a path to unittest (#1178) f7e62cf8adfb8ab6a6a870903defe8ff218a0383 Louie Lu 2017-04-20 03:46:59
bpo-30106: Fix tearDown() of test_asyncore (#1194) 11470b6dcdbc170779499a4a040b93c842a0d194 Victor Stinner 2017-04-20 00:55:39
bpo-29887: test_normalization handles PermissionError (#1196) d13d54748d3a7db023d9db37223ea7d40bb8f8e3 Victor Stinner 2017-04-20 00:39:59
regrtest: always show before/after of modified env (#1192) ec4b17239d899550be4ee6104b61751bb3c70382 Victor Stinner 2017-04-19 22:57:30
Fix/optimize test_asyncore.test_quick_connect() (#1188) 7b9619ae249ed637924d1c76687b411061753e5a Victor Stinner 2017-04-19 21:42:46
bpo-30030: Revert f50354ad (tempfile) (#1187) 1e62bf145b4865d03a29a5720a4eb84c321a9829 Victor Stinner 2017-04-19 20:59:51
bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (#1110) 66bffd1663489d080349debbf1b472d432351038 Serhiy Storchaka 2017-04-19 18:12:46
bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (#1131) a79f4c219531c05fc8f670c1e4bbf12c081935d3 Serhiy Storchaka 2017-04-19 18:09:21
bpo-22352: Adjust widths in the output of dis.dis() for large line numbers and (#1153) d90045f319e2ea9772b9fbd62a05fdf34af96b6c Serhiy Storchaka 2017-04-19 17:36:31
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) bf623ae8843dc30b28c574bec8d29fc14be59d86 Serhiy Storchaka 2017-04-19 17:03:52
bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971) c209b70d610da50a844a3c10f37d6183bade3446 Victor Stinner 2017-04-19 11:01:03
Minor grammar fixes (GH-1174) 8312fba0a1ef8f0a1a6c1760c73a89e29cfca09a Mariatta 2017-04-19 01:59:47
Fix minor typos (GH-1173) 992ae6444cc745c23d3bcc604983cc8e39405bd2 cocoatomo 2017-04-19 00:38:26
Commit 8f5cdfa9fc1bb6b4d9a33fc281987252f6398430 - Only define get_zone() and get_gmtoff() if needed (#1193)
Only define the get_zone() and get_gmtoff() private functions in the
time module if these functions are needed to initialize the module.

The change fixes the following warnings on AIX:

Modules/timemodule.c:1175:1: warning: 'get_gmtoff' defined but not used [-Wunused-function]
Modules/timemodule.c:1164:1: warning: 'get_zone' defined but not used [-Wunused-function]
Author: Victor Stinner
Author date (UTC): 2017-04-20 11:41
Committer name: GitHub
Committer date (UTC): 2017-04-20 11:41
Parent(s): d20324a7fab6734bae19b1f070b5c8aae5ff3612
Signer:
Signing key:
Signing status: N
Tree: 0c9528b6415599d97fa32956fa8997271bde54b8
File Lines added Lines deleted
Modules/timemodule.c 2 0
File Modules/timemodule.c changed (mode: 100644) (index 25eb92dada..423c001e2b)
... ... PyDoc_STRVAR(get_clock_info_doc,
1160 1160 \n\ \n\
1161 1161 Get information of the specified clock."); Get information of the specified clock.");
1162 1162
1163 #if !defined(HAVE_TZNAME) || defined(__GLIBC__) || defined(__CYGWIN__)
1163 1164 static void static void
1164 1165 get_zone(char *zone, int n, struct tm *p) get_zone(char *zone, int n, struct tm *p)
1165 1166 { {
 
... ... get_gmtoff(time_t t, struct tm *p)
1180 1181 return timegm(p) - t; return timegm(p) - t;
1181 1182 #endif #endif
1182 1183 } }
1184 #endif /* !defined(HAVE_TZNAME) || defined(__GLIBC__) || defined(__CYGWIN__) */
1183 1185
1184 1186 static void static void
1185 1187 PyInit_timezone(PyObject *m) { PyInit_timezone(PyObject *m) {
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