Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
Patch by Karan Goel.
11 years ago
Victor Stinner
4f5366e65a
Issue #22038 : pyatomic.h now uses stdatomic.h or GCC built-in functions for
atomic memory access if available. Patch written by Vitor de Lima and Gustavo
Temple.
11 years ago
Raymond Hettinger
3f063a54ce
Minor comment clean-up
11 years ago
Raymond Hettinger
404a45d91a
Neaten-up setobject.h
- Move all Py_LIMITED_API exclusions together under one #ifndef
- Group PyAPI_FUNC functions and PyAPI_DATA together.
- Bring related comments together and put them in the appropriate section.
11 years ago
Serhiy Storchaka
b757c83ec6
Issue #22581 : Use more "bytes-like object" throughout the docs and comments.
11 years ago
Serhiy Storchaka
166ebc4e5d
Issue #19676 : Added the "namereplace" error handler.
11 years ago
Nick Coghlan
d600951748
Issue #22869 : Split pythonrun into two modules
- interpreter startup and shutdown code moved to a new
pylifecycle.c module
- Py_OptimizeFlag moved into the new module with the other
global flags
11 years ago
Serhiy Storchaka
81f68a7d4b
Issue #22453 : Warn against the use of leaking macro PyObject_REPR().
11 years ago
Serhiy Storchaka
df4518ca4b
Issue #22453 : Removed non-documented macro PyObject_REPR().
11 years ago
Serhiy Storchaka
60fe569673
Issue #18637 : Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.
11 years ago
Serhiy Storchaka
030e92d1a5
Issue #22193 : Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
11 years ago
Georg Brandl
18e897250a
Bump to 3.3.6
11 years ago
Georg Brandl
439d88542e
Bump to 3.2.6
11 years ago
Victor Stinner
b71c7dc9dd
Issue #22591 : Drop support of MS-DOS
Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of GCC).
Today is a sad day. Good bye MS-DOS, good bye my friend :'-(
11 years ago
Serhiy Storchaka
e2bd2a7186
Issue #21715 : Extracted shared complicated code in the _io module to new
_PyErr_ChainExceptions() function.
11 years ago
Antoine Pitrou
0ddbf4795f
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
Initial patch by Mark Shannon.
11 years ago
Larry Hastings
adeb140cb3
Post-release changes after 3.4.2 final.
11 years ago
Larry Hastings
dbb126103e
Release bump for 3.4.2 final.
11 years ago
Georg Brandl
e800a0e1c2
Bump to 3.2.6rc1
11 years ago
Georg Brandl
76e73f85a3
Bump to 3.3.6rc1
11 years ago
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
11 years ago
Larry Hastings
f26c2e72d8
Post-release engineering work for 3.4.2rc1.
11 years ago
Larry Hastings
03776e33a9
Bump version number for 3.4.2rc1 release.
11 years ago
Nick Coghlan
8fad1676a2
Issue #22166 : clear codec caches in test_codecs
11 years ago
Victor Stinner
ae58649721
Issue #22043 : time.monotonic() is now always available
threading.Lock.acquire(), threading.RLock.acquire() and socket operations now
use a monotonic clock, instead of the system clock, when a timeout is used.
12 years ago
Victor Stinner
5791a5403b
pytime.h: remove duplicated "#ifndef Py_LIMITED_API"
12 years ago
Victor Stinner
0011124dc2
Issue #22043 : _PyTime_Init() now checks if the system clock works.
Other changes:
* The whole _PyTime API is private (not defined if Py_LIMITED_API is set)
* _PyTime_gettimeofday_info() also returns -1 on error
* Simplify PyTime_gettimeofday(): only use clock_gettime(CLOCK_REALTIME) or
gettimeofday() on UNIX. Don't fallback to ftime() or time() anymore.
12 years ago
Serhiy Storchaka
547d3bc3a6
Issue #22193 : Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
12 years ago
Antoine Pitrou
b349e4c929
Issue #22116 : C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu.
12 years ago
Victor Stinner
f6a271ae98
Issue #18395 : Rename ``_Py_char2wchar()`` to func:`Py_DecodeLocale`, rename
``_Py_wchar2char()`` to func:`Py_EncodeLocale`, and document these
functions.
12 years ago
Victor Stinner
1db9e7bb19
Issue #22054 : Add os.get_blocking() and os.set_blocking() functions to get and
set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows.
12 years ago
Martin v. Löwis
7252a6e81e
Issue #20179 : Apply Argument Clinic to bytes and bytearray.
Patch by Tal Einat.
12 years ago
Antoine Pitrou
1eee8e5207
Issue #21803 : remove macro indirections in complexobject.h
12 years ago
Victor Stinner
40ee30181f
Issue #21205 : Add a new ``__qualname__`` attribute to generator, the qualified
name, and use it in the representation of a generator (``repr(gen)``). The
default name of the generator (``__name__`` attribute) is now get from the
function instead of the code. Use ``gen.gi_code.co_name`` to get the name of
the code.
12 years ago
Victor Stinner
d8f0d922d5
Issue #21233 : Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to
make sure that the code using it will be adapted for the new "calloc" field
(instead of crashing).
12 years ago
Benjamin Peterson
c7ceefc1a2
a post 3.4.1 world
12 years ago
Benjamin Peterson
1a2cf9aba7
remove tab ( closes #21587 )
12 years ago
Larry Hastings
5c26a8afbb
Version bump for 3.4.1.
12 years ago
Larry Hastings
2110603344
Post-release version bump for 3.4.1rc1. Sorry it's late!
12 years ago
Victor Stinner
45e8e2f218
Issue #21490 : Add new C macros: Py_ABS() and Py_STRINGIFY()
Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between
pyconfig.h and pymacros.h.
12 years ago
Larry Hastings
95e0b0d1d0
Version bump for 3.4.1rc1.
12 years ago
Benjamin Peterson
39992d3043
do not expose known hash api in stable API
12 years ago
Raymond Hettinger
4b74fba62f
Issue 21101: Internal API for dict getitem and setitem where the hash value is known.
12 years ago
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
12 years ago
Benjamin Peterson
8bdeb1672c
support setting fpu precision on m68k ( closes #20904 )
Patch from Andreas Schwab.
12 years ago
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
It includes required changes in Makefile.pre.in and configure.ac
among other files.
12 years ago
Andrew Kuchling
6283691d46
#11983 : update comment to describe which fields are used and why.
Original patch by Caelyn McAulay; modified after discussion w/ her at
the PyCon 2014 sprints.
12 years ago
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
12 years ago
Benjamin Peterson
7ddf3eba90
use imperative
12 years ago
Antoine Pitrou
8c6f8dc527
Issue #19537 : Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
12 years ago