Author: brett.cannon
Date: Mon Oct 8 21:48:15 2007
New Revision: 58378
Modified:
python/branches/py3k/Lib/ftplib.py
Log:
Change the default encoding for ftplib.FTP to latin1 so that bytes can be in
the range of 255 instead of only 128.
Modified: python/branches/py3k/Lib/ftplib.py
==============================================================================
--- python/branches/py3k/Lib/ftplib.py (original)
+++ python/branches/py3k/Lib/ftplib.py Mon Oct 8 21:48:15 2007
@@ -103,7 +103,7 @@
file = None
welcome = None
passiveserver = 1
- encoding = "ASCII"
+ encoding = "latin1"
# Initialization method (called by class instantiation).
# Initialize host to localhost, port to standard ftp port
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins