summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak: Always DECREF obj in PyBuffer_Release.Martin v. Löwis2008-08-141-5/+3
|
* Try to fix the test on 64-bit platforms.Thomas Heller2008-08-141-5/+4
|
* issue #3554: ctypes.string_at and ctypes.wstring_at must use theThomas Heller2008-08-143-2/+17
| | | | | pythonapi calling convention so that the GIL is held and error return values are checked.
* Issue 1432. Fixes a bug caused because of the evolutionFacundo Batista2008-08-142-5/+21
| | | | | of the RFC that describes the behaviour. Note that we now have the same behaviour than the current browsers.
* Properly INCREF reference in Py_buffer.Martin v. Löwis2008-08-141-0/+2
|
* Make obj an owned reference in Py_buffer; this checkinMartin v. Löwis2008-08-141-1/+4
| | | | was missing from the patch for #3139.
* Added _multiprocessing module support. (VC6)Hirokazu Yamamoto2008-08-142-0/+130
|
* Fix markup for various binary operation examples where the operands were boldedBrett Cannon2008-08-141-6/+6
| | | | | and the operator was made literal, leading to non-valid reST. Changed to have the entire expression just be a literal bit of text.
* Fixed test_distutils error (test_build_ext) on VC6.Hirokazu Yamamoto2008-08-141-1/+4
|
* Silence the DeprecationWarning of rfc822 triggered by its importation inBrett Cannon2008-08-142-1/+9
| | | | | | | | | | | | mimetools. This has an unfortunate side-effect of potentially not letting any warning about rfc822's deprecation be seen by user-visible code if rfc822 is not imported before mimetools. This is because modules are cached in sys.modules and thus do not have their deprecation triggered more than once. But this silencing would have happened by other code that silences the use of mimetools or rfc822 anyway in the stdlib or user code, and thus seems justified to be done here.
* Issue #2065: VC6 related fix.Hirokazu Yamamoto2008-08-148-45/+169
| | | | | | | | | | | | | | | | | | | | - PC/VC6/_bsddb.dsp: removed '/nodefaultlib:"msvcrt"' to fix linker error. - PC/VC6/_msi.dsp, PC/VC6/pcbuild.dsw: added new module support. - PC/VC6/_sqlite3.dsp: /D "MODULE_NAME=\"sqlite3\"" caused extra leading space like #define MODULE_NAME " sqlite3" so uses /D MODULE_NAME=\"sqlite3\" instead. - PC/VC6/python.dsp: changed stack size to 2MB to avoid stack overflow on some tests.
* Add Hirokazu Yamamoto.Martin v. Löwis2008-08-121-0/+3
|
* update ssl documentationBill Janssen2008-08-121-0/+9
|
* remove duplicate close() from ssl.py; expose unwrap and add test for itBill Janssen2008-08-122-6/+25
|
* Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis2008-08-1216-272/+459
| | | | | | | by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*.
* Another fix for 4-way universal builds, use the right #ifndef guardRonald Oussoren2008-08-122-2/+2
| | | | to detect the OSX 10.5 SDK.
* Fix typo in the `arch` commandlineRonald Oussoren2008-08-122-3/+3
|
* Fix the connection refused error part of issue 3419, use errno module ↵Jesse Noller2008-08-111-1/+2
| | | | instead of a static list of possible connection refused messages.
* #3134: shutil referenced undefined WindowsError symbolAntoine Pitrou2008-08-112-4/+12
|
* Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵Nick Coghlan2008-08-1118-18/+165
| | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
* Remove the fqdn call for issue 3270Jesse Noller2008-08-111-4/+1
|
* #3540: fix exception name.Georg Brandl2008-08-111-1/+1
|
* - Issue #3537: Fix an assertion failure when an empty but presized dictGeorg Brandl2008-08-113-0/+18
| | | | object was stored in the freelist.
* Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated toRobert Schuppenies2008-08-102-0/+13
| | | | menu entries were not deleted.
* Silence warnings in csv about using reduce() when run under -3 by usingBrett Cannon2008-08-092-4/+5
| | | | functools.reduce() instead.
* Use functools.reduce() in difflib instead of __builtin__.reduce() to silenceBrett Cannon2008-08-092-5/+6
| | | | warnings when running under -3.
* Copy reduce() to _functools so to have functools.reduce() not raise a warningBrett Cannon2008-08-094-3/+127
| | | | from usage under -3.
* Suppress the warning in asynchat from using buffer() when running udner -3.Brett Cannon2008-08-092-2/+6
| | | | | Naively removing the usage causes a large number of test failures, so it was just easier to suppress the warning.
* move NEWS entry to the appropriate section (oops!)Antoine Pitrou2008-08-091-3/+3
|
* #3205: bz2 iterator fails silently on MemoryErrorAntoine Pitrou2008-08-092-0/+4
|
* Add news item about _sre.compile() re-bytecode validator.Guido van Rossum2008-08-091-0/+4
|
* Fix slightly misleading statement in the NEWS file.Antoine Pitrou2008-08-091-1/+2
|
* accept issue 3436Skip Montanaro2008-08-084-4/+67
|
* Remove mention of backquotes in the tutorial.Georg Brandl2008-08-081-6/+1
|
* #3519: callee is an expression too.Georg Brandl2008-08-081-1/+1
|
* Remove buffer() usage in the socket module by just slicing directly on theBrett Cannon2008-08-082-7/+7
| | | | object. This removes all warnings for the module caused by running under -3.
* Remove warnings generated for the suprocess module when run under -3. RequiredBrett Cannon2008-08-082-9/+11
| | | | | | commenting out True/False compatbility stuff, remove a use of apply(), and remove a use of buffer() (just pulled the solution used in 3.0 which is direct slicing).
* Change the warning emitted for using the buffer() object; memoryview() in 3.0Brett Cannon2008-08-081-2/+1
| | | | is not an equivalent.
* Patch by Ian Charnas from issue 3517.Guido van Rossum2008-08-071-0/+5
| | | | Add F_FULLFSYNC if it exists (OS X only so far).
* #1288615: Python code.interact() and non-ASCII inputAntoine Pitrou2008-08-071-0/+4
|
* Add some itemsAndrew M. Kuchling2008-08-071-5/+23
|
* Add imp.reload(). This to help with transitioning to 3.0 the reload() built-inBrett Cannon2008-08-063-0/+35
| | | | has been removed there.
* Remove duplicate importMark Dickinson2008-08-061-1/+0
|
* Docstring typoMark Dickinson2008-08-061-1/+1
|
* Fix longstringitem definition. #3505.Georg Brandl2008-08-061-1/+1
|
* Tracker issue 3487: sre "bytecode" verifier.Guido van Rossum2008-08-051-0/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a verifier for the binary code used by the _sre module (this is often called bytecode, though to distinguish it from Python bytecode I put it in quotes). I wrote this for Google App Engine, and am making the patch available as open source under the Apache 2 license. Below are the copyright statement and license, for completeness. # Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. It's not necessary to include these copyrights and bytecode in the source file. Google has signed a contributor's agreement with the PSF already.
* #3367: revert rev. 65539: this change causes test_parser to failAndrew M. Kuchling2008-08-051-1/+1
|
* #3367 from Kristjan Valur Jonsson:Andrew M. Kuchling2008-08-051-1/+1
| | | | | | | If a PyTokenizer_FromString() is called with an empty string, the tokenizer's line_start member never gets initialized. Later, it is compared with the token pointer 'a' in parsetok.c:193 and that behavior can result in undefined behavior.
* Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, ↵Andrew M. Kuchling2008-08-051-6/+29
| | | | check for having os.stat available
* Add a note about all the modules/packages changed to silence -3 warnings. MoreBrett Cannon2008-08-041-0/+7
| | | | | changes are needed once some decisions are made, but this is the work up to this point.