7d2ff88 | Christian Heimes | 30 November 2007, 14:35:04 UTC | Merged revisions 59226-59233 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59228 | amaury.forgeotdarc | 2007-11-29 21:24:36 +0100 (Thu, 29 Nov 2007) | 4 lines vc2008: Move python.vcproj first in the solution file, so that it becomes the default startup project when opening the file for the first time. ........ r59230 | georg.brandl | 2007-11-30 00:00:03 +0100 (Fri, 30 Nov 2007) | 3 lines Add more examples to the wsgiref docs. From GHOP by Josip Dzolonga. ........ r59231 | amaury.forgeotdarc | 2007-11-30 00:35:25 +0100 (Fri, 30 Nov 2007) | 7 lines Issue #1402: PyInterpreterState_Clear() may still invoke user code (in deallocation of running threads, for example), so the PyGILState_Release() function must still be functional. On the other hand, _PyGILState_Fini() only frees memory, and can be called later. Backport candidate, but only after some experts comment on it. ........ | 30 November 2007, 14:35:04 UTC |
2e510fb | Christian Heimes | 30 November 2007, 14:32:41 UTC | Fix for bug #1109 Warning required when calling register() on an ABCMeta subclass. | 30 November 2007, 14:32:41 UTC |
c896700 | Christian Heimes | 30 November 2007, 10:18:26 UTC | Partial fix for bug #1306 Multiple reinitializations of Python 3.0 failed on a system without a hardcoded default fs encoding. The patch makes sure that the default fs encoding is freed and reset to NULL on e.g. Linux. I've also taken the liberty to increase the debugging in Objects/object.c:_Py_ForgetReference(). The method is used to validate the reference chain. Reinitialization still fails in the 3rd round of my test suite: * ob object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_prev->_ob_next object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_next->_ob_prev object : bytearray(b'') type : bytearray refcount: 1 address : 0x826b838 Fatal Python error: UNREF invalid object | 30 November 2007, 10:18:26 UTC |
a22e8bd | Christian Heimes | 29 November 2007, 22:35:39 UTC | Added all PyTypeObjects to the appropriate header files. Before the patch a lot of internal types weren't available in the header files. The patch exposes the new iterators, views and some other types to all C modules. I've also renamed some of the types and tp_names. | 29 November 2007, 22:35:39 UTC |
513b2ac | Georg Brandl | 29 November 2007, 18:48:53 UTC | long integer -> integer. | 29 November 2007, 18:48:53 UTC |
2fd4f37 | Guido van Rossum | 29 November 2007, 18:43:05 UTC | Merged revisions 59212-59225 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59218 | georg.brandl | 2007-11-29 09:01:20 -0800 (Thu, 29 Nov 2007) | 2 lines Fix reference target. ........ r59219 | georg.brandl | 2007-11-29 09:02:34 -0800 (Thu, 29 Nov 2007) | 4 lines Add examples to the ConfigParser documentation. Credits go to Thomas Lamb, who wrote this as a task in the GHOP contest. ........ r59223 | guido.van.rossum | 2007-11-29 10:25:12 -0800 (Thu, 29 Nov 2007) | 2 lines Fix bug #1517, a segfault in lookdict(). ........ r59224 | georg.brandl | 2007-11-29 10:33:01 -0800 (Thu, 29 Nov 2007) | 2 lines Spaces vs. Tabs. ........ | 29 November 2007, 18:43:05 UTC |
5c10664 | Georg Brandl | 29 November 2007, 17:41:05 UTC | Remove further mentions of long integers. | 29 November 2007, 17:41:05 UTC |
ba956ae | Georg Brandl | 29 November 2007, 17:24:34 UTC | Remove mentions of "long integer" in the docs. Credits to HappySmileMan from GHOP. | 29 November 2007, 17:24:34 UTC |
0db3853 | Christian Heimes | 29 November 2007, 16:21:13 UTC | Removed more types from the types module | 29 November 2007, 16:21:13 UTC |
043c8f8 | Christian Heimes | 29 November 2007, 15:07:49 UTC | Removed iter* methods from dictproxy. The iter methods were a non-working relict from the past. | 29 November 2007, 15:07:49 UTC |
c0ac106 | Christian Heimes | 28 November 2007, 12:33:51 UTC | Fixed bug #1505 Changes to PyMethod_New breaks ctypes on Windows I converted the ComError exception into a full type. | 28 November 2007, 12:33:51 UTC |
218a5ed | Christian Heimes | 28 November 2007, 10:05:53 UTC | Fixed #1508 Removal of stale code in _csv.c / pyexpat.c Credits belong to Joseph Armbruster | 28 November 2007, 10:05:53 UTC |
69a7963 | Christian Heimes | 28 November 2007, 10:04:30 UTC | Merged revisions 59202-59211 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59203 | guido.van.rossum | 2007-11-27 23:38:36 +0100 (Tue, 27 Nov 2007) | 4 lines Patch # 1507 by Mark Dickinson. Make complex(x, -0) retain the sign of the imaginary part (as long as it's not complex). Backport candidate? ........ r59204 | christian.heimes | 2007-11-28 00:16:44 +0100 (Wed, 28 Nov 2007) | 2 lines Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504 Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings. ........ r59206 | christian.heimes | 2007-11-28 00:53:14 +0100 (Wed, 28 Nov 2007) | 1 line I forgot to fix one occurence of new in test_descr ........ r59208 | christian.heimes | 2007-11-28 09:02:36 +0100 (Wed, 28 Nov 2007) | 1 line Added py3kwarning to the documentation of the sys module. ........ | 28 November 2007, 10:04:30 UTC |
084dc4c | Christian Heimes | 28 November 2007, 09:55:49 UTC | I forgot to remove the tests for new *blush* | 28 November 2007, 09:55:49 UTC |
f83be4e | Christian Heimes | 28 November 2007, 09:44:38 UTC | Added view and iterator types to collections / _abcoll I've also renamed several of the iterators to keep a consistent naming schema. | 28 November 2007, 09:44:38 UTC |
c9543e4 | Christian Heimes | 28 November 2007, 08:28:28 UTC | Removed the new module Removed a lot of types from the 'types' module that are available through builtins. | 28 November 2007, 08:28:28 UTC |
ceee077 | Georg Brandl | 27 November 2007, 23:48:05 UTC | #1496: revert str.translate() to the old version, and add str.maketrans() to make a table in a more comfortable way. | 27 November 2007, 23:48:05 UTC |
45f9af3 | Christian Heimes | 27 November 2007, 21:50:00 UTC | Merged revisions 59193-59201 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59195 | facundo.batista | 2007-11-27 19:50:12 +0100 (Tue, 27 Nov 2007) | 4 lines Moved the errno import from inside the functions to the module level. Fixes issue 1755179. ........ r59199 | christian.heimes | 2007-11-27 22:28:40 +0100 (Tue, 27 Nov 2007) | 1 line Backport of changes to PCbuild9 from the py3k branch ........ r59200 | christian.heimes | 2007-11-27 22:34:01 +0100 (Tue, 27 Nov 2007) | 1 line Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module. ........ r59201 | christian.heimes | 2007-11-27 22:35:44 +0100 (Tue, 27 Nov 2007) | 1 line Added a deprecation warning to the 'new' module. ........ | 27 November 2007, 21:50:00 UTC |
1c280ab | Georg Brandl | 27 November 2007, 20:40:22 UTC | Rewrap error message. | 27 November 2007, 20:40:22 UTC |
8b2b8db | Christian Heimes | 27 November 2007, 13:09:25 UTC | Merged revisions 59187-59192 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59190 | thomas.heller | 2007-11-27 13:22:11 +0100 (Tue, 27 Nov 2007) | 3 lines Remove unused global variable, and remove unneeded COMError.__str__ implementation in C. ........ | 27 November 2007, 13:09:25 UTC |
578d7ab | Christian Heimes | 27 November 2007, 13:05:10 UTC | The changes to PyMethod_New and the removal of unbound methods breaks ctypes' COMError on Windows. This patch doesn't address the problem but re-enables the import of _ctypes until somebody has time to fix it right. I've no time to dig into it. Also see http://bugs.python.org/issue1505 | 27 November 2007, 13:05:10 UTC |
2e0b755 | Georg Brandl | 27 November 2007, 12:43:08 UTC | Futher update docs after unbound method removal. | 27 November 2007, 12:43:08 UTC |
ff73795 | Christian Heimes | 27 November 2007, 10:40:20 UTC | Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). Also removed im_class and renamed im_self to __self__ and im_func to __func__. im_class can be substituted with method.__self__.__class__. I've also updated some parts of the documenation. | 27 November 2007, 10:40:20 UTC |
0d3fb8a | Guido van Rossum | 26 November 2007, 23:23:18 UTC | Merged revisions 59107-59186 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk (Note: some conflicts in the PCbuild9 directory reverted. Sorry Christian!) ........ r59120 | christian.heimes | 2007-11-22 03:21:16 -0800 (Thu, 22 Nov 2007) | 3 lines Backport of the PCbuild9 directory from the py3k branch. I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :) ........ r59126 | brett.cannon | 2007-11-22 16:06:51 -0800 (Thu, 22 Nov 2007) | 2 lines Fix a bug in the test for using __loader__.get_data(). ........ r59131 | christian.heimes | 2007-11-22 23:05:03 -0800 (Thu, 22 Nov 2007) | 1 line Backport of PCbuild9 fixes from py3k r59130 ........ r59132 | christian.heimes | 2007-11-23 01:10:36 -0800 (Fri, 23 Nov 2007) | 2 lines Applied patch #1754273 and #1754271 from Thomas Glee The patches are adding deprecation warnings for back ticks and <> ........ r59133 | christian.heimes | 2007-11-23 04:12:02 -0800 (Fri, 23 Nov 2007) | 2 lines Fixed problems in the last commit. Filenames and line numbers weren't reported correctly. Backquotes still don't report the correct file. The AST nodes only contain the line number but not the file name. ........ r59134 | christian.heimes | 2007-11-23 04:16:35 -0800 (Fri, 23 Nov 2007) | 1 line How did the comment get there? ........ r59135 | christian.heimes | 2007-11-23 05:25:31 -0800 (Fri, 23 Nov 2007) | 1 line And yet another fix for the patch. Paul Moore has send me a note that I've missed a declaration. The additional code has moved the declaration in the middle of the block. ........ r59136 | andrew.kuchling | 2007-11-23 05:37:39 -0800 (Fri, 23 Nov 2007) | 1 line Add item ........ r59137 | skip.montanaro | 2007-11-23 09:08:35 -0800 (Fri, 23 Nov 2007) | 2 lines Make trace and doctest play nice together (issue 1429818). Will backport. ........ r59139 | skip.montanaro | 2007-11-23 09:12:47 -0800 (Fri, 23 Nov 2007) | 1 line issue 1429818 ........ r59144 | facundo.batista | 2007-11-23 09:59:00 -0800 (Fri, 23 Nov 2007) | 10 lines Major change in the internal structure of the Decimal number: now it does not store the mantissa as a tuple of numbers, but as a string. This avoids a lot of conversions, and achieves a speedup of 40%. The API remains intact. Thanks Mark Dickinson. ........ r59146 | facundo.batista | 2007-11-23 10:14:50 -0800 (Fri, 23 Nov 2007) | 3 lines Test cases from Cowlishaw, v2.57. All are pased cleanly. ........ r59156 | christian.heimes | 2007-11-23 17:36:02 -0800 (Fri, 23 Nov 2007) | 2 lines Added filename to compiling struct based on Martin's suggestion. I'm wonder why I was trying to add the filename to the node all the time. The compiling struct is more obvious. ........ r59158 | christian.heimes | 2007-11-23 17:53:59 -0800 (Fri, 23 Nov 2007) | 2 lines Backport of fixes from py3k branch svn merge -r59131:HEAD ../../py3k/PCbuild9/ . ........ r59159 | skip.montanaro | 2007-11-23 20:29:08 -0800 (Fri, 23 Nov 2007) | 1 line revert change that breaks test_doctest (which I forgot to run - sorry) ........ r59162 | skip.montanaro | 2007-11-23 20:31:15 -0800 (Fri, 23 Nov 2007) | 1 line revert ........ r59164 | georg.brandl | 2007-11-24 03:31:46 -0800 (Sat, 24 Nov 2007) | 3 lines #1344: document that you need to open std{in,out,err} with PIPE if you want communicate() to work as described. ........ r59165 | georg.brandl | 2007-11-24 03:39:13 -0800 (Sat, 24 Nov 2007) | 2 lines #1467: fix documentation for TestResult.add{Error,Failure}. ........ r59166 | georg.brandl | 2007-11-24 03:42:14 -0800 (Sat, 24 Nov 2007) | 2 lines #1355: remove mention of PyXML from xml.dom docs. ........ r59169 | amaury.forgeotdarc | 2007-11-24 05:20:22 -0800 (Sat, 24 Nov 2007) | 2 lines Warning "<> not supported in 3.x" should be enabled only when the -3 option is set. ........ r59170 | amaury.forgeotdarc | 2007-11-24 05:44:17 -0800 (Sat, 24 Nov 2007) | 3 lines Issue #1445: Fix a SystemError when accessing the ``cell_contents`` attribute of an empty cell object. Now a ValueError is raised. ........ r59172 | georg.brandl | 2007-11-24 05:56:09 -0800 (Sat, 24 Nov 2007) | 3 lines #1735632: add O_NOATIME constant to os module. Also document a few other O_ constants that were missing from documentation. ........ r59173 | skip.montanaro | 2007-11-24 06:30:47 -0800 (Sat, 24 Nov 2007) | 1 line back in these go - thanks to Titus Brown for the fix ........ r59176 | martin.v.loewis | 2007-11-24 10:33:40 -0800 (Sat, 24 Nov 2007) | 2 lines Bug #1494: Document that appendChild removes first. ........ r59186 | guido.van.rossum | 2007-11-26 14:16:49 -0800 (Mon, 26 Nov 2007) | 2 lines A thread-less variant of brownian.py, submitted by Michele Simoniato. ........ | 26 November 2007, 23:23:18 UTC |
4975a1f | Christian Heimes | 26 November 2007, 10:14:51 UTC | Minor cleanup | 26 November 2007, 10:14:51 UTC |
4a22b5d | Christian Heimes | 25 November 2007, 09:39:14 UTC | Patch from Georg Brandl and me for #1493 Remove unbound method objects | 25 November 2007, 09:39:14 UTC |
91c7730 | Christian Heimes | 25 November 2007, 09:18:01 UTC | Fixed bug in input() which broke pdb | 25 November 2007, 09:18:01 UTC |
f519261 | Georg Brandl | 25 November 2007, 00:52:21 UTC | #1479: Fix refleak in csv module (from rev 59062). | 25 November 2007, 00:52:21 UTC |
ceab610 | Georg Brandl | 25 November 2007, 00:45:05 UTC | #1480: fix refleak in the sqlite module. It came from rev 58682. The reason is that PyString_Concat and PyUnicode_Concat work differently -- the equivalent to PyString_Concat is PyUnicode_Append. | 25 November 2007, 00:45:05 UTC |
0d84d13 | Georg Brandl | 25 November 2007, 00:31:12 UTC | Remove unused variable. | 25 November 2007, 00:31:12 UTC |
5fb8eb9 | Georg Brandl | 24 November 2007, 20:42:02 UTC | Use proper API for iter.__next__(). | 24 November 2007, 20:42:02 UTC |
b078925 | Christian Heimes | 24 November 2007, 12:40:29 UTC | Added a simple helper script to build the dependencies of _tkinter. | 24 November 2007, 12:40:29 UTC |
3d9b5a5 | Christian Heimes | 24 November 2007, 05:50:35 UTC | Updated readme.txt Added user macro for tcltk 64bit directory Redone some changes to the ssl project. From now on the _ssl project depends on a 32bit build of Python to aid cross compiling on a 32bit OS. | 24 November 2007, 05:50:35 UTC |
e39439e | Christian Heimes | 24 November 2007, 01:52:19 UTC | Fixed a newline problem | 24 November 2007, 01:52:19 UTC |
e670bd4 | Amaury Forgeot d'Arc | 24 November 2007, 00:29:24 UTC | fix #1409: cell variables were not initialized, when the value comes from a keyword-only parameter. | 24 November 2007, 00:29:24 UTC |
2af1d89 | Guido van Rossum | 23 November 2007, 21:26:49 UTC | Open output files in text mode, after all they are text files. (Binary mode caused problems when "python" was 3.0.) | 23 November 2007, 21:26:49 UTC |
ad3562e | Christian Heimes | 23 November 2007, 17:34:49 UTC | Paul had the great idea to add /DNO_TCL to the pre-build step. | 23 November 2007, 17:34:49 UTC |
0eb2102 | Christian Heimes | 23 November 2007, 17:32:38 UTC | Implemented request from Marc-Andre Lemburg For license reasons Python must not ship with IDEA, RC5 and MDC2. The latter are disabled by default but IDEA is enabled by default. | 23 November 2007, 17:32:38 UTC |
62a8ee1 | Christian Heimes | 23 November 2007, 07:03:16 UTC | Added code to pre-generate makefiles and assembly files to build_ssl.py Fixed bug #1488 in my way. | 23 November 2007, 07:03:16 UTC |
5914323 | Christian Heimes | 23 November 2007, 06:52:42 UTC | Cleanup Removed unreferenced variable | 23 November 2007, 06:52:42 UTC |
e165727 | Amaury Forgeot d'Arc | 22 November 2007, 21:42:04 UTC | Just inline a function, and discover that it can only raise an exception. Next step: should PyString_AsStringAndSize accept buffer objects? | 22 November 2007, 21:42:04 UTC |
3ee05af | Amaury Forgeot d'Arc | 22 November 2007, 21:33:52 UTC | Stream functions like read() are supposed to return bytes, not buffer. Now multibytecodec directly works with PyStrings, and disallow PyBytes. | 22 November 2007, 21:33:52 UTC |
af59346 | Amaury Forgeot d'Arc | 22 November 2007, 20:53:01 UTC | Problem found while converting from PyBytes to PyString: Re-enable (and correct) a test for the BOM at the beginning of a code unit. And properly "unget" characters when the BOM is incomplete. | 22 November 2007, 20:53:01 UTC |
24eac03 | Georg Brandl | 22 November 2007, 14:16:00 UTC | Fix, thanks to Nick. | 22 November 2007, 14:16:00 UTC |
9541463 | Georg Brandl | 22 November 2007, 11:00:28 UTC | Update docs for buffer -> bytearray rename. | 22 November 2007, 11:00:28 UTC |
faddf1f | Christian Heimes | 22 November 2007, 10:32:15 UTC | Revert change of bz2.vcproj | 22 November 2007, 10:32:15 UTC |
c139a9b | Christian Heimes | 22 November 2007, 10:25:50 UTC | Fixed PGO builds The intermediate PG instrument build now lands in Platform-pgi and the final optimized build in Platform-pgo. | 22 November 2007, 10:25:50 UTC |
6bd238c | Walter Dörwald | 22 November 2007, 09:38:52 UTC | Use PyString instead of PyBytes in wrap_strftime(). | 22 November 2007, 09:38:52 UTC |
f386311 | Christian Heimes | 22 November 2007, 07:46:41 UTC | Removed blocks from several functions in unicodeobject and stringobject where a PyString function was still checking for PyUnicode or the other way around. PyUnicode and PyString shouldn't magically convert the other type. | 22 November 2007, 07:46:41 UTC |
830a4bc | Christian Heimes | 22 November 2007, 07:43:40 UTC | os.environ contains PyUnicode instances and not PyString instances | 22 November 2007, 07:43:40 UTC |
b2b6262 | Christian Heimes | 22 November 2007, 05:56:35 UTC | Removed some leftovers from the str8 days | 22 November 2007, 05:56:35 UTC |
4d279c1 | Amaury Forgeot d'Arc | 22 November 2007, 02:55:35 UTC | Typo in bytes.replace(): the buffer interface was always used. | 22 November 2007, 02:55:35 UTC |
39599dc | Amaury Forgeot d'Arc | 22 November 2007, 02:48:12 UTC | PyString_AsString is permissive and accepts unicode strings. Replace it with PyUnicode_AsString when the argument is known to be a str. | 22 November 2007, 02:48:12 UTC |
484fcd4 | Amaury Forgeot d'Arc | 22 November 2007, 01:09:33 UTC | In audioop, return PyString instead of PyBytes. | 22 November 2007, 01:09:33 UTC |
3c72836 | Guido van Rossum | 22 November 2007, 01:00:52 UTC | Merged revisions 59105-59106 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59106 | guido.van.rossum | 2007-11-21 16:55:51 -0800 (Wed, 21 Nov 2007) | 3 lines Backport of _abccoll.py by Benjamin Arangueren, issue 1383. With some changes of my own thrown in (e.g. backport of r58107). ........ | 22 November 2007, 01:00:52 UTC |
cd4d452 | Guido van Rossum | 22 November 2007, 00:30:02 UTC | Merged revisions 59077-59104 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59078 | brett.cannon | 2007-11-20 16:16:20 -0800 (Tue, 20 Nov 2007) | 2 lines Remove a unneeded line that had typos. ........ r59081 | christian.heimes | 2007-11-20 16:46:21 -0800 (Tue, 20 Nov 2007) | 1 line Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompress ........ r59082 | brett.cannon | 2007-11-20 16:47:36 -0800 (Tue, 20 Nov 2007) | 6 lines doctest assumed that a package's __loader__.get_data() method used universal newlines; it doesn't. To rectify this the string returned replaces all instances of os.linesep with '\n' to fake universal newline support. Backport candidate. ........ r59084 | brett.cannon | 2007-11-20 16:58:03 -0800 (Tue, 20 Nov 2007) | 2 lines Add a missing check before deleting a package's __loader__. ........ r59088 | christian.heimes | 2007-11-20 17:17:28 -0800 (Tue, 20 Nov 2007) | 2 lines Added NEWS entry Thanks for the reminder, Brett ........ r59089 | amaury.forgeotdarc | 2007-11-20 17:38:26 -0800 (Tue, 20 Nov 2007) | 2 lines Add a NEWS entry for r59076. ........ r59091 | christian.heimes | 2007-11-20 18:50:06 -0800 (Tue, 20 Nov 2007) | 2 lines Final fix for #1403 The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall. ........ | 22 November 2007, 00:30:02 UTC |
d05eb00 | Guido van Rossum | 21 November 2007, 22:26:24 UTC | Add ABC ByteString which unifies bytes and bytearray (but not memoryview). There's no ABC for "PEP 3118 style buffer API objects" because there's no way to recognize these in Python (apart from trying to use memoryview() on them). Note that array.array really should be registered as a MutableSequence but that would require importing it whenever collections is imported. | 21 November 2007, 22:26:24 UTC |
831c476 | Amaury Forgeot d'Arc | 21 November 2007, 22:24:31 UTC | when building with VC 2008, turn off unicode as default mode for the win32 API. For example, MessageBox takes char* parameters. If you want to pass unicode strings, use MessageBoxW explicitely. | 21 November 2007, 22:24:31 UTC |
8a392d7 | Guido van Rossum | 21 November 2007, 22:09:45 UTC | Convert the socket module to insist on bytes for input, and to return bytes (not bytearray) on output. Discovered a bunch of places that were still depending on it accepting text strings. | 21 November 2007, 22:09:45 UTC |
b083400 | Guido van Rossum | 21 November 2007, 21:53:51 UTC | Fix error messages for buffer objects to say "bytes" instead of "string". | 21 November 2007, 21:53:51 UTC |
1898084 | Guido van Rossum | 21 November 2007, 21:53:11 UTC | More PyBytes -> PyString. | 21 November 2007, 21:53:11 UTC |
f9e443c | Guido van Rossum | 21 November 2007, 20:17:11 UTC | Make os.read() return bytes, not bytearray. | 21 November 2007, 20:17:11 UTC |
82c0dfa | Guido van Rossum | 21 November 2007, 20:09:18 UTC | Return PyString, not PyBytes, for a bytes array. Clean up trailing whitespace. | 21 November 2007, 20:09:18 UTC |
b0efee2 | Guido van Rossum | 21 November 2007, 20:07:54 UTC | Fix an issue with str.translate() in IDLE -- str.translate() only accepts a dict argument now. | 21 November 2007, 20:07:54 UTC |
f06628b | Guido van Rossum | 21 November 2007, 20:01:53 UTC | Make read() and certificate() return bytes instead of bytearray instances. | 21 November 2007, 20:01:53 UTC |
254348e | Guido van Rossum | 21 November 2007, 19:29:53 UTC | Rename buffer -> bytearray. | 21 November 2007, 19:29:53 UTC |
905a904 | Christian Heimes | 21 November 2007, 02:51:50 UTC | Final fix for #1403 > The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall. For py3k unit tests do some extra checks with -bb. | 21 November 2007, 02:51:50 UTC |
81c951c | Christian Heimes | 21 November 2007, 02:20:59 UTC | Removed character set = unicode as requested by Amaury Removed more project configs in order to use the defaults defined in the property files. The 'sed' tool was more than helpful for the job. | 21 November 2007, 02:20:59 UTC |
651b61f | Christian Heimes | 21 November 2007, 00:54:38 UTC | Fixed bug #1020 pyexpat.XMParserType broken (was: pydoc doesn't work on pyexpat) The sentinel in the methods struct was missing | 21 November 2007, 00:54:38 UTC |
1076a20 | Christian Heimes | 21 November 2007, 00:30:29 UTC | Patch +1478 from Joseph Armbruster pythoncore.vcproj fails to generate buildinfo (when spaces in path) | 21 November 2007, 00:30:29 UTC |
5d14c2b | Christian Heimes | 20 November 2007, 23:38:09 UTC | Merged revisions 59056-59076 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59064 | christian.heimes | 2007-11-20 02:48:48 +0100 (Tue, 20 Nov 2007) | 1 line Fixed bug #1470 ........ r59066 | martin.v.loewis | 2007-11-20 03:46:02 +0100 (Tue, 20 Nov 2007) | 2 lines Patch #1468: Package Lib/test/*.pem. ........ r59068 | christian.heimes | 2007-11-20 04:21:02 +0100 (Tue, 20 Nov 2007) | 1 line Another fix for test_shutil. Martin pointed out that it breaks some build bots ........ r59073 | nick.coghlan | 2007-11-20 15:55:57 +0100 (Tue, 20 Nov 2007) | 1 line Backport some main.c cleanup from the py3k branch ........ r59076 | amaury.forgeotdarc | 2007-11-21 00:31:27 +0100 (Wed, 21 Nov 2007) | 6 lines The incremental decoder for utf-7 must preserve its state between calls. Solves issue1460. Might not be a backport candidate: a new API function was added, and some code may rely on details in utf-7.py. ........ | 20 November 2007, 23:38:09 UTC |
81e8ab5 | Christian Heimes | 20 November 2007, 22:52:30 UTC | For unknown reasons "Save All" doesn't save the vsprops files. | 20 November 2007, 22:52:30 UTC |
9519eb9 | Christian Heimes | 20 November 2007, 22:03:37 UTC | Fixes for #1473 and #1476 Added debug builds to make_versioninfo Removed some more defines | 20 November 2007, 22:03:37 UTC |
051d1dd | Mark Summerfield | 20 November 2007, 13:22:19 UTC | The Identifiers and keywords syntax diagram did not appear correctly in the HTML output. I've now fixed this as best I can (but could do with improvement). Note that there are two terms used, "Other_ID_Start" and "Other_ID_Continue" that are not explained; I've added an extra see reference to PEP 3131 though. | 20 November 2007, 13:22:19 UTC |
bfd4985 | Christian Heimes | 20 November 2007, 09:34:16 UTC | Added configurations and files for profile guided optimization (PGO). | 20 November 2007, 09:34:16 UTC |
96e7b3d | Christian Heimes | 20 November 2007, 06:51:17 UTC | The patch from weck does a better job than my original idea. Thanks! | 20 November 2007, 06:51:17 UTC |
ad32deb | Christian Heimes | 20 November 2007, 05:57:30 UTC | Report #1473 Drop _EXPORTS macros in PCbuild9 I've removed a bunch of obsolete defines. I've also taken the opportunity to fix the pre-link event of sqlite3 and some optimization flags. | 20 November 2007, 05:57:30 UTC |
e052dd8 | Christian Heimes | 20 November 2007, 03:20:04 UTC | Another fix for test_shutil. Martin pointed out that it breaks some build bots | 20 November 2007, 03:20:04 UTC |
90ebd3e | Amaury Forgeot d'Arc | 20 November 2007, 01:52:14 UTC | os.system: on Windows, avoid encoding the command and use the "wide" function: _wsystem | 20 November 2007, 01:52:14 UTC |
9414015 | Christian Heimes | 20 November 2007, 01:45:17 UTC | Fixed bug #1470 py3k unit tests are removing %TEMP% dir on Windows os.removedirs removes all parent directories until it hits a non empty directory. In my case my %TEMP% directory was clean and empty. | 20 November 2007, 01:45:17 UTC |
10c476d | Amaury Forgeot d'Arc | 19 November 2007, 21:20:21 UTC | Correct test_cvs on Windows, as suggested by Raghuram Devarakonda in issue1395. All other places in this file already use newline=''... Also check that csv.reader is given an iterable returning strings. | 19 November 2007, 21:20:21 UTC |
a2d1d7e | Amaury Forgeot d'Arc | 19 November 2007, 21:14:47 UTC | Oops, I missed this one again (test_univnewlines fails): Some incremental decoders return multiple characters, even when fed with only one more byte. In this case the tell() state must subtract the number of extra characters. | 19 November 2007, 21:14:47 UTC |
1ff9910 | Amaury Forgeot d'Arc | 19 November 2007, 20:34:10 UTC | Issue1395: Universal mode used to duplicate newlines when using read(1). "Universal newline" is now an incremental decoder wrapping the initial one, with its own additional buffer (if '\r' is seen at the end of the input). A decoder allows the tell() funtion to record the state of the translation. This also simplifies the readline() process. Now test_netrc passes on Windows, as well as many new tests in test_io.py | 19 November 2007, 20:34:10 UTC |
74c29c7 | Guido van Rossum | 19 November 2007, 18:36:41 UTC | Make test_cmd_line_scripts pass by using a unicode string instead of a bytes string to hold argv0 in RunMainFromImporter(). Also changed the code lay-out a bit to be more readable (for me :-), and print any unexpected errors rather than suppressing them. | 19 November 2007, 18:36:41 UTC |
82f013b | Christian Heimes | 19 November 2007, 18:35:20 UTC | Fixed build order of the _ssl project. The openssl project needs to come first because the makefile puts the header files in the right place. Added some optimization flags to the Release builds of pythoncore and the executables. | 19 November 2007, 18:35:20 UTC |
87c0f1d | Guido van Rossum | 19 November 2007, 18:03:44 UTC | Merged revisions 59041-59055 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r59044 | neal.norwitz | 2007-11-18 17:46:20 -0800 (Sun, 18 Nov 2007) | 1 line Use a slightly more recent version than 1.5.2b2. ........ r59047 | walter.doerwald | 2007-11-19 04:14:05 -0800 (Mon, 19 Nov 2007) | 2 lines Fix typo in comment. ........ r59049 | walter.doerwald | 2007-11-19 04:41:10 -0800 (Mon, 19 Nov 2007) | 4 lines Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode()) calling codecs.utf_8_decode() with final==True, which falled with incomplete byte sequences. Fix and test by James G. Sack. ........ r59051 | nick.coghlan | 2007-11-19 05:56:27 -0800 (Mon, 19 Nov 2007) | 1 line Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot ........ r59053 | facundo.batista | 2007-11-19 08:30:24 -0800 (Mon, 19 Nov 2007) | 3 lines Fixed detail in add_type() explanation (issue 1463). ........ r59054 | guido.van.rossum | 2007-11-19 09:35:24 -0800 (Mon, 19 Nov 2007) | 2 lines Make this work stand-alone, too. ........ r59055 | guido.van.rossum | 2007-11-19 09:50:22 -0800 (Mon, 19 Nov 2007) | 3 lines Fix the OSX failures in this test -- they were due to /tmp being a symlink to /private/tmp. Adding a call to os.path.realpath() to temp_dir() fixed it. ........ | 19 November 2007, 18:03:44 UTC |
87afcbf | Guido van Rossum | 19 November 2007, 15:56:44 UTC | Tweak the imports so this script will run stand-alone. (No, this doesn't fix the bugs on OSX.) | 19 November 2007, 15:56:44 UTC |
97e8029 | Christian Heimes | 19 November 2007, 08:36:32 UTC | I've spend some time to automate more steps of the build process. Now bzip2, bsddb, sqlite and openssl are automatically build by prelink steps. I had to use some tricks to build openssl for 32 and 64bit CPUs in two separate build dirs. | 19 November 2007, 08:36:32 UTC |
a6b4635 | Martin v. Löwis | 19 November 2007, 06:46:55 UTC | Revert modifications to extract_msvcr71 in 59040, as they didn't actually work. | 19 November 2007, 06:46:55 UTC |
8a48c4c | Christian Heimes | 19 November 2007, 01:23:57 UTC | Removed ReleaseAMD64 and replaced it with platform x64. The x64 builds fine except of the modules that depend on external libraries like tkinter and openssl. And I can't test the build on my 32bit CPU. | 19 November 2007, 01:23:57 UTC |
80101a8 | Christian Heimes | 18 November 2007, 21:30:36 UTC | I'm using the xxmodule and xxsubtype to test the msvccompiler on Windows. I'm having trouble to compile the module with VS 2008 cl.exe because "initializer is not a constant". | 18 November 2007, 21:30:36 UTC |
9cd1775 | Christian Heimes | 18 November 2007, 19:35:23 UTC | Merged revisions 59005-59040 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk I've tried to fix test_cmd_line_script but I wasn't able to get all tests right. Nick, can you please have a look? ........ r59020 | facundo.batista | 2007-11-16 19:04:14 +0100 (Fri, 16 Nov 2007) | 12 lines Now in find, rfind, index, and rindex, you can use None as defaults, as usual with slicing (both with str and unicode strings). This fixes issue 1259. For str only the stringobject.c file was modified. But for unicode, I needed to repeat in the four functions a lot of code, so created a new function that does part of the job for them (and placed it in find.h, following a suggestion of Barry). Also added tests for this behaviour. ........ r59021 | facundo.batista | 2007-11-16 19:41:24 +0100 (Fri, 16 Nov 2007) | 4 lines Fix for stupid error (I need to remember to do a full 'make clean + make' cycle before the tests...). Sorry. ........ r59022 | facundo.batista | 2007-11-16 20:16:15 +0100 (Fri, 16 Nov 2007) | 3 lines Made _ParseTupleFinds only defined to unicodeobject.c ........ r59024 | raymond.hettinger | 2007-11-17 02:51:22 +0100 (Sat, 17 Nov 2007) | 1 line Fix signature in example ........ r59033 | brett.cannon | 2007-11-17 08:07:29 +0100 (Sat, 17 Nov 2007) | 5 lines Remove a confusing sentence about pth files and which directories are searched for them. Closes issue #1431. Thanks Giambattista Bloisi for the help. ........ r59039 | nick.coghlan | 2007-11-18 12:56:28 +0100 (Sun, 18 Nov 2007) | 1 line Patch #1739468: Directories and zipfiles containing __main__.py are now executable ........ | 18 November 2007, 19:35:23 UTC |
81ca7c7 | Christian Heimes | 18 November 2007, 18:18:41 UTC | Updates to the msi builder and PCbuild9 directory. msi.py can now create installers from the PCbuild9 directory with MSVCR90.dll. PCbuild and MSVCR71.dll are still the default. | 18 November 2007, 18:18:41 UTC |
6030a60 | Bill Janssen | 17 November 2007, 21:51:51 UTC | remove now-obsolete test_socket_ssl | 17 November 2007, 21:51:51 UTC |
bce52be | Christian Heimes | 17 November 2007, 19:08:41 UTC | Fixed some build issues and updated docs. | 17 November 2007, 19:08:41 UTC |
d157e69 | Christian Heimes | 17 November 2007, 11:46:54 UTC | The _winreg module returns bytes which must be decoded to unicode, not encoded. | 17 November 2007, 11:46:54 UTC |
ad14d11 | Christian Heimes | 17 November 2007, 08:15:27 UTC | Initial import of new PCbuild9 for VS 2008. It partly based on PCbuild and partly hand crafted with some idea from PCbuild8. I've recreated all the extension module projects. The new directory needs some more love and care but it works. I'm not able to test the AMD64 build. The new tree is heavily using the *.vcprops property sheets. Please set any global settings in the property sheets. | 17 November 2007, 08:15:27 UTC |
1c8e5bc | Thomas Heller | 16 November 2007, 07:00:30 UTC | Use 'del' instead of rmpyc.py to remove the pyc and pyo files. | 16 November 2007, 07:00:30 UTC |
6317843 | Christian Heimes | 16 November 2007, 02:35:02 UTC | Fixed an error in my last commit. The dll files are in the bin directory, not in the lib directory. | 16 November 2007, 02:35:02 UTC |
3bff437 | Christian Heimes | 16 November 2007, 02:14:19 UTC | I finally figured out why _tkinter and _bsddb didn't compile with PCbuild8. | 16 November 2007, 02:14:19 UTC |