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
ff3dbe91
Kaydet (Commit)
ff3dbe91
authored
Ara 06, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge documentation for issue #27030 from 3.6.
üst
2d0eb65f
53c53ea4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
re.rst
Doc/library/re.rst
+6
-1
3.6.rst
Doc/whatsnew/3.6.rst
+3
-2
3.7.rst
Doc/whatsnew/3.7.rst
+5
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/re.rst
Dosyayı görüntüle @
ff3dbe91
...
...
@@ -758,7 +758,12 @@ form.
Unmatched groups are replaced with an empty string.
.. versionchanged:: 3.6
Unknown escapes consisting of ``'\'`` and an ASCII letter now are errors.
Unknown escapes in *pattern* consisting of ``'\'`` and an ASCII letter
now are errors.
.. versionchanged:: 3.7
Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter
now are errors.
.. function:: subn(pattern, repl, string, count=0, flags=0)
...
...
Doc/whatsnew/3.6.rst
Dosyayı görüntüle @
ff3dbe91
...
...
@@ -2021,8 +2021,9 @@ API and Feature Removals
------------------------
* Unknown escapes consisting of ``'\'`` and an ASCII letter in
regular expressions will now cause an error. The :const:`re.LOCALE`
flag can now only be used with binary patterns.
regular expressions will now cause an error. In replacement templates for
:func:`re.sub` they are still allowed, but deprecated.
The :const:`re.LOCALE` flag can now only be used with binary patterns.
* ``inspect.getmoduleinfo()`` was removed (was deprecated since CPython 3.3).
:func:`inspect.getmodulename` should be used for obtaining the module
...
...
Doc/whatsnew/3.7.rst
Dosyayı görüntüle @
ff3dbe91
...
...
@@ -116,6 +116,11 @@ Deprecated
Removed
=======
API and Feature Removals
------------------------
* Unknown escapes consisting of ``'\'`` and an ASCII letter in replacement
templates for :func:`re.sub` will now cause an error.
Porting to Python 3.7
...
...
Misc/NEWS
Dosyayı görüntüle @
ff3dbe91
...
...
@@ -165,6 +165,9 @@ Core and Builtins
Library
-------
-
Issue
#
27030
:
Unknown
escapes
consisting
of
``
'\'
``
and
an
ASCII
letter
in
re
.
sub
()
replacement
templates
regular
expressions
now
are
errors
.
-
Issue
#
28835
:
Fix
a
regression
introduced
in
warnings
.
catch_warnings
():
call
warnings
.
showwarning
()
if
it
was
overriden
inside
the
context
manager
.
...
...
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