- 08 Aug, 2008 5 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Brett Cannon authored
object. This removes all warnings for the module caused by running under -3.
-
Brett Cannon authored
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).
-
Brett Cannon authored
is not an equivalent.
-
- 07 Aug, 2008 3 commits
-
-
Guido van Rossum authored
Add F_FULLFSYNC if it exists (OS X only so far).
-
Antoine Pitrou authored
-
Andrew M. Kuchling authored
-
- 06 Aug, 2008 4 commits
-
-
Brett Cannon authored
has been removed there.
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Georg Brandl authored
-
- 05 Aug, 2008 4 commits
-
-
Guido van Rossum authored
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.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available
-
- 04 Aug, 2008 24 commits
-
-
Brett Cannon authored
changes are needed once some decisions are made, but this is the work up to this point.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Mark Dickinson authored
long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')).
-
Brett Cannon authored
-
Brett Cannon authored
warnings under -3.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Gregory P. Smith authored
-
Nick Coghlan authored
-
Nick Coghlan authored
Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow).
-
Gregory P. Smith authored
key list data structure in the thread startup path. This change is a companion to r60148 which already successfully dealt with a similar issue on thread shutdown. In particular this loop has been observed happening from this call path: #0 in find_key () #1 in PyThread_set_key_value () #2 in _PyGILState_NoteThreadState () #3 in PyThreadState_New () #4 in t_bootstrap () #5 in pthread_start_thread () I don't know how this happens but it does, *very* rarely. On more than one hardware platform. I have not been able to reproduce it manually. (A flaky mutex implementation on the system in question is one hypothesis). As with r60148, the spinning we managed to observe in the wild was due to a single list element pointing back upon itself.
-
Georg Brandl authored
names with docstring.
-
Georg Brandl authored
-
Georg Brandl authored
-
Andrew M. Kuchling authored
and add corresponding tests. Possible 2.5 backport candidate
-
Gregory P. Smith authored
of using pipes that cause deadlocks.
-
Brett Cannon authored
while running under -3.
-
Brett Cannon authored
-
Brett Cannon authored
running under -3.
-
Gregory P. Smith authored
argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method.
-