From: <no...@so...> - 2000-12-04 21:54:06
|
Bug #124028, was updated on 2000-Dec-01 03:17 Here is a current snapshot of the bug. Project: Jython Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: zenzen Assigned to : Nobody Summary: Bad sys.stdin.read(x) in some circumstances Details: Found this when trying to use pickle. sys.stdin.read(1) sometimes reads in a lot, rather than one byte. #!/bin/env jython import sys print sys.stdin.read(1) % jython test.py < ~/tmp/fromc S'Hi Mom' p0 . However, the same script works fine if data is entered by typing rather than redirection. Follow-Ups: Date: 2000-Dec-04 13:54 By: bckfnn Comment: Fixed PyFile.java rev 2.11. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=124028&group_id=12867 |