| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Fix suggested by Amaury Forgeot d'Arc.
Closes issue #4003.
|
| |
|
|
| |
reviewed by Amaury
|
| |
|
|
|
|
|
| |
segfaults
patch by Victor Stinner
reviewed by myself and Brett
|
| | |
|
| |
|
|
|
|
|
|
| |
timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.
Fixes issue 3895.
Code review by Benjamin Peterson.
|
| | |
|
| |
|
|
| |
Reviewed by Fredrik Lundh and Skip Montanaro.
|
| |
|
|
| |
Reviewed by Nick Coghlan.
|
| |
|
|
|
|
| |
constant)
Reviewed by Amaury Forgeot d'Arc.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
concurrent access to the same database file from multiple threads/processes.
|
| |
|
|
| |
renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
|
| |
|
|
| |
methods not found in DB-API.
|
| |
|
|
|
|
| |
nested lists or dicts.
Reviewed by Martin von Loewis.
|
| |
|
|
|
|
|
|
|
| |
PyString_FromFormat which has an independent implementation, and uses "%zd".
This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.
Reviewed by Martin von Loewis.
|
| |
|
|
| |
Reviewed by Amaury.
|
| |
|
|
| |
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
|
| | |
|
| |
|
|
| |
pitrou
|
| | |
|
| | |
|
| |
|
|
| |
Reviewer: Gregory P. Smith
|
| |
|
|
|
|
| |
be compatible with Python 3.0, also.
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
|
| |
|
|
|
| |
TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio
R (approach from bug)=Amaury and Benjamin
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* crashes on memory allocation failure found with failmalloc
* memory leaks found with valgrind
* compiler warnings in opt mode which would lead to invalid memory reads
* problem using wrong name in decimal module reported by pychecker
Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).
TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
in opt mode:
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
-x test_logging test_ssl test_multiprocessing
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
for i in `seq 1 4000` ; do
LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
./python -c pass
done
At least some of these fixes should probably be backported to 2.5.
|
| |
|
|
|
| |
Author: Victor Stinner
Reviewer: Benjamin Peterson
|
| | |
|
| |
|
|
|
| |
Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t'
Reviewed by Benjamin Peterson
|
| |
|
|
|
| |
Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
Reviewed by Benjamin Peterson
|
| | |
|
| | |
|
| |
|
|
| |
that are COM methods must have a boolean True value.
|
| | |
|
| |
|
|
|
|
| |
- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
|
| |
|
|
| |
function now takes bytearray by using 's*' instead of 't#'.
|
| |
|
|
| |
fails unicode conversion on 2nd parameter. (windows only)
|
| | |
|
| |
|
|
|
|
|
| |
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
|
| |
|
|
| |
from usage under -3.
|
| | |
|
| |
|
|
| |
Add F_FULLFSYNC if it exists (OS X only so far).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
that were missed by r65308
|
| | |
|