summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* reapply the revert made in r83875Senthil Kumaran2010-08-093-84/+14
| | | | | | | | | Now the _collections is statically built, the build dependencies are in proper order and build works fine. Commit Log from r83874: Issue 9396. Apply functools.lru_cache in the place of the random flushing cache in the re module.
* Fix Issue9545 - Adding _collections to static build.Senthil Kumaran2010-08-092-6/+3
|
* Revert 83784 adding functools.lru_cache() to the re module.Raymond Hettinger2010-08-093-14/+84
| | | | | | | | | | | The problem is that the re module is imported by sysconfig and re needs functools which uses collections.OrderedDict() but the _collectionsmodule.c code is not yet constructed at this point in the build. The likely best solution will be to include _collections as part of the static build before the rest of the boot-strapping.
* Issue 9396. Apply functools.lru_cache in the place of theRaymond Hettinger2010-08-093-84/+14
| | | | random flushing cache in the re module.
* use 3 space indentsBenjamin Peterson2010-08-091-17/+16
|
* Issue 7846: fnmatch cache can grow without boundRaymond Hettinger2010-08-093-60/+14
| | | | | | Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).
* Issue #9425: Create load_builtin() subfunctionVictor Stinner2010-08-091-30/+40
| | | | Just move the code and some variables.
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-086-3/+50
| | | | | socket into the closed state without closing the underlying file descriptor.
* Fix xml.etree.ElementInclude to include the tail of the current node. Issue ↵Florent Xicluna2010-08-083-1/+22
| | | | #6231
* Fix BytesWarning in test_xml_etree, introduced with r83851.Florent Xicluna2010-08-081-2/+2
|
* Issue #9425: file system encoding is not always utf-8Victor Stinner2010-08-081-4/+1
| | | | Fix a regression introduced in test_sys by r83778.
* Issue #477863: Print a warning at shutdown if gc.garbage is not empty.Antoine Pitrou2010-08-087-10/+99
|
* Issue #9425: fix setup_context() for non-ascii filenamesVictor Stinner2010-08-081-13/+11
| | | | | | | | | | setup_context() replaces .pyc or .pyo filename suffix by .py, but it didn't work if the filename contains a non-ascii character because the function used the wrong unit for the length (number of characters instead of the number of bytes). With this patch, it uses unicode filenames instead of bytes filenames, to fix the bug and to be fully unicode compliant.
* Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an ↵Florent Xicluna2010-08-082-2/+5
| | | | array.
* Issue #5319: Print an error if flushing stdout fails at interpreterAntoine Pitrou2010-08-082-1/+4
| | | | shutdown.
* Issue #8047: Fix the xml.etree serializer to return bytes by default.Florent Xicluna2010-08-084-57/+73
| | | | Use ``encoding="unicode"`` to generate a Unicode string.
* revert r83830, breaks tests on unixesBenjamin Peterson2010-08-082-43/+1
|
* Merged revisions ↵Benjamin Peterson2010-08-089-95/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82779,82855,83740,83789-83791,83797-83801,83803,83811,83827,83844 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r82779 | benjamin.peterson | 2010-07-10 14:45:08 -0500 (Sat, 10 Jul 2010) | 1 line typo in attribute name #9217 ........ r82855 | benjamin.peterson | 2010-07-13 16:27:38 -0500 (Tue, 13 Jul 2010) | 1 line remove more extraneous commas #9245 ........ r83740 | alexandre.vassalotti | 2010-08-05 01:58:36 -0500 (Thu, 05 Aug 2010) | 4 lines Issue 5077: Update fixer for the other functions gone from the operator module. Patch by Meador Inge. ........ r83789 | benjamin.peterson | 2010-08-07 17:45:14 -0500 (Sat, 07 Aug 2010) | 1 line cleanup and use unicode consistently ........ r83790 | benjamin.peterson | 2010-08-07 17:52:06 -0500 (Sat, 07 Aug 2010) | 1 line unicode literal ........ r83791 | benjamin.peterson | 2010-08-07 17:52:55 -0500 (Sat, 07 Aug 2010) | 1 line .get() is pointless here ........ r83797 | benjamin.peterson | 2010-08-07 18:54:51 -0500 (Sat, 07 Aug 2010) | 1 line add a function to find how a node is indented ........ r83798 | benjamin.peterson | 2010-08-07 18:55:28 -0500 (Sat, 07 Aug 2010) | 1 line when splitting import statements, use correct indentation #9386 ........ r83799 | benjamin.peterson | 2010-08-07 18:57:43 -0500 (Sat, 07 Aug 2010) | 1 line double quotes ........ r83800 | benjamin.peterson | 2010-08-07 18:58:52 -0500 (Sat, 07 Aug 2010) | 1 line add another test ........ r83801 | benjamin.peterson | 2010-08-07 19:02:10 -0500 (Sat, 07 Aug 2010) | 1 line cleanup; style-nits ........ r83803 | benjamin.peterson | 2010-08-07 19:05:08 -0500 (Sat, 07 Aug 2010) | 1 line slightly more explicit ........ r83811 | benjamin.peterson | 2010-08-07 22:56:44 -0500 (Sat, 07 Aug 2010) | 4 lines Fix node.pre_order() to call the right method on its children. This was a rather tragic copy-paste error. ........ r83827 | benjamin.peterson | 2010-08-08 08:12:48 -0500 (Sun, 08 Aug 2010) | 1 line cause test to actually run and fix it ........ r83844 | benjamin.peterson | 2010-08-08 13:46:37 -0500 (Sun, 08 Aug 2010) | 1 line fix whitespace ........
* Fix issue6869: refcount problem in the _ctypes extension.Thomas Heller2010-08-082-1/+9
|
* Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.Florent Xicluna2010-08-082-1/+11
|
* Typo.Florent Xicluna2010-08-081-1/+1
|
* Fix issue5504: ctypes does now work with systems where mmap can't beThomas Heller2010-08-089-20/+35
| | | | PROT_WRITE and PROT_EXEC.
* Remove unused import.Mark Dickinson2010-08-081-1/+0
|
* remove dead code #9292Benjamin Peterson2010-08-081-23/+11
|
* Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608.Florent Xicluna2010-08-081-2/+22
|
* Issue #2304: Add additional quotes when using cmd shell on Windows. Original ↵Tim Golden2010-08-082-1/+43
| | | | patch from Gabriel Genellina
* Use unittest specific methods for some urllib test cases. And replace ↵Florent Xicluna2010-08-083-37/+36
| | | | urllib2 with urllib.request in comments.
* use same quoting as the rest of the fileBenjamin Peterson2010-08-081-6/+6
|
* Add a news entry for Issue8280.Senthil Kumaran2010-08-081-0/+4
|
* Fix Issue8280 - urllib2's Request method will remove fragements in the url.Senthil Kumaran2010-08-083-1/+19
| | | | This is how it should work,wget and curl work like this way too. Old behavior was wrong.
* Issue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto ↵Tim Golden2010-08-082-31/+15
| | | | instead
* Issue #4570: Clean-up tutorial exampleRaymond Hettinger2010-08-081-9/+5
|
* Issue #9507: Named tuple repr will now automatically display the rightRaymond Hettinger2010-08-084-2/+15
| | | | name in a tuple subclass.
* Improve readability of collections docs by adding a summary tableRaymond Hettinger2010-08-081-125/+132
| | | | at the top and by list concrete classes before abstract base classes.
* set svn:eol-styleBenjamin Peterson2010-08-080-0/+0
|
* Fix typoRaymond Hettinger2010-08-071-1/+1
|
* Document implementation notes for priority queuesRaymond Hettinger2010-08-071-0/+62
|
* kill outdated commentBenjamin Peterson2010-08-071-1/+0
|
* Clean-up docstring in examples.Raymond Hettinger2010-08-071-5/+5
|
* Issue #9425: Create run_file() subfunctionVictor Stinner2010-08-071-24/+36
| | | | | | * Call Py_MakePendingCalls() before converting the filename from wchar_t* to char* * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Issue #8433: Fix test_curses failure for platforms with recent versions of ↵Mark Dickinson2010-08-072-1/+3
| | | | ncurses.
* Issue #9425: Create run_command() subfunctionVictor Stinner2010-08-071-15/+23
| | | | Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Issue #9425: skip tests if a filename is not encodableVictor Stinner2010-08-076-4/+29
|
* Improve the docs for bisect to cover common searching tasks.Raymond Hettinger2010-08-071-3/+57
|
* Fix nit (sentinel on lhs of comparison).Raymond Hettinger2010-08-071-3/+1
|
* Add partition recipe to itertools docs.Raymond Hettinger2010-08-071-0/+6
|
* Fix markupRaymond Hettinger2010-08-071-6/+4
|
* Fix an assertRaises situation and typo. Also pass all tests to run_unittestBrian Curtin2010-08-071-6/+6
| | | | rather than do it by platform -- the proper skips are in place already.
* Improve the whatsnew article on the lru/lfu cache decorators.Raymond Hettinger2010-08-061-13/+24
|
* Issue #9530: Fix a couple of places where undefined behaviour canMark Dickinson2010-08-061-2/+8
| | | | occur, as a result of signed integer overflow.