Commit Graph

79675 Commits

Author SHA1 Message Date
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
Martin Panter 056cbfdc51 Fix typo in documentation 2016-06-12 06:14:03 +00: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
Martin Panter be2bb472b0 Issue #16484: PYTHONDOCS still uses “http:” in Python 2 2016-06-12 04:38:34 +00:00
Benjamin Peterson 6f3a8431cf off to 2.7.13 2016-06-11 15:12:35 -07: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 d6cecd30af Issue #8491: Add link to Gnu Readline configuration documentation 2016-06-10 00:27:46 +00:00
Tommy Beadle 24b9e1a00d [Issue 15476] Make "code object" its own entry in the index 2016-06-02 19:26:51 -04:00
Benjamin Peterson cff5ec6be3 merge heads 2016-06-08 23:18:56 -07:00
Benjamin Peterson b3e073cbb3 fix leak of keyfile_bytes 2016-06-08 23:18:51 -07:00
Benjamin Peterson 3b91de5a76 stop leaking certfile_bytes (closes #27267) 2016-06-08 23:16:36 -07:00
Martin Panter d5982d0433 Issue #23275: Backport empty square bracket assignment documentation fix 2016-06-08 12:44:30 +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
Martin Panter ed722d9e39 Issue #27229: Comment in middle of shell command fails on BSD and OS X 2016-06-07 01:07:32 +00:00
Martin Panter ab1455829b Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye 2016-06-07 00:27:17 +00:00
Ned Deily 835d392d8a Issue #26014: Guide 2.7 users to the new packaging documentation:
- the top-level 2.7 docs page now links to the newer doc pages
  (installing and distribution) rather than the legacy ones
- the legacy install and distutils pages are now labeled as "legacy"
- the library/distutils page is updated to match the 3.x version
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated

(original patch by Susan Sun)
2016-06-05 17:35:43 -07:00
Serhiy Storchaka 1a9ee946b0 Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.
Original patch by Xiang Zhang.
2016-06-05 11:06:42 +03: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
Ned Deily 966d299173 Issue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h. 2016-06-04 17:19:54 -07: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
Terry Jan Reedy 65a139a9c4 Issue #24759: Add 'private' notice for idlelib.idle_test. 2016-06-04 16:15:53 -04:00
Serhiy Storchaka d37781eb2e Issue #20041: Fixed TypeError when frame.f_trace is set to None.
Patch by Xavier de Gaye.
2016-06-04 20:30:43 +03:00
Ned Deily 06cd1c3d36 Issue 27216: Fix typo (noticed by Alex Chan). 2016-06-04 09:39:42 -07:00
Terry Jan Reedy 0ba3c803ea IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'. 2016-06-04 02:32:09 -04:00
Martin Panter b5f487a090 Fix typo in code comment 2016-06-04 04:57:19 +00:00