summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Ugh, hopefully I can get this right. The code is only compiled on Win64Neal Norwitz2007-08-311-1/+1
|
* Try to fix the problem of passing a non-int on Win64 right this time.Neal Norwitz2007-08-311-2/+5
|
* Try to fix a problem with large values on Win64. Diagnosed by Thomas HellerNeal Norwitz2007-08-311-1/+1
|
* Remove chr8, we're not likely to need it at this pointNeal Norwitz2007-08-311-26/+1
|
* Customary 2nd submit of this file after it's been changed.Guido van Rossum2007-08-311-2/+2
|
* Added test cases for string.Formatter subclassing.Eric Smith2007-08-311-12/+23
| | | | | Made format_spec parameter to builtin format optional, defaults to empty string. Added test cases.
* Update import.c's MAGIC value for the new raise syntax (as opposed to merely ↵Collin Winter2007-08-311-1/+1
| | | | updating the comment).
* Issue #1066: implement PEP 3109, 2/3 of PEP 3134.Collin Winter2007-08-317-178/+113
|
* Remove the simple slicing API. All slicing is now done with slice objects.Thomas Wouters2007-08-303-211/+3
|
* [Oops, I forgot half of the patch.]Guido van Rossum2007-08-291-0/+5
| | | | | | | | | Patch # 1050 by Amaury Forgeot d'Arc. On Windows, debug builds insert stack probes, and recursive functions tend to exhaust the stack faster. This patch reduces the marshal maximum depth from 2000 to 1500 for debug builds only. Optimized builds are not affected. This allows test_marshal to pass with debug builds.
* Three patches from issue #1047, by Amaury Forgeot d'Arc:Guido van Rossum2007-08-291-0/+28
| | | | | | | | | | | | | | | | | | | 1/ getargs.diff adds the 'Z' and 'Z#' format specifiers for PyArg_ParseTuple. They mimic z and z# for unicode strings, by accepting a Unicode or None (in which case the Py_UNICODE* pointer is set to NULL). With doc and tests. 2/ subprocess.diff converts file PC/_subprocess.c to unicode. We use the Unicode version of the win32 api (and Z conversion from previous patch) 3/ stdout.diff: sys.stdout must not convert the line endings, Windows already does it. Without this patch, when redirecting the output of python, the file contains \r\r\n for each line. (test_subprocess did catch this) However, I (GvR) removed the change to _fileio.c (included in the patches) that prevents closing file descripors < 3 from being closed; I think that needs to be solved in a different way.
* Added test to ensure __format__ methods return unicode objects.Eric Smith2007-08-271-4/+1
|
* Some changes in preparation of stricter rules about mixing str and bytes.Guido van Rossum2007-08-272-9/+14
|
* PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them ↵Eric Smith2007-08-271-51/+0
| | | | unicode methods instead (per GvR suggestion).
* Fix refleaks in test_unicode and test_string related to the new format code.Neal Norwitz2007-08-271-4/+4
| | | | Stop polluting namespace.
* Make some internal functions staticNeal Norwitz2007-08-271-1/+1
|
* PEP 3101: Completed string.Formatter class. Reimplemented field_name to ↵Eric Smith2007-08-261-13/+14
| | | | object transformation.
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-261-29/+10
|
* Use unicodeNeal Norwitz2007-08-261-8/+8
|
* Fix a couple of warningsNeal Norwitz2007-08-261-1/+1
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-261-20/+8
|
* RegenerateNeal Norwitz2007-08-261-2/+2
|
* Use unicodeNeal Norwitz2007-08-252-3/+3
|
* Implementation of PEP 3101, Advanced String Formatting.Eric Smith2007-08-254-2/+121
| | | | | | | | | | | | | | | Known issues: The string.Formatter class, as discussed in the PEP, is incomplete. Error handling needs to conform to the PEP. Need to fix this warning that I introduced in Python/formatter_unicode.c: Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used Need to make sure sign formatting is correct, more tests needed. Need to remove '()' sign formatting, left over from an earlier version of the PEP.
* Use unicode for AST attributesNeal Norwitz2007-08-251-2/+2
|
* Use unicodeNeal Norwitz2007-08-251-4/+4
|
* Add const to input string parametersNeal Norwitz2007-08-251-6/+6
|
* Ensure that code object names (co_name) are unicode.Neal Norwitz2007-08-241-1/+1
| | | | Verify that they print properly too.
* Use unicode for error messages of duplicate argsNeal Norwitz2007-08-241-3/+2
|
* Add const to some strings that are not modifiedNeal Norwitz2007-08-241-5/+5
|
* Use unicode for much of errors.Neal Norwitz2007-08-241-7/+7
|
* Merged revisions 57221-57391 via svnmerge fromGuido van Rossum2007-08-242-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57227 | facundo.batista | 2007-08-20 17:16:21 -0700 (Mon, 20 Aug 2007) | 5 lines Catch ProtocolError exceptions and include the header information in test output (to make it easier to debug test failures caused by problems in the server). [GSoC - Alan McIntyre] ........ r57229 | mark.hammond | 2007-08-20 18:04:47 -0700 (Mon, 20 Aug 2007) | 5 lines [ 1761786 ] distutils.util.get_platform() return value on 64bit Windows As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms. ........ r57230 | mark.hammond | 2007-08-20 18:05:16 -0700 (Mon, 20 Aug 2007) | 5 lines [ 1761786 ] distutils.util.get_platform() return value on 64bit Windows As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms. ........ r57253 | georg.brandl | 2007-08-20 23:01:18 -0700 (Mon, 20 Aug 2007) | 2 lines Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers. ........ r57254 | georg.brandl | 2007-08-20 23:03:43 -0700 (Mon, 20 Aug 2007) | 2 lines Revert accidental checkins from last commit. ........ r57255 | georg.brandl | 2007-08-20 23:07:08 -0700 (Mon, 20 Aug 2007) | 2 lines Bug #1777160: mention explicitly that e.g. -1**2 is -1. ........ r57256 | georg.brandl | 2007-08-20 23:12:19 -0700 (Mon, 20 Aug 2007) | 3 lines Bug #1777168: replace operator names "opa"... with "op1"... and mark everything up as literal, to enhance readability. ........ r57259 | facundo.batista | 2007-08-21 09:57:18 -0700 (Tue, 21 Aug 2007) | 8 lines Added test for behavior of operations on an unconnected SMTP object, and tests for NOOP, RSET, and VRFY. Corrected typo in a comment for testNonnumericPort. Added a check for constructing SMTP objects when non-numeric ports are included in the host name. Derived a server from SMTPServer to test various ESMTP/SMTP capabilities. Check that a second HELO to DebuggingServer returns an error. [GSoC - Alan McIntyre] ........ r57279 | skip.montanaro | 2007-08-22 12:02:16 -0700 (Wed, 22 Aug 2007) | 2 lines Note that BeOS is unsupported as of Python 2.6. ........ r57280 | skip.montanaro | 2007-08-22 12:05:21 -0700 (Wed, 22 Aug 2007) | 1 line whoops - need to check in configure as well ........ r57284 | alex.martelli | 2007-08-22 14:14:17 -0700 (Wed, 22 Aug 2007) | 5 lines Fix compile.c so that it records 0.0 and -0.0 as separate constants in a code object's co_consts tuple; add a test to show that the previous behavior (where these two constants were "collapsed" into one) causes serious malfunctioning. ........ r57286 | gregory.p.smith | 2007-08-22 14:32:34 -0700 (Wed, 22 Aug 2007) | 3 lines stop leaving log.0000001 __db.00* and xxx.db turds in developer sandboxes when bsddb3 tests are run. ........ r57301 | jeffrey.yasskin | 2007-08-22 16:14:27 -0700 (Wed, 22 Aug 2007) | 3 lines When setup.py fails to find the necessary bits to build some modules, have it print a slightly more informative message. ........ r57320 | brett.cannon | 2007-08-23 07:53:17 -0700 (Thu, 23 Aug 2007) | 2 lines Make test_runpy re-entrant. ........ r57324 | georg.brandl | 2007-08-23 10:54:11 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1768121: fix wrong/missing opcode docs. ........ r57326 | georg.brandl | 2007-08-23 10:57:05 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1766421: "return code" vs. "status code". ........ r57328 | georg.brandl | 2007-08-23 11:08:06 -0700 (Thu, 23 Aug 2007) | 2 lines Second half of #1752175: #ifdef out references to PyImport_DynLoadFiletab if HAVE_DYNAMIC_LOADING is not defined. ........ r57331 | georg.brandl | 2007-08-23 11:11:33 -0700 (Thu, 23 Aug 2007) | 2 lines Use try-except-finally in contextlib. ........ r57343 | georg.brandl | 2007-08-23 13:35:00 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1697820: document that the old slice protocol is still used by builtin types. ........ r57345 | georg.brandl | 2007-08-23 13:40:01 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1573854: fix docs for sqlite3 cursor rowcount attr. ........ r57347 | georg.brandl | 2007-08-23 13:50:23 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1694833: fix imp.find_module() docs wrt. packages. ........ r57348 | georg.brandl | 2007-08-23 13:53:28 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1594966: fix misleading usage example ........ r57349 | georg.brandl | 2007-08-23 13:55:44 -0700 (Thu, 23 Aug 2007) | 2 lines Clarify wording a bit. ........ r57351 | georg.brandl | 2007-08-23 14:18:44 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1752332: httplib no longer uses socket.getaddrinfo(). ........ r57352 | georg.brandl | 2007-08-23 14:21:36 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1734111: document struct.Struct.size. ........ r57353 | georg.brandl | 2007-08-23 14:27:57 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1688564: document os.path.join's absolute path behavior in the docstring. ........ r57354 | georg.brandl | 2007-08-23 14:36:05 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1625381: clarify match vs search introduction. ........ r57355 | georg.brandl | 2007-08-23 14:42:54 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1758696: more info about descriptors. ........ r57357 | georg.brandl | 2007-08-23 14:55:57 -0700 (Thu, 23 Aug 2007) | 2 lines Patch #1779550: remove redundant code in logging. ........ r57378 | gregory.p.smith | 2007-08-23 22:11:38 -0700 (Thu, 23 Aug 2007) | 2 lines Fix bug 1725856. ........ r57382 | georg.brandl | 2007-08-23 23:10:01 -0700 (Thu, 23 Aug 2007) | 2 lines uuid creation is now threadsafe, backport from py3k rev. 57375. ........ r57389 | georg.brandl | 2007-08-24 04:47:37 -0700 (Fri, 24 Aug 2007) | 2 lines Bug #1765375: fix stripping of unwanted LDFLAGS. ........ r57391 | guido.van.rossum | 2007-08-24 07:53:14 -0700 (Fri, 24 Aug 2007) | 2 lines Fix silly typo in test name. ........
* Before calling _PyType_Lookup() the type needs to be initialized.Guido van Rossum2007-08-241-0/+10
|
* Finish the work on __round__ and __trunc__.Guido van Rossum2007-08-231-50/+38
| | | | With Alex Martelli and Keir Mierle.
* Implement the round functionality for PEP 3141, and add tests for it.Alex Martelli2007-08-221-2/+26
|
* Implement the trunc builtin for PEP 3141Alex Martelli2007-08-221-0/+22
|
* Patch #1774414: make it possible to use SVK to develop Python.Collin Winter2007-08-221-28/+30
|
* Merged in py3k-buffer branch to main line. All objects now use the buffer ↵Travis E. Oliphant2007-08-183-20/+48
| | | | protocol in PEP 3118.
* Remove support for BeOSSkip Montanaro2007-08-173-545/+0
|
* Remove RISCOS supportSkip Montanaro2007-08-163-114/+0
|
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-152-1/+24
|
* Bug #1772489: make dir() work on traceback objects again.Collin Winter2007-08-141-1/+13
|
* Get rid of traceback.c:tb_getattr in favor of marking the members as READONLY.Collin Winter2007-08-141-19/+3
|
* PyErr_Warn is deprecated in 2.5 - goes away for 3.0Skip Montanaro2007-08-124-20/+9
|
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-121-102/+0
|
* Remove obsolete ifdef.Martin v. Löwis2007-08-111-2/+0
|
* Set sys.stdout.encoding properly.Martin v. Löwis2007-08-111-5/+7
| | | | | Always set LC_CTYPE on interpreter startup. Add device_encoding function.
* Remove support for __members__ and __methods__. There still might beNeal Norwitz2007-08-112-74/+18
| | | | | some cleanup to do on this. Particularly in Python/traceback.c with getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
* Handle errorNeal Norwitz2007-08-111-1/+4
|
* Merged revisions 56782-56847 via svnmerge fromGuido van Rossum2007-08-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56808 | kurt.kaiser | 2007-08-07 14:15:45 -0700 (Tue, 07 Aug 2007) | 2 lines Replace sys.exitfunc call with atexit call ................ r56835 | thomas.wouters | 2007-08-08 09:20:30 -0700 (Wed, 08 Aug 2007) | 8 lines Tests for dict comprehensions I forgot to 'svn add' when committing the actual feature. I was _sure_ I had checked in these new tests already, but I guess the checkin failed and I didn't notice. ................ r56847 | guido.van.rossum | 2007-08-09 07:03:34 -0700 (Thu, 09 Aug 2007) | 30 lines Merged revisions 56760-56846 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56762 | georg.brandl | 2007-08-06 00:37:58 -0700 (Mon, 06 Aug 2007) | 2 lines Place #ifdef Py_USING_UNICODE around decode_unicode(). ........ r56763 | georg.brandl | 2007-08-06 00:39:09 -0700 (Mon, 06 Aug 2007) | 2 lines Replace unnecessary function call. ........ r56764 | georg.brandl | 2007-08-06 00:52:20 -0700 (Mon, 06 Aug 2007) | 2 lines Patch #1765839: add link to https+proxy urllib2 opener. ........ r56797 | georg.brandl | 2007-08-07 00:13:24 -0700 (Tue, 07 Aug 2007) | 2 lines Bug #1769002: fix a now-wrong sentence in the tutorial. ........ r56830 | georg.brandl | 2007-08-08 06:03:41 -0700 (Wed, 08 Aug 2007) | 3 lines Revert the fix for #1548891, it broke backwards compatibility with arbitrary read buffers. Fixes #1730114. ........ r56833 | georg.brandl | 2007-08-08 06:50:02 -0700 (Wed, 08 Aug 2007) | 2 lines Fix compilation warning. ........ ................