Christian Heimes
0a89f8e2bb
transplant test_stat from default to 2.7 in order to make sure it works on all supported platforms
2013-06-22 18:58:51 +02:00
Andrew Kuchling
aa6c297316
#18113 : avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
...
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
2013-06-22 12:33:05 -04:00
Raymond Hettinger
22b4b4cef4
Arrange structure to match the common access patterns.
2013-06-22 00:51:01 -07:00
R David Murray
ff22984ff1
Tweak programming faq examples so that it (mostly) passes doctest.
...
Back port of 0113247f894b from 3.3.
The exceptions are the import related questions at the end, which
need to be rewritten anyway, and a math example that doesn't
exist in the 3.3+ docs that I didn't bother trying to fix.
2013-06-19 17:00:43 -04:00
Antoine Pitrou
7e9cec04ab
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
2013-06-18 22:17:48 +02:00
Christian Heimes
3aa138fe1d
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:25:24 +02:00
Victor Stinner
c7b0990a05
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
2013-06-17 22:03:35 +02:00
Serhiy Storchaka
e2cc341ffa
Issue #18167 : cgi.FieldStorage no more fails to handle multipart/form-data
...
when \r\n appears at end of 65535 bytes without other newlines.
2013-06-17 16:33:48 +03:00
Andrew Kuchling
a49dcc51b8
#18113 : Objects associated to a curses.panel object with set_userptr() were leaked.
...
Reported by Atsuo Ishimoto.
2013-06-15 13:53:10 -04:00
Raymond Hettinger
03512c18cb
Fix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
2013-06-14 01:06:33 -04:00
Roger Serwy
16ce43a6d8
#5492 : Avoid traceback when exiting IDLE caused by a race condition.
2013-06-11 22:13:17 -05:00
Ned Deily
c94f07de77
Issue #18186 : remove obsolete 2.2 compatibility comment.
2013-06-11 15:00:21 -07:00
Roger Serwy
fff3f48365
#17511 : Keep IDLE find dialog open after clicking "Find Next".
...
Original patch by Sarah K.
2013-06-10 23:01:20 -05:00
Richard Oudkerk
045e457992
Issue #18174 : Fix fd leaks in tests.
2013-06-10 16:27:45 +01:00
Ronald Oussoren
0e6283e68a
Ensure that the fix for #17269 also works on OSX 10.4
...
AI_NUMERICSERV isn't defined on OSX 10.4.
2013-06-10 10:35:36 +02:00
Serhiy Storchaka
729ad5cf56
Issue #18038 : SyntaxError raised during compilation sources with illegal
...
encoding now always contains an encoding name.
2013-06-09 16:54:56 +03:00
Ezio Melotti
c49805e967
#18126 : update NumPy links in the documentation. Patch by Yury V. Zaytsev.
2013-06-09 01:04:21 +03:00
Terry Jan Reedy
8d6834a28e
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
...
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
2013-06-05 14:24:42 -04:00
Senthil Kumaran
964c25f1d9
Fix #17967 - Fix related to regression on Windows.
...
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
2013-06-02 11:59:09 -07:00
Senthil Kumaran
7351b66eb9
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
...
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
2013-06-01 11:11:30 -07:00
Senthil Kumaran
243cb807e9
Fix #17967 : For ftp urls CWD to target instead of hopping to each directory
...
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
2013-06-01 08:24:31 -07:00
Senthil Kumaran
a085f000b4
Fix #16450 test_missing_localfile testcase fails on misconfigured hostname.
...
Refactor test to accomodate that and exercise the needed functionality.
2013-06-01 07:59:10 -07:00
Serhiy Storchaka
95787fdb9c
Issue #18094 : test_uuid no more reports skipped tests as passed.
2013-05-31 22:34:53 +03:00
Terry Jan Reedy
b02a1b8a08
Issue #15392 : Use test.test_support, as used test.support in 3.x.
2013-05-30 18:24:28 -04:00
Terry Jan Reedy
b8fd9cafbe
Issue #15392 : Create a unittest framework for IDLE, 2.7 version.
...
Preliminary patch by Rajagopalasarma Jayakrishnan.
2013-05-30 14:47:33 -04:00
Ned Deily
8e60f6ebfb
Issue #18098 : The deprecated OS X Build Applet.app fails to build on
...
OS X 10.8 systems because the Apple-deprecated QuickDraw headers have
been removed from Xcode 4. Skip building it in this case.
2013-05-30 00:14:29 -07:00
Senthil Kumaran
2c4810efa2
#17403 : urllib.parse.robotparser normalizes the urls before adding to ruleline.
...
This helps in handling certain types invalid urls in a conservative manner.
2013-05-29 05:58:47 -07:00
Ned Deily
1ab29e78f9
Issue #18080 : When building a C extension module on OS X, if the compiler
...
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 2.7.3 and inadvertently dropped in 2.7.4.
2013-05-28 16:31:45 -07:00
Serhiy Storchaka
3fcf2d3174
Issue #18085 : Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
2013-05-28 22:46:51 +03:00
Raymond Hettinger
7393c69d6d
Issue #18015 : Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
2013-05-27 10:58:55 -07:00
Ronald Oussoren
16c52a3376
Issue #17269 : Workaround for a platform bug in getaddrinfo on OSX
...
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
2013-05-24 13:45:27 +02:00
Raymond Hettinger
668b0058a3
Issue #18031 : %-formatting isn't dead yet and might pull through.
2013-05-23 00:12:14 -07:00
Ned Deily
674f4fa2ad
Issue #17532 : Always include Options menu for IDLE on OS X.
...
Patch by Guilherme Simões.
2013-05-22 15:16:17 -07:00
Benjamin Peterson
1cf48b4adc
implement missing inequality on WeakSet
2013-05-22 13:25:41 -07:00
Serhiy Storchaka
54f70923a3
Issue #17844 : Refactor a documentation of Python specific encodings.
...
Add links to encoders and decoders for binary-to-binary codecs.
2013-05-22 15:28:30 +03:00
Serhiy Storchaka
cb1a0283c3
Issue #17979 : Fixed the re module in build with --disable-unicode.
2013-05-21 22:53:33 +03:00
R David Murray
e6f2e6cc84
#17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:46:18 -04:00
Roger Serwy
02c0ed0612
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Ned Deily
d7cb506789
Issue #18026 : fix ctypes doc typo
2013-05-20 14:27:06 -07:00
R David Murray
ed983ab8a9
#17973 : Add FAQ entry for ([],)[0] += [1] both extending and raising.
...
This has come up often enough now on the tracker that it deserves a FAQ entry.
2013-05-20 10:34:58 -04:00
Benjamin Peterson
b91ef008ba
add missing NULL check ( closes #18019 )
2013-05-19 19:38:12 -07:00
Antoine Pitrou
f41ffedad0
Issue #11995 : test_pydoc doesn't import all sys.path modules anymore.
2013-05-19 15:44:54 +02:00
Vinay Sajip
bb6b51ca25
Issue #17981 : Closed socket on error in SysLogHandler.
2013-05-16 22:47:47 +01:00
Ned Deily
6166709eec
Issue #17990 : Only modify include and library search paths when cross-compiling.
2013-05-15 18:00:45 -07:00
doko@ubuntu.com
9855249a9f
- Fix typos in the multiprocessing module.
2013-05-15 16:54:16 +02:00
doko@ubuntu.com
96645cc4ff
- Issue #17754 : Make ctypes.util.find_library() independent of the locale.
2013-05-15 15:46:11 +02:00
Serhiy Storchaka
7423903eee
Issue #17606 : Fixed support of encoded byte strings in the XMLGenerator
...
characters() and ignorableWhitespace() methods. Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:29:34 +03:00
Benjamin Peterson
988aba3ba3
onto 2.7.6
2013-05-11 22:36:05 -05:00
Benjamin Peterson
6b09dbc6ba
Added tag v2.7.5 for changeset ab05e7dd2788
2013-05-11 22:31:46 -05:00
Benjamin Peterson
b6492dd828
update topics
2013-05-11 22:31:33 -05:00