summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix NonRecursiveMutex on x64. The signature of the ↵Kristján Valur Jónsson2007-05-071-5/+7
| | | | faux-InterlockedCompareExchange function was wrong: It works with LONG and not PVOID objects, and it needs to have the target marked as volatile. Further, it is not needed at all for x64 targets, since that platform always has the real McCoy.
* Merging change 55102 from the trunk:Kristján Valur Jónsson2007-05-074-10/+17
| | | | Fix those parts in the testsuite that assumed that sys.maxint would cause overflow on x64. Now the testsuite is well behaved on that platform.
* Bug #1713535 backport.Georg Brandl2007-05-051-1/+1
|
* Merging changes 55092, 55101,55120 from trunk, making PCBuild8 solution up ↵Kristján Valur Jónsson2007-05-058-18/+464
| | | | to date.
* Blocked revisions 54357 via svnmergeThomas Heller2007-05-040-0/+0
| | | | | | | | ........ r54357 | thomas.heller | 2007-03-13 21:42:52 +0100 (Tue, 13 Mar 2007) | 1 line Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl. ........
* Backport checkin:Walter Dörwald2007-05-031-4/+4
| | | | | Clarify the behaviour of PyUnicode_DecodeUTF16(): A BOM is only skipped in native order mode, and only if it's the first two bytes.
* Merged revisions 55027 via svnmerge fromThomas Heller2007-05-021-3/+11
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes ........ r55027 | thomas.heller | 2007-04-30 18:04:57 +0200 (Mo, 30 Apr 2007) | 8 lines When accessing the .value attribute of a c_wchar_p instance, and the instance does not point to a valid wchar_t zero-terminated string, raise a ValueError. c_char_p does this already. The ValueError message now contains the correct pointer address. Will backport to release25-maint. ........
* Additional changes to the property sheets in PCBuild8. Visual Studio ↵Kristján Valur Jónsson2007-05-023-2/+3
| | | | doesn's save those when it builds, unlike the .vcproj files, so I chekced in out-of-date versions.
* Undefine the Yield macro after including Python_ast.h where it may cause ↵Kristján Valur Jónsson2007-05-022-0/+4
| | | | conflicts with winbase.h on Windows.
* Merging of change 55024 from the truk to release25-maint branch.Kristján Valur Jónsson2007-05-0263-13686/+13572
| | | | Complete revamp of PCBuild8 directory. Use subdirectories for each project under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
* Patch #1710352: add missing public functions to locale.__all__.Georg Brandl2007-05-011-3/+5
| | | | (backport from rev. 55038)
* Bug #1710295: exceptions are now new-style classes.Georg Brandl2007-05-011-1/+1
| | | | (backport from rev. 55036)
* Merged revisions 55025 via svnmerge fromThomas Heller2007-04-303-3/+15
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes ........ r55025 | thomas.heller | 2007-04-30 17:44:17 +0200 (Mo, 30 Apr 2007) | 4 lines Make sure to call PyErr_NoMemory() in several places where PyMem_Malloc() could potentially fail. Will backport to the release25-maint branch. ........
* Update with the version that has been running for a while. Most ofNeal Norwitz2007-04-291-7/+24
| | | | | the changes are to support multiple versions (ie, trunk and 2.5). Also check for conflicts in the .tex file when a release is cut.
* Backport fix for r54646-7: properly clear locale cache in time.strptime whenBrett Cannon2007-04-273-5/+36
| | | | the locale changes between calls.
* Backport r54712: document that calling file.next() on a file open for writingBrett Cannon2007-04-272-8/+16
| | | | leads to undefined behaviour.
* Version fix (bug #1708710)Georg Brandl2007-04-271-4/+4
|
* fix some markup errorsFred Drake2007-04-264-5/+5
|
* bump email package version to 4.0.2Barry Warsaw2007-04-251-1/+1
|
* Whitespace normalizationNeal Norwitz2007-04-2515-38/+38
|
* Markup fix.Georg Brandl2007-04-251-1/+1
| | | | (backport from rev. 54951)
* Patch #1698768: updated the "using Python on the Mac" intro.Georg Brandl2007-04-252-173/+135
| | | | (backport from rev. 54949)
* Fix markupRaymond Hettinger2007-04-241-1/+1
|
* Bug #1706381: Specifying the SWIG option "-c++" in the setup.py fileGeorg Brandl2007-04-242-1/+6
| | | | | | (as opposed to the command line) will now write file names ending in ".cpp" too. (backport from rev. 54941)
* Bug #1705717: error in sys.argv docs.Georg Brandl2007-04-241-2/+2
| | | | (backport from rev. 54939)
* Some new year updates.Georg Brandl2007-04-243-2/+4
|
* Fix SF #1703110, Incorrect example for add_password() (use uri, not host)Neal Norwitz2007-04-242-2/+8
|
* Convert PyUnit -> unittest. Backported from r54929.Collin Winter2007-04-241-11/+10
|
* Recommit r54805:Barry Warsaw2007-04-232-0/+21
| | | | | | | | Add code to read from master_fd in the parent, breaking when we get an OSError (EIO can occur on Linux) or there's no more data to read. Without this, test_pty.py can hang on the waitpid() because the child is blocking on the stdout write. This will definitely happen on Mac OS X and could potentially happen on other platforms. See the comment for details.
* Properly implement Georg Brandl's Patch #1185447 to the 2.5 maintainance branchKristján Valur Jónsson2007-04-221-6/+8
|
* Bug #1704790: bind name "sys" locally in __del__ method so that it isGeorg Brandl2007-04-211-1/+1
| | | | | not cleared before __del__ is run. (backport from rev. 54918)
* Fix various minor issues discovered with static analysis using Visual Studio ↵Kristján Valur Jónsson2007-04-218-30/+39
| | | | | | 2005 Team System. Removed obsolete comment, since .dll modules are no longer supported on windows, only .pyd.
* Bug #1704156: Support for unicode strings as input filenames isLars Gustäbel2007-04-211-1/+1
| | | | | | | neither documented nor intended but works in Python 2.4 under certain conditions. This stopped working in 2.5 because struct.pack is used. This small patch restores the old behaviour. A more solid solution is planned for 2.6.
* Backport r54786:Walter Dörwald2007-04-213-7/+19
| | | | | Fix utf-8-sig incremental decoder, which didn't recognise a BOM when the first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
* Backport r54671 - fix in python.sty.Georg Brandl2007-04-211-8/+8
|
* Backport r54762: exceptions are no longer old-style instances.Georg Brandl2007-04-211-2/+2
|
* Backport r54763: repair missing spaces after \UNIX.Georg Brandl2007-04-213-3/+3
|
* Backport r54787 - better error messages in rexec and bastionGeorg Brandl2007-04-212-2/+2
|
* Backport r54757 - missing NULL checks.Georg Brandl2007-04-212-0/+10
|
* Patch #1695229: Fix a regression with tarfile.open() and a missing nameLars Gustäbel2007-04-203-3/+14
| | | | argument.
* Fix directory names to have only one trailing slash.Lars Gustäbel2007-04-203-1/+19
| | | | A regression from rev. 52525.
* Tagging for release of Python 2.5.1Anthony Baxter2007-04-181-0/+1
|
* 2.5.1 finalv2.5.1Anthony Baxter2007-04-185-6/+11
|
* Revert 53667Raymond Hettinger2007-04-182-7/+8
|
* Revert SF #1615701 (rev 53655): dict.update() does *not* call __getitem__() orNeal Norwitz2007-04-163-9/+13
| | | | | | | keys() if subclassed. This is to remain consistent with 2.5. See discussion here: http://mail.python.org/pipermail/python-dev/2007-April/072565.html
* Revert 54805 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.Neal Norwitz2007-04-161-18/+0
|
* Revert 54813 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.Neal Norwitz2007-04-162-3/+3
|
* Revert 54815 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.Neal Norwitz2007-04-161-1/+1
|
* SF #1701207: svnversion_init assertion failedNeal Norwitz2007-04-161-2/+0
| | | | | | Revert bogus asserts (added to the wrong place) from rev 52501. Approved by Anthony.
* Fix potential crash in path manipulation on windowsKristján Valur Jónsson2007-04-131-1/+1
|