- 05 Agu, 2008 4 kayıt (commit)
-
-
Guido van Rossum yazdı
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 yazdı
-
Andrew M. Kuchling yazdı
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 yazdı
Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available
-
- 04 Agu, 2008 25 kayıt (commit)
-
-
Brett Cannon yazdı
changes are needed once some decisions are made, but this is the work up to this point.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Mark Dickinson yazdı
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 yazdı
-
Brett Cannon yazdı
warnings under -3.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Brett Cannon yazdı
-
Gregory P. Smith yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
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 yazdı
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 yazdı
names with docstring.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Andrew M. Kuchling yazdı
and add corresponding tests. Possible 2.5 backport candidate
-
Gregory P. Smith yazdı
of using pipes that cause deadlocks.
-
Brett Cannon yazdı
while running under -3.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
running under -3.
-
Gregory P. Smith yazdı
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.
-
Brett Cannon yazdı
warnings when run under -3.
-
- 03 Agu, 2008 11 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
warnings triggered under -3.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
package, when run under -3, about using <>.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
under -3 through test_xmlrpc.
-
Brett Cannon yazdı
move from list.sort(cmp=) to key=.
-
Brett Cannon yazdı
-
Brett Cannon yazdı
cookielib.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-