New submission from Марат Нагаев <sidorovmarat1...@gmail.com>:

Hey guys,
I find bug in Python.
If you'll try to file stream using open function you can edit file mode:
Watch git:
https://gist.github.com/nagayev/7d17ead7b3bc2b06f2445fb5d9122a5c
In fact,mode don't changed,so mode shoul be constant like a encoding of the 
file and raise AttributeError if you'll edit it.

----------
title: File mode shou -> File mode should be a constant

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32655>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to