Commit Graph

79653 Commits

Author SHA1 Message Date
Terry Jan Reedy 094338ef58 Update NEWS and idlelib NEWS.text. 2016-06-26 18:20:14 -04:00
Serhiy Storchaka 199b7d5662 Issue #22115: Fixed tracing Tkinter variables.
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:41:14 +03:00
Benjamin Peterson 0c67a5f3bf post 2.7.12 version 2016-06-25 14:04:38 -07:00
Benjamin Peterson 1d6879bb67 merge 2.7.12 release branch 2016-06-25 14:04:11 -07:00
Benjamin Peterson 96da94b877 Added tag v2.7.12 for changeset d33e0cf91556 2016-06-25 14:03:27 -07:00
Benjamin Peterson 1fae982b9b 2.7.12 final 2016-06-25 14:03:21 -07:00
Steve Dower 4da5815307 Adds scripts for building nuget packages. 2016-06-24 11:39:57 -07:00
Serhiy Storchaka ff0d875ad1 array.buffer_info() should return a length as int, not long, for compatibility. 2016-06-24 08:38:59 +03:00
Terry Jan Reedy 919345d218 Issue #27365: Add blank lines. to 2.7 test_editmenu 2016-06-23 18:07:46 -04:00
Serhiy Storchaka 0cc5a2b263 Fixed integer overflow and handled MemoryError in array.buffer_info(). 2016-06-24 00:00:32 +03:00
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 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
Serhiy Storchaka ef012cc7f7 Issue #27330: Fixed possible leaks in the ctypes module. 2016-06-16 22:08:11 +03:00
Zachary Ware c59a92b6f9 Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:12:38 -05:00
Serhiy Storchaka 34cb3f026b Issue #27301: Fixed incorrect return code for error in compile.c. 2016-06-15 20:06:29 +03:00
Georg Brandl b311eeefb8 Docs: add html-stable autobuild variant 2016-06-15 08:57:32 +02:00
Martin Panter 0e212331ea Issue #12855: Document what exactly unicode.splitlines() splits on
Also synchronize with Python 3 examples. Based on patches by Matthew Boehm
and Alexander Schrijver.
2016-06-01 09:39:46 +00:00
Serhiy Storchaka 77ccaaf946 Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
2016-06-14 22:52:13 +03:00
Serhiy Storchaka d8b5942f7c Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
2016-06-14 12:46:14 +03:00
Martin Panter fc0a55fed9 Issue #16182: Backport documentation of set_pre_input_hook() availability 2016-06-14 08:45:43 +00:00
Terry Jan Reedy 92390ab932 Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted.  Patch by Serhiy Storchaka.
2016-06-14 00:53:18 -04:00
Ned Deily 53e9f83486 Issue #27310: remove vestigial import in IDLE.app 2016-06-13 20:21:57 -04:00
Berker Peksag 0d8657721e Issue #15657: Delete incorrect statement from PyMethodDef documentation 2016-06-12 16:37:57 +03:00
Serhiy Storchaka 50c7e05659 Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
2016-06-12 15:45:14 +03:00
Serhiy Storchaka 59f711472b Rename class attribute "thetype" to "partial" in functools.partial tests
for consistency with Python 3.
2016-06-12 15:43:57 +03:00
Serhiy Storchaka 1e09006c3c Issue #25455: Backported tests for pickling recursive functools.partial objects. 2016-06-12 15:08:57 +03:00
Serhiy Storchaka 1f7586eeb9 Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag. 2016-06-12 10:06:32 +03:00