Re: bug in large file writes, 2.x and 3.x

2011-06-17 Thread Ethan Furman
MRAB wrote: On 17/06/2011 20:15, Ethan Furman wrote: Ethan Furman wrote: Windows platform (XP Pro, SP2). This works fine on local drives, but on network (both 2003 Server, and Samba running on FreeBSD) the following produces an error: --> data = '?' * 119757831 # use b'?' if on 3.x --> test =

Re: bug in large file writes, 2.x and 3.x

2011-06-17 Thread MRAB
On 17/06/2011 20:15, Ethan Furman wrote: Ethan Furman wrote: Windows platform (XP Pro, SP2). This works fine on local drives, but on network (both 2003 Server, and Samba running on FreeBSD) the following produces an error: --> data = '?' * 119757831 # use b'?' if on 3.x --> test = open(r's:\ju

Re: bug in large file writes, 2.x and 3.x

2011-06-17 Thread Terry Reedy
On 6/17/2011 3:03 PM, Ethan Furman wrote: Windows platform (XP Pro, SP2). This works fine on local drives, but on network (both 2003 Server, and Samba running on FreeBSD) the following produces an error: --> data = '?' * 119757831 # use b'?' if on 3.x --> test = open(r's:\junk.tst', 'wb') --> t

Re: bug in large file writes, 2.x and 3.x

2011-06-17 Thread Ethan Furman
Ethan Furman wrote: Windows platform (XP Pro, SP2). This works fine on local drives, but on network (both 2003 Server, and Samba running on FreeBSD) the following produces an error: --> data = '?' * 119757831 # use b'?' if on 3.x --> test = open(r's:\junk.tst', 'wb') --> test.write(data) Tra

bug in large file writes, 2.x and 3.x

2011-06-17 Thread Ethan Furman
Windows platform (XP Pro, SP2). This works fine on local drives, but on network (both 2003 Server, and Samba running on FreeBSD) the following produces an error: --> data = '?' * 119757831 # use b'?' if on 3.x --> test = open(r's:\junk.tst', 'wb') --> test.write(data) Traceback (most recent c