Message105845
Python 3.1 accepts duplicate variables (str name, bytes name). It creates the two variables is a random order:
>>> subprocess.call(['env'], env={'xx': 'str', b'xx': 'bytes'})
xx=str
xx=bytes
0
>>> subprocess.call(['env'], env={'xxx': 'str', b'xxx': 'bytes'})
xxx=bytes
xxx=str
0 |
|
| Date |
User |
Action |
Args |
| 2010-05-16 02:29:36 | vstinner | set | recipients:
+ vstinner, pitrou, Arfrever |
| 2010-05-16 02:29:36 | vstinner | set | messageid: <[email protected]> |
| 2010-05-16 02:29:34 | vstinner | link | issue8640 messages |
| 2010-05-16 02:29:34 | vstinner | create | |
|