cpython/Misc
Benjamin Peterson dbf52e02f1
bpo-31530: fix crash when multiple threads iterate over a file, round 2 (#5060)
Multiple threads iterating over a file can corrupt the file's internal readahead
buffer resulting in crashes. To fix this, cache buffer state thread-locally for
the duration of a file_iternext call and only update the file's internal state
after reading completes.

No attempt is made to define or provide "reasonable" semantics for iterating
over a file on multiple threads. (Non-crashing) races are still
present. Duplicated, corrupt, and missing data will happen.

This was originally fixed by 6401e56717, which
raised an exception from seek() and next() when concurrent operations were
detected. Alas, this simpler solution breaks legitimate use cases such as
capturing the standard streams when multiple threads are logging.
2018-01-02 09:25:41 -08:00
..
NEWS.d bpo-31530: fix crash when multiple threads iterate over a file, round 2 (#5060) 2018-01-02 09:25:41 -08:00
TextMate/Python-Dev.tmbundle
Vim
ACKS [2.7] bpo-30057: Fix potential missed signal in signal.signal(). (GH-4258) (#4263) 2017-11-03 20:36:39 +01:00
BeOS-NOTES
BeOS-setup.py
HISTORY Issue #28145: Spelling fixes 2016-09-16 00:46:05 +00:00
Porting
README remove RPM file, which is unused and unmaintained 2015-02-18 08:57:27 -05:00
README.AIX
README.Emacs
README.OpenBSD
README.coverity
README.klocwork
README.valgrind
RFD
SpecialBuilds.txt remove mention of Python 2.2 and 2.3 2015-03-01 20:59:22 -05:00
cheatsheet Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2016-07-28 03:04:04 +00:00
developers.txt Fix some spelling errors 2016-08-20 08:00:53 +00:00
gdbinit
indent.pro
maintainers.rst
pymemcompat.h
python-config.in - Issue #18096: Fix library order returned by python-config. 2014-10-02 01:58:58 +02:00
python-wing3.wpr
python-wing4.wpr
python.man remove useless $ keyword (closes #17167) 2016-03-21 22:31:02 -07:00
python.pc.in
setuid-prog.c
valgrind-python.supp Issue #12612: Add some Valgrind suppressions for 64-bit machines. 2015-11-05 20:41:57 +01:00
vgrindefs

README

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS                    Acknowledgements
AIX-NOTES               Notes for building Python on AIX
BeOS-NOTES              Notes for building on BeOS
BeOS-setup.py           setup.py replacement for BeOS, see BeOS-NOTES
build.sh                Script to build and test latest Python from the repository
cheatsheet              Quick summary of Python by Ken Manheimer
developers.txt          A history of who got developer permissions, and why
gdbinit                 Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY                 News from previous releases -- oldest last
indent.pro              GNU indent profile approximating my C style
maintainers.rst         A list of maintainers for library modules
NEWS                    News for this release (for some meaning of "this")
NEWS.help               How to edit NEWS
Porting                 Mini-FAQ on porting to new platforms
PURIFY.README           Information for Purify users
pymemcompat.h           Memory interface compatibility file.
python-config.in        Python script template for python-config
python.man              UNIX man page for the python interpreter
python-mode.el          Emacs mode for editing Python programs
python.pc.in            Package configuration info template for pkg-config
python-wing.wpr         Wing IDE project file
README                  The file you're reading now
README.coverity         Information about running Coverity's Prevent on Python
README.klocwork         Information about running Klocwork's K7 on Python
README.OpenBSD          Help for building problems on OpenBSD
README.valgrind         Information for Valgrind users, see valgrind-python.supp
RFD                     Request For Discussion about a Python newsgroup
setuid-prog.c           C helper program for set-uid Python scripts
SpecialBuilds.txt       Describes extra symbols you can set for debug builds
TextMate                A TextMate bundle for Python development
valgrind-python.supp    Valgrind suppression file, see README.valgrind
vgrindefs               Python configuration for vgrind (a generic pretty printer)
Vim                     Python development utilities for the Vim editor