A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-June/148360.html below:

[Python-Dev] Issue #21071: change struct.Struct.format type from bytes to str

[Python-Dev] Issue #21071: change struct.Struct.format type from bytes to str [Python-Dev] Issue #21071: change struct.Struct.format type from bytes to strSerhiy Storchaka storchaka at gmail.com
Fri Jun 16 00:19:23 EDT 2017
27.03.17 15:12, Victor Stinner пише:
> I would like to change struct.Struct.format type from bytes to str. I
> don't expect that anyone uses this attribute, and struct.Struct()
> constructor accepts both bytes and str.
> 
> http://bugs.python.org/issue21071
> 
> It's just to be convenient: more functions accept str than bytes in
> Python 3. Example: print() (python3 -bb raises an exceptions if you
> pass bytes to print).
> 
> Is anything opposed to breaking the backward compatibility?

If nobody opposed to this change it will be made in short time.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4