[issue30906] os.path.join misjoins paths

2017-07-12 Thread mesheb82
mesheb82 added the comment: Testing on Python 2.7.12 on through Windows 10 bash (so Linux), I find an inconsistency with the documented statement "If a component is an absolute path, all previous components are thrown away and joining continues from the absolute path comp

[issue30906] os.path.join misjoins paths

2017-07-11 Thread mesheb82
New submission from mesheb82: I'm trying to join paths on Windows with data taken from a user generated file. In doing so, I came across: >>> os.path.join('dir1', '/dir2') '/dir2' I'd expect an error or: 'dir1\\dir2' Th

[issue29628] struct objects can no longer be pickled

2017-02-22 Thread mesheb82
mesheb82 added the comment: Thank you. On Wed, Feb 22, 2017 at 9:22 PM, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > > When I run the following code on Windows/Linux for < Python 3.6, I have > no problems. > > You have a problem. Did you try t

[issue29628] struct objects can no longer be pickled

2017-02-22 Thread mesheb82
New submission from mesheb82: When I run the following code on Windows/Linux for < Python 3.6, I have no problems. When I run in Python 3.6.0, I get the subsequent traceback. I checked the release notes and only saw the following struct module note related to half-floats: Issue #11734 f

[issue15774] String method title() produces incorrect resutls

2012-08-23 Thread mesheb82
New submission from mesheb82: I got unexpected results when working with a string that has an apostrophe in it. "Joe's".title() >> "Joe'S" 'Joe"s'.title() >> 'Joe"S' -- components: Interpreter Core messages: 16

[issue14897] struct.pack raises unexpected error message

2012-05-23 Thread mesheb82
mesheb82 added the comment: Also, I tested this on Windows in Python 3.2.3 and Windows in Python 2.7.2 -- ___ Python tracker <http://bugs.python.org/issue14

[issue14897] struct.pack raises unexpected error message

2012-05-23 Thread mesheb82
New submission from mesheb82 : I found some unexpected behavior while working with the struct module. >>> import struct This works as expected: >>> struct.pack('1s1s','3','4') '34' In this case, with bad input, the error me

[issue14677] Python 2.6 Printing Error

2012-04-26 Thread mesheb82
New submission from mesheb82 : I’m running: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 I was testing out some print functionality and I made an error in typing (I meant to use %8.8f), but is this behavior intentional or is it an error? >>