Opened 3 years ago

Closed 2 years ago

#8458 enhancement closed duplicate (duplicate)

Remove use of types module constants in twisted/test

Reported by: Craig Rodrigues Owned by:
Priority: normal Milestone: Python-3.x
Component: core Keywords:
Cc: Branch:


The *types* module constants have been removed in Python 3. For example using *types.TupleType* in Python 3 will give an *AttributeError*

These constants should be removed and replaced with the primitive type instead. See:

Change History (4)

comment:2 Changed 3 years ago by Craig Rodrigues

Keywords: review added

comment:3 Changed 2 years ago by Wilfredo Sánchez Vega

Hrm, don't like that you can't reference NoneType directly, but I guess that's Python's fault.

comment:4 Changed 2 years ago by Craig Rodrigues

Keywords: review removed
Resolution: duplicate
Status: newclosed

Shifting to 8456

Note: See TracTickets for help on using tickets.