Staging
v0.5.1
https://github.com/python/cpython
Revision 3b4c6b16c597aa2356f5658dd67da7dcd4434038 authored by Miss Islington (bot) on 22 March 2018, 20:58:59 UTC, committed by GitHub on 22 March 2018, 20:58:59 UTC

If a dataclass has a member variable that's of type Field, but it doesn't have a type annotation, raise TypeError.
(cherry picked from commit 56970b8ce9d23269d20a76f13c80e670c856ba7f)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
1 parent 5d8bb5d
History
Tip revision: 3b4c6b16c597aa2356f5658dd67da7dcd4434038 authored by Miss Islington (bot) on 22 March 2018, 20:58:59 UTC
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192)
Tip revision: 3b4c6b1
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 772 bytes
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 5.7 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 60.8 KB
README.rst -rw-r--r-- 9.1 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 481.7 KB
configure.ac -rw-r--r-- 159.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.7 KB

README.rst

back to top