[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-19 Thread suresh
suresh added the comment: I am getting same file size and are regular files (True) as below. Could you assist on filecmp any changes required in passing the inputs. Since it returns false. Code: >>> os.chdir(r'C:\Users\suresh.n\Files') >>> open('

[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-15 Thread suresh
suresh added the comment: Dear Team, Any more details are required. Kindly let me know. -- ___ Python tracker <https://bugs.python.org/issue43175> ___ ___

[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-11 Thread suresh
suresh added the comment: Please find the below Code and attached the files, expecting true as output and getting as false: "import filecmp filecmp.clear_cache() boolfile=filecmp.cmp(r'C:\destination.css',r'C:\source.css',shallow=False) print(boolfile)"

[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-08 Thread suresh
New submission from suresh : Python base package filecmp is not working properly for 'UTF-8 BOM' css files. I am using python version 3.6 and windows 10 OS. while running the below code getting as False always.However the file content are same. Code : import filecmp filecmp.c

[issue38745] pygame install error using python 3.8.0

2019-11-08 Thread Suresh Murugesan
New submission from Suresh Murugesan : I tried to install pygame, using pip install pygame, on my windows 10 running python 3.8.0. But it fails with the following error messages Can you please help. I read on the internet that 3.8 is not stable yet for pygame. Is it true? ERROR: Command

[issue24428] Import sys,getopt is having issue while taking inputs

2015-06-10 Thread venkata suresh gummadillli
New submission from venkata suresh gummadillli: [@outsidetried ~]$ python validate_json_adj.py [@outsidetried ~]$ python validate_json_adj.py -h validate_json.py -i [@outsidetried ~]$ python validate_json_adj.py -i hello.txt Input JSON file provided for verification: hello.txt [@outsidetried

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-24 Thread Suresh Kalkunte
Suresh Kalkunte added the comment: Thanks for the education (hopefully a slight detour for you 8-). I included '/' to convey uniform behavior across platforms. I will take it that the difference in what os.path.split() returns on Win32 vs. Linux is not a bug in Python since its W

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-21 Thread Suresh Kalkunte
Suresh Kalkunte added the comment: lukasz.langa, confirming the difference in return values for glob.glob() on Win32/Cygwin vs. Linux as the following results show: F1() ret_val1 F2(ret_val1) ret_val2 -- \\\ Cygwin

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-21 Thread Suresh Kalkunte
Suresh Kalkunte added the comment: Yes, the easier fix is to change build.conf file to not use '\'. However, > on Linux `glob.glob('\\')` == `[]` so nothing is actually added. > OTOH on Windows `glob.glob('\\')` == `['\\']` is more defi

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-20 Thread Suresh Kalkunte
Suresh Kalkunte added the comment: If the defect was with the script, the failure to bypass the '\' notation would have to be true on Redhat Linux. Since build.conf with '\' notation gets parsed without errors on Redhat Linux, I am under the impression the parsing per

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-19 Thread Suresh Kalkunte
New submission from Suresh Kalkunte : Referring to URL for files used to build the Apache Portable Runtime Utilities library using Python 2.7.1(AMD64) or 2.6.5(Cygwin) on a Win32 system (Windows 7), when apr/build/gen-build.py (http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/gen