By mistake some local files were added to the list. Here's an updated
list. It now also contains low-case references.
Attached also a script used to generate this list.
3: Documentation conventions. (Obsoleted by RFC0010)
Lib/test/math_testcases.txt
10: Documentation conventions. (Obsoleted by RFC0016)
Lib/test/math_testcases.txt
11: Implementation of the Host - Host Software Procedures in GORDO. (Obsoleted
by RFC0033)
Lib/test/math_testcases.txt
821: Simple Mail Transfer Protocol. (Obsoleted by RFC2821)
Lib/smtpd.py
Lib/smtplib.py
822: STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES. (Obsoleted by
RFC2822)
Doc/distutils/apiref.rst
Doc/library/email-examples.rst
Doc/library/email.iterators.rst
Doc/library/email.message.rst
Doc/library/email.mime.rst
Doc/library/email.parser.rst
Doc/library/email.rst
Doc/library/imaplib.rst
Doc/whatsnew/2.2.rst
Doc/whatsnew/2.4.rst
Lib/configparser.py
Lib/distutils/dist.py
Lib/distutils/tests/test_util.py
Lib/distutils/util.py
Lib/email/_header_value_parser.py
Lib/email/_parseaddr.py
Lib/email/feedparser.py
Lib/email/generator.py
Lib/email/header.py
Lib/email/message.py
Lib/email/mime/message.py
Lib/email/utils.py
Lib/imaplib.py
Lib/mimetypes.py
Lib/test/test_email/data/msg_05.txt
Lib/test/test_email/data/msg_06.txt
Lib/test/test_email/data/msg_11.txt
Lib/test/test_email/data/msg_16.txt
Lib/test/test_email/data/msg_25.txt
Lib/test/test_email/data/msg_28.txt
Lib/test/test_email/data/msg_42.txt
Lib/test/test_email/data/msg_43.txt
Lib/test/test_email/data/msg_46.txt
Lib/test/test_email/test_defect_handling.py
Lib/test/test_email/test_email.py
Lib/test/test_email/torture_test.py
Lib/test/test_http_cookiejar.py
Tools/scripts/mailerdaemon.py
850: Standard for interchange of USENET messages. (Obsoleted by RFC1036)
Lib/email/_parseaddr.py
Lib/http/cookiejar.py
Lib/test/test_http_cookiejar.py
931: Authentication server. (Obsoleted by RFC1413)
Lib/http/server.py
977: Network News Transfer Protocol. (Obsoleted by RFC3977)
Lib/nntplib.py
Lib/test/test_nntplib.py
1521: MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for
Specifying and Describing the Format of Internet Message Bodies. (Obsoleted by
RFC2045, RFC2046, RFC2047, RFC2048, RFC2049)
Lib/base64.py
Lib/quopri.py
Modules/binascii.c
1522: MIME (Multipurpose Internet Mail Extensions) Part Two: Message Header
Extensions for Non-ASCII Text. (Obsoleted by RFC2045, RFC2046, RFC2047,
RFC2048, RFC2049)
Doc/library/binascii.rst
Lib/quopri.py
1738: Uniform Resource Locators (URL). (Obsoleted by RFC4248, RFC4266)
Lib/urllib/parse.py
1750: Randomness Recommendations for Security. (Obsoleted by RFC4086)
Doc/library/ssl.rst
Modules/_ssl.c
1766: Tags for the Identification of Languages. (Obsoleted by RFC3066, RFC3282)
Lib/locale.py
1808: Relative Uniform Resource Locators. (Obsoleted by RFC3986)
Lib/test/test_urlparse.py
Lib/urllib/parse.py
1869: SMTP Service Extensions. (Obsoleted by RFC2821)
Lib/smtpd.py
Lib/smtplib.py
1894: An Extensible Message Format for Delivery Status Notifications.
(Obsoleted by RFC3464)
Lib/test/test_email/test_email.py
2060: Internet Message Access Protocol - Version 4rev1. (Obsoleted by RFC3501)
Lib/imaplib.py
2068: Hypertext Transfer Protocol -- HTTP/1.1. (Obsoleted by RFC2616)
Lib/http/cookies.py
Lib/urllib/request.py
2069: An Extension to HTTP : Digest Access Authentication. (Obsoleted by
RFC2617)
Lib/urllib/request.py
2070: Internationalization of the Hypertext Markup Language. (Obsoleted by
RFC2854)
Lib/html/entities.py
2109: HTTP State Management Mechanism. (Obsoleted by RFC2965)
Doc/library/http.cookiejar.rst
Lib/http/cookiejar.py
Lib/http/cookies.py
Lib/test/test_http_cookiejar.py
2133: Basic Socket Interface Extensions for IPv6. (Obsoleted by RFC2553)
Modules/getaddrinfo.c
Modules/getnameinfo.c
2279: UTF-8, a transformation format of ISO 10646. (Obsoleted by RFC3629)
Lib/test/test_unicode.py
2292: Advanced Sockets API for IPv6. (Obsoleted by RFC3542)
Modules/socketmodule.c
2368: The mailto URL scheme. (Obsoleted by RFC6068)
Lib/test/test_urlparse.py
Lib/urllib/parse.py
2373: IP Version 6 Addressing Architecture. (Obsoleted by RFC3513)
Lib/ipaddress.py
2396: Uniform Resource Identifiers (URI): Generic Syntax. (Obsoleted by RFC3986)
Lib/http/cookiejar.py
Lib/test/test_urllib.py
Lib/test/test_urlparse.py
Lib/urllib/parse.py
2440: OpenPGP Message Format. (Obsoleted by RFC4880)
Lib/test/test_email/data/msg_45.txt
2487: SMTP Service Extension for Secure SMTP over TLS. (Obsoleted by RFC3207)
Lib/smtplib.py
2518: HTTP Extensions for Distributed Authoring -- WEBDAV. (Obsoleted by
RFC4918)
Doc/library/http.client.rst
2553: Basic Socket Interface Extensions for IPv6. (Obsoleted by RFC3493)
Modules/addrinfo.h
Modules/socketmodule.c
2554: SMTP Service Extension for Authentication. (Obsoleted by RFC4954)
Lib/smtplib.py
2718: Guidelines for new URL Schemes. (Obsoleted by RFC4395)
Lib/http/cookiejar.py
2732: Format for Literal IPv6 Addresses in URL's. (Obsoleted by RFC3986)
Lib/test/test_urlparse.py
Lib/urllib/parse.py
2821: Simple Mail Transfer Protocol. (Obsoleted by RFC5321)
Lib/smtplib.py
2822: Internet Message Format. (Obsoleted by RFC5322)
Doc/tutorial/stdlib.rst
Doc/whatsnew/2.2.rst
Lib/email/_header_value_parser.py
Lib/email/_parseaddr.py
Lib/email/feedparser.py
Lib/email/generator.py
Lib/email/header.py
Lib/email/message.py
Lib/email/mime/message.py
Lib/email/parser.py
Lib/email/utils.py
Lib/http/client.py
Lib/smtplib.py
Lib/test/test_email/data/msg_35.txt
Lib/test/test_email/test_email.py
2965: HTTP State Management Mechanism. (Obsoleted by RFC6265)
Doc/library/http.cookiejar.rst
Doc/library/urllib.request.rst
Lib/http/cookiejar.py
Lib/test/test_http_cookiejar.py
Lib/urllib/request.py
3171: IANA Guidelines for IPv4 Multicast Address Assignments. (Obsoleted by
RFC5771)
Lib/ipaddress.py
3280: Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile. (Obsoleted by RFC5280)
Doc/library/ssl.rst
3330: Special-Use IPv4 Addresses. (Obsoleted by RFC5735)
Lib/ipaddress.py
3490: Internationalizing Domain Names in Applications (IDNA). (Obsoleted by
RFC5890, RFC5891)
Doc/library/codecs.rst
3513: Internet Protocol Version 6 (IPv6) Addressing Architecture. (Obsoleted by
RFC4291)
Lib/ipaddress.py
3548: The Base16, Base32, and Base64 Data Encodings. (Obsoleted by RFC4648)
Doc/library/base64.rst
Doc/whatsnew/2.4.rst
Lib/base64.py
4366: Transport Layer Security (TLS) Extensions. (Obsoleted by RFC5246, RFC6066)
Doc/library/ssl.rst
5735: Special Use IPv4 Addresses. (Obsoleted by RFC6890)
Lib/ipaddress.py
#!/usr/bin/env python
# Use:
# find * \( -name '*.rst' -o -name '*.txt' -o -name '*.py' -o -name '*.[ch]' \) | egrep -v 'Doc/build/|Doc/tools/|rfc-index.txt' | python rfc_obsoleted.py
import collections, re, sys
# A local copy of http://www.ietf.org/download/rfc-index.txt.
RFC_INDEX = 'rfc-index.txt'
with open(RFC_INDEX) as f:
index = f.read()
rfcs = {}
for m in re.finditer(r'^(\d+) ((?:.|\n)+?)\n\n', index, re.MULTILINE):
n = int(m.group(1))
s = ' '.join(m.group(2).split())
rfcs[n] = s
d = collections.defaultdict(set)
for fn in sys.stdin:
fn = fn.rstrip()
with open(fn) as f:
for m in re.finditer(r'(?:RFC|rfc)\s*(\d+)', f.read()):
n = int(m.group(1))
d[n].add(fn)
for n in sorted(d):
s = rfcs.get(n, '')
if 'Obsoleted' not in s: continue
m = re.match(r'^(.*?\.) .*(\(Obsoleted by.*?\))', s)
print('%s: %s %s' % (n, m.group(1), m.group(2)))
for fn in sorted(d[n]):
print(' %s' % fn)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com