Commit Graph

79643 Commits

Author SHA1 Message Date
Martin Panter
aaa4baf4e5 Issue #27370: Use t for an iterable in mutable sequence ops 2016-06-23 00:53:05 +00:00
Senthil Kumaran
8da85a173a Fix the urllib.parse.urljoin docs. Reported by Bo Bayles in docs list. 2016-06-22 00:56:22 -07:00
Benjamin Peterson
7a5691f0ba merge 2.7.12 release branch 2016-06-21 23:13:33 -07:00
Benjamin Peterson
95d9555212 fix idle about dialog #27365 2016-06-21 23:12:54 -07:00
Martin Panter
b3eaaf0bfc Issue #22463: Cure unused function warnings on AIX 2016-06-22 02:46:33 +00:00
Martin Panter
2924124259 Issue #22463: Correct #endif placement; patch by Senthil Kumaran 2016-06-22 02:04:38 +00:00
Martin Panter
646b528467 Issue #22463: Backport compiler warning fixes and workarounds
* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
  Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
  Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
  patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
  loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
  redefined'. Extracted from patch by Christian Heimes.
2016-06-21 23:58:05 +00:00
Martin Panter
4e6e565368 Fix English spelling and grammar errors 2016-06-20 07:52:50 +00:00
Serhiy Storchaka
4183387e79 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 22:08:49 +03:00
Martin Panter
d51b0f2188 Issue #24314: Add links for general attributes like __name__, __dict__ 2016-06-18 03:57:31 +00:00
Zachary Ware
0ffd26f7ff Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:12:38 -05:00
Benjamin Peterson
7ae0a6dfda Added tag v2.7.12rc1 for changeset 13912cd1e7e8 2016-06-11 14:46:35 -07:00
Benjamin Peterson
1563f164e5 2.7.12 release candidate 1 v2.7.12rc1 2016-06-11 14:46:26 -07:00
Benjamin Peterson
4b27f146f6 update pydoc topics 2016-06-11 14:42:05 -07:00
Benjamin Peterson
d244a8f7cb upgrade expt to 2.1.1 (closes #26556) 2016-06-11 13:28:56 -07:00
Terry Jan Reedy
f3ba6a974a Issue #5124: For 2.7, move requires('gui') from module level to setUpClass. 2016-06-11 16:26:10 -04:00
Benjamin Peterson
2e1b7fc998 raise an error when STARTTLS fails 2016-06-11 13:16:42 -07:00
Terry Jan Reedy
391f1a4252 Issue #5124: NEWS entries. 2016-06-11 04:31:18 -04:00
Terry Jan Reedy
3b6a53256b Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets.  Original patch by Serhiy Storchake.
2016-06-11 02:06:18 -04:00
doko@ubuntu.com
a0f2295e0a - Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
unused and outdated icons.
2016-06-10 18:22:25 +02:00
Tommy Beadle
33b19ca77f Issue #24617: Add comment for os.mkdir about mode quirks 2016-06-02 15:41:20 -04:00
Martin Panter
7740c406bc Fix typo in comment 2016-06-10 08:07:11 +00:00
Martin Panter
c9813d83f7 Issue #20699: Document that “io” methods should accept memoryview
This matches the usage by BufferedReader, BufferedWriter, etc. Also document
and test that the write() methods should only access their argument before
they return.
2016-06-03 05:59:20 +00:00
Victor Stinner
eb063011ab Issue #22636: Avoid using a shell in the ctypes.util module
Replace os.popen() with subprocess.Popen.

If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.

Based on patch by Victor Stinner.
2014-10-16 09:42:45 +02:00
Serhiy Storchaka
f46d3afc51 ctypes: the type of b_size is Py_ssize_t. 2016-06-17 11:11:07 +03:00