summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-apply patch #1700288 (first applied in r59931, rolled back in r59940)Amaury Forgeot d'Arc2008-01-144-6/+219
| | | | | | now that ctypes uses a more supported method to create types: Method cache optimization, by Armin Rigo, ported to 2.6 by Kevin Jacobs.
* As discussed in issue 1700288:Amaury Forgeot d'Arc2008-01-142-2/+2
| | | | | | | ctypes takes some liberties when creating python types: it modifies the types' __dict__ directly, bypassing all the machinery of type objects which deal with special methods. And this broke recent optimisations of method lookup. Now we try to modify the type with more "official" functions.
* Back out r59931 - test_ctypes fails with it.Georg Brandl2008-01-134-219/+6
|
* Check in the patch proposed by Ben Hayden (benjhayden) for issueKa-Ping Yee2008-01-131-3/+5
| | | | | | | | | #1550: help('modules') broken by several 3rd party libraries. Tested with Python build: trunk:54235:59936M -- the reported error occurs with Django installed (or with any __init__.py present on the path that raises an exception), and such errors indeed go away when this change is applied.
* Make Modules/socketobject.c compile for Windows again.Thomas Heller2008-01-131-4/+7
|
* Clarify the effect of text mode.Georg Brandl2008-01-131-1/+3
|
* Fix spelling.Raymond Hettinger2008-01-131-1/+1
|
* Named tuple is a concept, not a specific type.Raymond Hettinger2008-01-131-5/+11
|
* Fix editing glitch.Georg Brandl2008-01-121-5/+2
|
* Patch #1700288: Method cache optimization, by Armin Rigo, ported toGeorg Brandl2008-01-124-6/+219
| | | | 2.6 by Kevin Jacobs.
* Move OSError docs to exceptions doc, remove obsolete descriptionsGeorg Brandl2008-01-123-65/+44
| | | | from os docs, rework posix docs.
* Issue 1780: Allow leading and trailing whitespace in Decimal constructor,Mark Dickinson2008-01-124-6/+37
| | | | | when constructing from a string. Disallow trailing newlines in Context.create_decimal.
* Update the opcode docs for STORE_MAP and BUILD_MAPRaymond Hettinger2008-01-111-3/+7
|
* Fix a potential 'SystemError: NULL result without error'.Thomas Heller2008-01-111-1/+1
| | | | | | NULL may be a valid return value from PyLong_AsVoidPtr. Will backport to release25-maint.
* Raise an error instead of crashing with a segfault when a NULLThomas Heller2008-01-112-0/+11
| | | | | | function pointer is called. Will backport to release25-maint.
* Bug #1790: update link; remove outdated paragraphAndrew M. Kuchling2008-01-111-9/+3
|
* Speed-up and simplify code urlparse's result objects.Raymond Hettinger2008-01-111-52/+6
|
* Removed unused variableChristian Heimes2008-01-111-1/+1
|
* Revert revision 59913, because it was wrong:Thomas Heller2008-01-111-4/+4
| | | | | | The sqlite3 dll, when compiled in debug mode, must be linked with /MDd to use the debug runtime library. Further, the dll will be named sqlite3_d.dll.
* The sqlite3 dll, when compiled in debug mode, must be linked with /MDdThomas Heller2008-01-111-4/+4
| | | | | to use the debug runtime library. Further, the dll will be named sqlite3_d.dll.
* Documentation for r5990[3567].Georg Brandl2008-01-115-3/+36
|
* News entries for rev. 5990[567].Georg Brandl2008-01-111-0/+3
|
* Guard definition of TIPC_SUB_CANCEL with an #ifdef.Georg Brandl2008-01-111-1/+4
|
* Add an important missing blank.Thomas Heller2008-01-111-1/+1
|
* Improve usability of the SequenceMatcher by returning named tuples ↵Raymond Hettinger2008-01-111-7/+10
| | | | describing match ranges.
* Let most inspect functions return named tuplesRaymond Hettinger2008-01-111-5/+19
|
* Have Decimal.as_tuple return a named tuple.Raymond Hettinger2008-01-111-1/+7
|
* Comment-out missing constant (from rev 59819)Raymond Hettinger2008-01-111-1/+1
|
* Doctest results return a named tuple for readabilityRaymond Hettinger2008-01-113-70/+76
|
* Run doctests on the collections moduleRaymond Hettinger2008-01-112-3/+5
|
* Neaten-up the named tuple docsRaymond Hettinger2008-01-102-8/+8
|
* Closing issue1761.Amaury Forgeot d'Arc2008-01-102-1/+15
| | | | | | | | | | | | Surprising behaviour of the "$" regexp: it matches the end of the string, AND just before the newline at the end of the string:: re.sub('$', '#', 'foo\n') == 'foo#\n#' Python is consistent with Perl and the pcre library, so we just document it. Guido prefers "\Z" to match only the end of the string.
* Clarify how to add a field to a named tuple.Raymond Hettinger2008-01-102-1/+4
|
* Examples for named tuple subclassing should include __slots__Raymond Hettinger2008-01-102-4/+7
|
* Reflow a paragraph, and fix a typo.Thomas Heller2008-01-101-4/+6
|
* Check for fd of -1 to save fsync() and fstat() callAndrew M. Kuchling2008-01-101-2/+4
|
* Reword entry, not sure I made it much better though.Neal Norwitz2008-01-101-3/+2
|
* Change amd64 buildbot scripts to use Visual Studio 2008, andThomas Heller2008-01-092-6/+6
| | | | | | to use the required versions of external sources. External sources are not yet built, so the build-step fails to built some targets.
* Change amd64 buildbot scripts to use Visual Studio 2008, andThomas Heller2008-01-091-33/+26
| | | | | | to use the required versions of external sources. External sources are not yet built, so the build-step fails to built some targets.
* Fixed #1776. __import__() no longer imports modules by file nameChristian Heimes2008-01-093-1/+25
|
* vs9to8 syncChristian Heimes2008-01-091-0/+1
|
* Related to patch #1114: fix another place where attr_t is assumed to be a longAndrew M. Kuchling2008-01-091-4/+9
|
* Set the output file in the _ctypes Debug|x64 configuration.Thomas Heller2008-01-091-1/+2
|
* Fix typoRaymond Hettinger2008-01-091-1/+1
|
* minor cleaningFred Drake2008-01-091-2/+2
|
* Syntax highlighting only works when >>> lines are accompanied by ... linesRaymond Hettinger2008-01-091-8/+8
|
* Issue 846388. Adds a call to PyErr_CheckSignals toFacundo Batista2008-01-082-0/+11
| | | | | | | | | SRE_MATCH so that signal handlers can be invoked during long regular expression matches. It also adds a new error return value indicating that an exception occurred in a signal handler during the match, allowing exceptions in the signal handler to propagate up to the main loop. Thanks Josh Hoyt and Ralf Schmitt.
* Better method for associating .py files with the interpreter.Georg Brandl2008-01-081-8/+9
|
* Fix markup errors from r59857 and clarify key.__enter__/__exit__ docsGeorg Brandl2008-01-081-11/+16
|
* Added __enter__ and __exit__ functions to HKEY objectChristian Heimes2008-01-084-20/+104
| | | | Added ExpandEnvironmentStrings to the _winreg module.