Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6caad7d2
Kaydet (Commit)
6caad7d2
authored
Ock 26, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move C API entries to the corresponding section.
üst
0cdf9a36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
38 deletions
+41
-38
NEWS
Misc/NEWS
+41
-38
No files found.
Misc/NEWS
Dosyayı görüntüle @
6caad7d2
...
...
@@ -16,10 +16,6 @@ Core and builtins
same object as the func_code attribute of the function that produced the
generator.
Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and
_FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t
public functions.
- Issue #1920: "while 0" statements were completely removed by the compiler,
even in the presence of an "else" clause, which is supposed to be run when
the condition is false. Now the compiler correctly emits bytecode for the
...
...
@@ -37,14 +33,12 @@ Core and builtins
several extension methods and modules do not work without unicode
support.
- Patch #1720595: add T_BOOL to the range of structmember types.
- Issue #1882: when compiling code from a string, encoding cookies in the
second line of code were not always recognized correctly.
- Issue #1679: "
0x
" was taken as a valid integer literal.
- Issue #1865:
Bytes as an alias for str
and b"" as an alias "" were
- Issue #1865:
``bytes`` as an alias for ``str``
and b"" as an alias "" were
added.
- sys.float_info / PyFloat_GetInfo: The floating point information
...
...
@@ -53,7 +47,7 @@ Core and builtins
- Patch #1816: Added sys.flags structseq. It exposes the status of most
command line arguments and PYTHON* environment variables.
- Object/structseq.c: Implemented new structseq representation. The patch
- Object
s
/structseq.c: Implemented new structseq representation. The patch
makes structseqs (e.g. the return value of os.stat) more readable.
- Patch #1700288: added a type attribute cache that caches method accesses,
...
...
@@ -104,14 +98,6 @@ Core and builtins
inside packages with the -m switch via a new module level
__package__ attribute.
- Issue #1534: Added ``PyFloat_GetMax()``, ``PyFloat_GetMin()`` and
``PyFloat_GetInfo()`` to the float API.
- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#
format code incorrectly truncated the length to an int, even when
PY_SSIZE_T_CLEAN is set. The str.decode method used to return incorrect
results with huge strings.
- Issue #1402: Fix a crash on exit, when another thread is still running, and
if the deallocation of its frames somehow calls the PyGILState_Ensure() /
PyGILState_Release() functions.
...
...
@@ -168,19 +154,9 @@ Core and builtins
- Patch #1031213: Decode source line in SyntaxErrors back to its original source
encoding.
- Py_ssize_t fields work in structmember when HAVE_LONG_LONG is not defined.
- PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
- Patch #1673759: add a missing overflow check when formatting floats
with %G.
- Patch #1733960: Allow T_LONGLONG to accept ints.
- T_PYSSIZET can now be used in PyMemberDef lists for Py_ssize_t members.
- Prevent expandtabs() on string and unicode objects from causing a segfault
when a large width is passed on 32-bit platforms.
...
...
@@ -296,8 +272,6 @@ Core and builtins
- patch #1630975: Fix crash when replacing sys.stdout in sitecustomize.py
- Bug #1637022: Prefix AST symbols with _Py_.
- Prevent seg fault on shutdown which could occur if an object
raised a warning.
...
...
@@ -337,9 +311,6 @@ Core and builtins
- list.pop(x) accepts any object x following the __index__ protocol.
- Fix some leftovers from the conversion from int to Py_ssize_t
(relevant to strings and sequences of more than 2**31 items).
- A number of places, including integer negation and absolute value,
were fixed to not rely on undefined behaviour of the C compiler
anymore.
...
...
@@ -364,9 +335,6 @@ Core and builtins
- Bug #1551432: Exceptions do not define an explicit __unicode__ method. This
allows calling unicode() on exceptions classes directly to succeed.
- Make _PyGILState_NoteThreadState() static, it was not used anywhere
outside of pystate.c and should not be necessary.
- Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
Also make sure that every exception class has __module__ set to
'exceptions'.
...
...
@@ -389,7 +357,7 @@ Core and builtins
required changing the .pyc magic number. This means that .pyc files
generated before 2.5c2 will be regenerated.
-
with and as
are now keywords.
-
``with`` and ``as``
are now keywords.
- Bug #1664966: Fix crash in exec if Unicode filename can't be decoded.
...
...
@@ -400,6 +368,7 @@ Core and builtins
threading.enumerate() list after the join() for a brief period until
it actually exited.
Library
-------
...
...
@@ -1342,6 +1311,7 @@ Tools
platform.python_implementation(); this will now be saved
in the benchmark pickle
Documentation
-------------
...
...
@@ -1473,18 +1443,51 @@ Build
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
to include some information about the build environment.
C API
-----
- Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and
_FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t
public functions.
- Patch #1720595: add T_BOOL to the range of structmember types.
- Issue #1534: Added ``PyFloat_GetMax()``, ``PyFloat_GetMin()`` and
``PyFloat_GetInfo()`` to the float API.
- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#
format code incorrectly truncated the length to an int, even when
PY_SSIZE_T_CLEAN is set. The str.decode method used to return incorrect
results with huge strings.
- Issue #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE
and Py_REFCNT.
- PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
- Py_ssize_t fields work in structmember when HAVE_LONG_LONG is not defined.
- Patch #1733960: Allow T_LONGLONG to accept ints.
- T_PYSSIZET can now be used in PyMemberDef lists for Py_ssize_t members.
- Added a new API function ``PyImport_ImportModuleNoBlock``.
- Bug #1637022: Prefix AST symbols with _Py_.
- Fix some leftovers from the conversion from int to Py_ssize_t
(relevant to strings and sequences of more than 2**31 items).
- Make _PyGILState_NoteThreadState() static, it was not used anywhere
outside of pystate.c and should not be necessary.
- ``PyImport_Import`` and ``PyImport_ImportModule`` now always do absolute
imports. In earlier versions they might have used relative imports under
some conditions.
- Issue #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE
and Py_REFCNT.
- Added case insensitive comparison methods ``PyOS_stricmp(char*, char*)``
and ``PyOS_strnicmp(char*, char*, Py_ssize_t)``.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment