[Python-checkins] python/dist/src/Lib pickle.py,1.108,1.109
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Tue, 28 Jan 2003 08:23:36 -0800
- Previous message: [Python-checkins] python/dist/src/Lib/bsddb/test test_all.py,1.1,1.1.4.1 test_associate.py,1.3,1.3.4.1 test_basics.py,1.5,1.5.2.1 test_compat.py,1.3,1.3.4.1 test_dbobj.py,1.3,1.3.4.1 test_dbshelve.py,1.4,1.4.4.1 test_dbtables.py,1.4,1.4.4.1 test_env_close.py,1.4,1.4.4.1 test_get_none.py,1.3,1.3.4.1 test_lock.py,1.2,1.2.4.1 test_misc.py,1.2,1.2.4.1 test_queue.py,1.2,1.2.4.1 test_recno.py,1.5,1.5.2.1 test_thread.py,1.4,1.4.2.1
- Next message: [Python-checkins] python/dist/src/Lib pickle.py,1.109,1.110
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv18771/Lib
Modified Files:
pickle.py
Log Message:
Got rid of the _quotes global. Used only once, and is trivial.
Index: pickle.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickle.py,v
retrieving revision 1.108
retrieving revision 1.109
diff -C2 -d -r1.108 -r1.109
*** pickle.py 28 Jan 2003 15:19:53 -0000 1.108
--- pickle.py 28 Jan 2003 16:23:33 -0000 1.109
***************
*** 157,162 ****
del x
- _quotes = ["'", '"']
-
# Pickling machinery
--- 157,160 ----
***************
*** 827,831 ****
def load_string(self):
rep = self.readline()[:-1]
! for q in _quotes:
if rep.startswith(q):
if not rep.endswith(q):
--- 825,829 ----
def load_string(self):
rep = self.readline()[:-1]
! for q in "\"'": # double or single quote
if rep.startswith(q):
if not rep.endswith(q):
- Previous message: [Python-checkins] python/dist/src/Lib/bsddb/test test_all.py,1.1,1.1.4.1 test_associate.py,1.3,1.3.4.1 test_basics.py,1.5,1.5.2.1 test_compat.py,1.3,1.3.4.1 test_dbobj.py,1.3,1.3.4.1 test_dbshelve.py,1.4,1.4.4.1 test_dbtables.py,1.4,1.4.4.1 test_env_close.py,1.4,1.4.4.1 test_get_none.py,1.3,1.3.4.1 test_lock.py,1.2,1.2.4.1 test_misc.py,1.2,1.2.4.1 test_queue.py,1.2,1.2.4.1 test_recno.py,1.5,1.5.2.1 test_thread.py,1.4,1.4.2.1
- Next message: [Python-checkins] python/dist/src/Lib pickle.py,1.109,1.110
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]