[issue4194] Miserable subprocess.Popen performance
Changes by Sameer <[EMAIL PROTECTED]>: -- nosy: +sameerd ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4194> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4194] Miserable subprocess.Popen performance
Sameer <[EMAIL PROTECTED]> added the comment: The subprocess module does different things depending on whether the systems are Windows or Posix. This could explain the bad performance on Solaris and the Mac and the good performance on Windows. If this is correct, then we should see poor performance on Linux also. Also, I don't have a box to test that out. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4194> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37425] Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code
New submission from Sameer Bobade : I am writing a test code with Python and tested that it works on both Python 3.7 and 3.7.3 The code uses tkinter, and does not use PyQT5 I use pyinstaller 3.4 I convert the python to exe. With the same code and and same dependencies (including version number) - while converting code to exe using pyinstaller 3.4, with Python 3.7.3 - Pyinstaller asks for additional imports related to PyQt5 (and maybe more). This causes executable to expand in size with unwanted dependencies bundled in output. Doing same thing with Python 3.7 removes the issue. Not sure if this is Anaconda specific or general Python issue. Both tests were done in virtual environment with Anaconda Python 3.7.3 as base. Attached logs from pyinstaller for both versions. Also reported to Anaconda - https://github.com/Anaconda-Platform/anaconda-project/issues/207 -- components: Windows files: pyinstallerlog.zip messages: 346715 nosy: Sameer Bobade, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48440/pyinstallerlog.zip ___ Python tracker <https://bugs.python.org/issue37425> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37425] Using Pyinstaller with (Anaconda) Python 3.7.3 needs PyQt5 even if not imported in code
Sameer Bobade added the comment: PyQt5 was installed when trying to make exe with Python 3.7.3 because without it pyinstaller will fail to produce output. Added log without PyQt5 & Python 3.7.3 which fails to produce output. Maybe this is issue of Matplotlib then? Not sure if versions are changed between the distribution. -- status: closed -> open Added file: https://bugs.python.org/file48442/withpy3.7.3 -without PyQt5.txt ___ Python tracker <https://bugs.python.org/issue37425> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35407] Datetime function with selenium
New submission from Sameer Joshi : I have defined 2 variables , 1 for Friday and other for rest of weekdays. However when I match these two with the website date(which is 'today - 3' for Monday and 'today -1' )it shows the error as variable not defined. Below is code for the same. import datetime d = datetime.date.today() if d.weekday() == 0: tdelta = datetime.timedelta(days=3) friday = d - tdelta print(friday) elif d.weekday() in range(1,5): tdelta1 = datetime.timedelta(days=1) prev_day = d - tdelta1 print(prev_day) data_date = new.date() # data_date is the date fetched from website if data_date == friday: print("Data as on", friday, "for Race Horses") elif data_date == prev_day: print("Data as on", prev_day, "for Race Horses") else: print("Data update required.") -- messages: 331038 nosy: jsameer23 priority: normal severity: normal status: open title: Datetime function with selenium versions: Python 3.6 ___ Python tracker <https://bugs.python.org/issue35407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35407] Datetime function with selenium
Sameer Joshi added the comment: I have defined 2 variables , 1 for Friday and other for rest of weekdays. However when I match these two with the website date(which is 'today - 3' for Monday and 'today -1' )it shows the error as variable not defined. Below is code for the same. import datetime d = datetime.date.today() if d.weekday() == 0: tdelta = datetime.timedelta(days=3) friday = d - tdelta print(friday) elif d.weekday() in range(1,5): tdelta1 = datetime.timedelta(days=1) prev_day = d - tdelta1 print(prev_day) data_date = new.date() # data_date is the date fetched from website if data_date == friday: print("Data as on", friday, "for page") elif data_date == prev_day: print("Data as on", prev_day, "for page") else: print("Data update required.") -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue35407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30454] Python module cx_Oracle ld installation issue on Solaris11U3 SPARC: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error
New submission from sameer natekar: Trying to install cx_Oracle on Solaris11U3 but getting ld: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error # python setup.py build running build running build_ext building 'cx_Oracle' extension cc -DNDEBUG -KPIC -DPIC -I/oracle/database/rdbms/demo -I/oracle/database/rdbms/public -I/usr/include/python2.7 -c cx_Oracle.c -o build/temp.solaris-2.11-sun4v.32bit-2.7-11g/cx_Oracle.o -DBUILD_VERSION=5.2.1 "SessionPool.c", line 202: warning: integer overflow detected: op "<<" cc -G build/temp.solaris-2.11-sun4v.32bit-2.7-11g/cx_Oracle.o -L/oracle/database/lib -L/usr/lib -lclntsh -lpython2.7 -o build/lib.solaris-2.11-sun4v.32bit-2.7-11g/cx_Oracle.so ld: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error: command 'cc' failed with exit status 2 Tried all available information on the internet: Installed gcc Installed solarisstudio12.4 Installed instantclient-basic-solaris.sparc64-12.2.0.1.0, instantclient-odbc-solaris.sparc64-12.2.0.1.0 Set LD_LIBRARY_PATH to oracle home directory:instantclient_12_2/ Same issue seen while installing DBD:Oracle perl module. -- components: Installation messages: 294344 nosy: sameernatekar priority: normal severity: normal status: open title: Python module cx_Oracle ld installation issue on Solaris11U3 SPARC: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error type: compile error versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue30454> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24563] Encoding declaration: doc supported encodings
Sameer Kulkarni added the comment: I have added link to Standard Encodings : https://docs.python.org/3/library/codecs.html#standard-encodings and Python Specific Encodings : https://docs.python.org/3/library/codecs.html#python-specific-encodings -- keywords: +patch nosy: +ksameersrk Added file: http://bugs.python.org/file39884/encoding_links.patch ___ Python tracker <http://bugs.python.org/issue24563> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com