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
f609cf22
Kaydet (Commit)
f609cf22
authored
Eyl 27, 2008
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a last bunch of items
üst
3c0c483a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
3 deletions
+36
-3
2.6.rst
Doc/whatsnew/2.6.rst
+36
-3
No files found.
Doc/whatsnew/2.6.rst
Dosyayı görüntüle @
f609cf22
...
@@ -1806,8 +1806,11 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1806,8 +1806,11 @@ changes, or look through the Subversion logs for all the details.
is now available as a standalone package. The web page for the package is
is now available as a standalone package. The web page for the package is
`www.jcea.es/programacion/pybsddb.htm
`www.jcea.es/programacion/pybsddb.htm
<http://www.jcea.es/programacion/pybsddb.htm>`__.
<http://www.jcea.es/programacion/pybsddb.htm>`__.
The plan is to remove the package from the standard library
in Python 3.0, because its pace of releases is much more frequent than
Python'
s
.
*
The :mod:`bsddb.dbshelve` module now uses the highest pickling protocol
The
:
mod
:`
bsddb
.
dbshelve
`
module
now
uses
the
highest
pickling
protocol
available
,
instead
of
restricting
itself
to
protocol
1.
available
,
instead
of
restricting
itself
to
protocol
1.
(
Contributed
by
W
.
Barnes
;
:
issue
:`
1551443
`.)
(
Contributed
by
W
.
Barnes
;
:
issue
:`
1551443
`.)
...
@@ -1817,6 +1820,12 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1817,6 +1820,12 @@ changes, or look through the Subversion logs for all the details.
"/cgi-bin/add.py?category=1"
.
(
Contributed
by
Alexandre
Fiori
and
"/cgi-bin/add.py?category=1"
.
(
Contributed
by
Alexandre
Fiori
and
Nubis
;
:
issue
:`
1817
`.)
Nubis
;
:
issue
:`
1817
`.)
The
:
func
:`
parse_qs
`
and
:
func
:`
parse_qsl
`
functions
have
been
relocated
from
the
:
mod
:`
cgi
`
module
to
the
:
mod
:`
urlparse
`
module
.
The
versions
still
available
in
the
:
mod
:`
cgi
`
module
will
trigger
:
exc
:`
PendingDeprecationWarning
`
messages
in
2.6
(:
issue
:`
600362
`).
*
The
:
mod
:`
cmath
`
module
underwent
extensive
revision
,
*
The
:
mod
:`
cmath
`
module
underwent
extensive
revision
,
contributed
by
Mark
Dickinson
and
Christian
Heimes
.
contributed
by
Mark
Dickinson
and
Christian
Heimes
.
Five
new
functions
were
added
:
Five
new
functions
were
added
:
...
@@ -1900,6 +1909,11 @@ changes, or look through the Subversion logs for all the details.
...
@@ -1900,6 +1909,11 @@ changes, or look through the Subversion logs for all the details.
(Contributed by Raymond Hettinger.)
(Contributed by Raymond Hettinger.)
* The :mod:`Cookie` module'
s
:
class
:`
Morsel
`
objects
now
support
an
:
attr
:`
httponly
`
attribute
.
In
some
browsers
.
cookies
with
this
attribute
set
cannot
be
accessed
or
manipulated
by
JavaScript
code
.
(
Contributed
by
Arvin
Schnell
;
:
issue
:`
1638033
`.)
*
A
new
window
method
in
the
:
mod
:`
curses
`
module
,
*
A
new
window
method
in
the
:
mod
:`
curses
`
module
,
:
meth
:`
chgat
`,
changes
the
display
attributes
for
a
certain
number
of
:
meth
:`
chgat
`,
changes
the
display
attributes
for
a
certain
number
of
characters
on
a
single
line
.
(
Contributed
by
Fabian
Kreutz
.)
::
characters
on
a
single
line
.
(
Contributed
by
Fabian
Kreutz
.)
::
...
@@ -2498,8 +2512,9 @@ changes, or look through the Subversion logs for all the details.
...
@@ -2498,8 +2512,9 @@ changes, or look through the Subversion logs for all the details.
``with tempfile.NamedTemporaryFile() as tmp: ...``.
``with tempfile.NamedTemporaryFile() as tmp: ...``.
(Contributed by Alexander Belopolsky; :issue:`2021`.)
(Contributed by Alexander Belopolsky; :issue:`2021`.)
* The :mod:`test.test_support` module now contains an
* The :mod:`test.test_support` module gained a number
:func:`EnvironmentVarGuard`
of context managers useful for writing tests.
:func:`EnvironmentVarGuard` is a
context manager that temporarily changes environment variables and
context manager that temporarily changes environment variables and
automatically restores them to their old values.
automatically restores them to their old values.
...
@@ -2514,6 +2529,16 @@ changes, or look through the Subversion logs for all the details.
...
@@ -2514,6 +2529,16 @@ changes, or look through the Subversion logs for all the details.
f = urllib.urlopen('
https
://
sf
.
net
')
f = urllib.urlopen('
https
://
sf
.
net
')
...
...
Finally, :func:`check_warnings` resets the :mod:`warning` module'
s
warning
filters
and
returns
an
object
that
will
record
all
warning
messages
triggered
(:
issue
:`
3781
`)::
with
test_support
.
check_warnings
()
as
wrec
:
warnings
.
simplefilter
(
"always"
)
...
code
that
triggers
a
warning
...
assert
str
(
wrec
.
message
)
==
"function is outdated"
assert
len
(
wrec
.
warnings
)
==
1
,
"Multiple warnings raised"
(
Contributed
by
Brett
Cannon
.)
(
Contributed
by
Brett
Cannon
.)
*
The
:
mod
:`
textwrap
`
module
can
now
preserve
existing
whitespace
*
The
:
mod
:`
textwrap
`
module
can
now
preserve
existing
whitespace
...
@@ -2600,11 +2625,19 @@ changes, or look through the Subversion logs for all the details.
...
@@ -2600,11 +2625,19 @@ changes, or look through the Subversion logs for all the details.
(
Added
by
Facundo
Batista
.)
(
Added
by
Facundo
Batista
.)
*
The
Unicode
database
provided
by
the
:
mod
:`
unicodedata
`
module
has
been
updated
to
version
5.1.0
.
(
Updated
by
Martin
von
Loewis
;
:
issue
:`
3811
`.)
*
The
:
mod
:`
warnings
`
module
's :func:`formatwarning` and :func:`showwarning`
*
The
:
mod
:`
warnings
`
module
's :func:`formatwarning` and :func:`showwarning`
gained an optional *line* argument that can be used to supply the
gained an optional *line* argument that can be used to supply the
line of source code. (Added as part of :issue:`1631171`, which re-implemented
line of source code. (Added as part of :issue:`1631171`, which re-implemented
part of the :mod:`warnings` module in C code.)
part of the :mod:`warnings` module in C code.)
A new function, :func:`catch_warnings`, is a context manager
intended for testing purposes that lets you temporarily modify the
warning filters and then restore their original values (:issue:`3781`).
* The XML-RPC :class:`SimpleXMLRPCServer` and :class:`DocXMLRPCServer`
* The XML-RPC :class:`SimpleXMLRPCServer` and :class:`DocXMLRPCServer`
classes can now be prevented from immediately opening and binding to
classes can now be prevented from immediately opening and binding to
their socket by passing True as the ``bind_and_activate``
their socket by passing True as the ``bind_and_activate``
...
...
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