#9023 defect closed duplicate (duplicate)

deprecation: 'U' mode is deprecated

Reported by: Pierre Tardy Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:


twisted.compat.execfile is using with open(filename, "rbU") as fin:

U stands for universal lines, and will raise a warning on py3.

Buildbot is trying to get rid of all the warnings, so we would like that at least U was optional.

Change History (1)

comment:1 Changed 22 months ago by Craig Rodrigues

Resolution: duplicate
Status: newclosed

Duplicate of ticket:9012

Note: See TracTickets for help on using tickets.