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
c38f8914
Kaydet (Commit)
c38f8914
authored
Mar 10, 2014
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
whatsnew: 'U' mode deprecation (#15204).
üst
98a6738d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
3.4.rst
Doc/whatsnew/3.4.rst
+13
-1
No files found.
Doc/whatsnew/3.4.rst
Dosyayı görüntüle @
c38f8914
...
...
@@ -1948,6 +1948,11 @@ Deprecations in the Python API
* The :mod:`sysconfig` key ``SO`` is deprecated, it has been replaced by
``EXT_SUFFIX``.
* The ``U`` mode accepted by various ``open`` functions is deprecated.
In Python3 it does not do anything useful, and should be replaced by
appropriate uses of :class:`io.TextIOWrapper` (if needed) and its *newline*
argument.
Deprecations in the C API
-------------------------
...
...
@@ -2242,7 +2247,14 @@ Changes in the Python API
* Since the *digestmod* argument to the :func:`hmac.new` function will in the
future have no default, all calls to :func:`hmac.new` should be changed to
explicitly specify a *digestmod*. (:issue:`17276`).
explicitly specify a *digestmod* (:issue:`17276`).
* Any calls to ``open`` functions that specify ``U`` should be modified.
``U`` is ineffective in Python3 and will eventually raise an error if used.
Depending on the function, the equivalent of its old Python2 behavior can be
achieved using either a *newline* argument, or if necessary by wrapping the
stream in :mod:`~io.TextIOWrapper` to use its *newline* argument
(:issue:`15204`).
Changes in the C API
...
...
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