Commit Graph

26965 Commits

Author SHA1 Message Date
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
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
Benjamin Peterson
4b27f146f6 update pydoc topics 2016-06-11 14:42:05 -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
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
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
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
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
Martin Panter
93f815a50c Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030 2016-06-12 06:07:35 +00:00
Martin Panter
e52140caf1 #16484: Change PYTHONDOCS to "https:", and fix links to use lowercase
Implementation by Sean Rodman; test by Kaushik Nadikuditi.
2016-06-12 05:25:16 +00:00
Matthias Klose
9aabaccb76 Issue #7356: ctypes.util: Make parsing of ldconfig output locale independent.
Previous fix was only made to dead and removed code.
2010-03-15 13:46:04 +00:00
Martin Panter
6af1c49bb4 Issue #25738: Don’t send message body for 205 Reset Content
Patch by Susumu Koshiba.
2016-06-08 07:16:14 +00:00
Martin Panter
c36364491f Issue #21313: Tolerate truncated buildinfo in sys.version 2016-06-08 06:12:22 +00:00
Terry Jan Reedy
05837eceec Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:33:47 -04:00
Serhiy Storchaka
fcbb2c48cf Issue #21916: Added more tests for the turtle module.
Original patch by Jelle Zijlstra.
2016-06-05 10:35:34 +03:00
Serhiy Storchaka
75c6b9bdf6 Merge heads 2016-06-04 23:30:24 +03:00
Serhiy Storchaka
dec45b47c8 Issue #21916: Added tests for the turtle module.
Patch by ingrid, Gregory Loyse and Jelle Zijlstra.
2016-06-04 23:27:14 +03:00