[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS
New submission from Jaroslav: Setup = profile data from machine - - Win 7 (64bit) - Python 3.5.2 (32bit) data analyzed on - Lubuntu 16.04 (64bit) incl. Python 3 issue - method strip_dirs() cannot extract the base name since it assumes the Unix-style file paths. not tested for opposite direction. no exception emitted. comment --- 1. optional argument controlling the used 'path' module can definitely help 2. documentation update will be welcome -- components: Windows messages: 273964 nosy: Jaroslav, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: pstats.Stats: strip_dirs() method cannot handle file paths from different OS type: behavior versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue27902> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27902] pstats.Stats: strip_dirs() method cannot handle file paths from different OS
Jaroslav added the comment: The paragraph is ok. I'll open. Thanks a lot. -- ___ Python tracker <http://bugs.python.org/issue27902> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27943] pstats.Stats: missing the source OS setting argument in strip_dirs() method
New submission from Jaroslav: Forked from Issue 27902. The method cannot process the paths from different OS correctly. The optional argument will help, default = host OS settings as it is now. -- components: Windows messages: 274273 nosy: Jaroslav, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: pstats.Stats: missing the source OS setting argument in strip_dirs() method type: enhancement versions: Python 2.7, Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issue27943> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__
Jaroslav Pachola added the comment: While zseil's patch for Python 2.5 works for me (on the current 2.5.1 download), svn version of Python 2.6 rejects the 2.6 patch. Attaching fixed 2.6 patch (2 rejects, 1 fuzz fixed, patch works without complains for me). I would be very glad if someone could review the patches and maybe commit them. -- nosy: +jarpa Added file: http://bugs.python.org/file9198/exception_pickling_26.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1692335> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1693149] patch to make 'trace.py --ignore-module' accept module name list.
Jaroslav Pachola added the comment: The patch works fine for me. -- nosy: +jarpa severity: -> normal _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1693149> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1509] Documentation lacking for the sqlite3 module.
Jaroslav Pachola added the comment: Attaching a patch that adds fetchXXX() description to the documentation for Python 2.6. -- nosy: +jarpa versions: +Python 2.6 Added file: http://bugs.python.org/file9232/sqlite3_docs_26.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1509] Documentation lacking for the sqlite3 module.
Jaroslav Pachola added the comment: Attaching a patch that fixes the docstrings for Python 2.6. Added file: http://bugs.python.org/file9233/sqlite3_docstrings_26.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1509] Documentation lacking for the sqlite3 module.
Jaroslav Pachola added the comment: Attaching a patch that fixes the docstrings for Python 2.5. Added file: http://bugs.python.org/file9234/sqlite3_docstrings_25.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1509] Documentation lacking for the sqlite3 module.
Jaroslav Pachola added the comment: Attaching a patch that adds fetchXXX() description to the documentation for Python 2.5. Added file: http://bugs.python.org/file9235/sqlite3_docs_25.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1509] Documentation lacking for the sqlite3 module.
Jaroslav Pachola added the comment: BTW, the first 2 patches (for Python 2.6) work also on version 3.0a2 for me. -- versions: +Python 3.0 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__
Jaroslav Pachola added the comment: To me it seems more like a bug fix - in Python 2.4 and older the pickling works well and the current 2.5 behavior really breaks existing code. That's why I plead for inclusion in 2.5.2; because this issue prevents our company to move to 2.5. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1692335> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1633941] for line in sys.stdin: doesn't notice EOF the first time
Changes by Jaroslav Henner : -- nosy: +jary ___ Python tracker <http://bugs.python.org/issue1633941> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17748] Condition.wait timeout can't be set to more than 50 ms
Jaroslav Škarvada added the comment: The current behaviour is not good for power consumption especially with the current tickless kernels - the python processes using "threading" shows in the top of the "powertop" list (on machine tuned for low power consumption) causing 20 wakeups per second. Also I can confirm the python3 behaves correctly (shows in the bottom of the "powertop" list). -- nosy: +yarda ___ Python tracker <http://bugs.python.org/issue17748> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED
New submission from Jaroslav Urban: #wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz #xz -d Python-3.5.1.tar.xz #tar xvf Python-3.5.1.tar #cd Python-3.5.1 #./configure --prefix=/usr #make #make altinstall --- so far so good but afterwards $python3.5 >>>import base64 results in Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.5/base64.py", line 10, in import struct File "/usr/lib/python3.5/struct.py", line 13, in from _struct import * ImportError: No module named '_struct' -- >>>import sys >>>sys.path ['', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-linux', '/usr/lib/lib-dynload', '/usr/lib/python3.5/site-packages'] -- this path is wrong '/usr/lib/lib-dynload' correctly it should point to the '/usr/lib64/python3.5/lib-dynload' as per the destination folders generated and used via configure / make / make altinstall thank you yaro-yaro -- components: Installation files: _sysconfigdata.py messages: 265069 nosy: yaro-yaro priority: normal severity: normal status: open title: python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file42767/_sysconfigdata.py ___ Python tracker <http://bugs.python.org/issue26971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26971] python v3.5.1: sys.paths not respecting DESTDIRS and DESTSHARED
Jaroslav Urban added the comment: just a remark, my system is $uname -r 4.4.5-200.fc22.x86_64 and these python-related rpm archives are installed: $rpm -qa | grep python python-IPy-0.81-12.fc22.noarch python-urllib3-1.13.1-3.fc22.noarch libselinux-python-2.3-10.fc22.x86_64 python-kitchen-1.2.1-2.fc22.noarch python-backports-1.0-5.fc22.x86_64 python3-gobject-3.16.2-1.fc22.x86_64 python3-slip-dbus-0.6.4-1.fc22.noarch python-meh-0.40-1.fc22.noarch python3-dbus-1.2.0-7.fc22.x86_64 python3-PyXB-1.2.4-2.fc22.noarch python-augeas-0.5.0-2.fc22.noarch python-libcomps-0.1.6-14.fc22.x86_64 python-libs-2.7.10-8.fc22.x86_64 python-pwquality-1.2.4-3.fc22.x86_64 libsemanage-python-2.3-6.fc22.x86_64 python-di-0.3-4.fc21.noarch python3-requests-2.9.1-1.fc22.noarch libxml2-python-2.9.3-1.fc22.x86_64 audit-libs-python-2.4.5-1.fc22.x86_64 python-dnf-langpacks-0.15.1-1.fc22.noarch python-talloc-2.1.5-2.fc22.x86_64 python-pexpect-3.1-3.fc21.noarch python-pip-6.0.8-1.fc22.noarch python3-libs-3.4.2-6.fc22.x86_64 python3-cups-1.9.72-1.fc22.x86_64 python3-pycurl-7.19.5.1-3.fc22.x86_64 python-dnf-1.1.6-2.fc22.noarch python3-humanize-0.5.1-1.fc22.noarch python3-pip-6.0.8-1.fc22.noarch python3-cairo-1.10.0-11.fc22.x86_64 python-blivet-1.0.10-1.fc22.noarch python3-lxml-3.3.6-1.fc22.x86_64 python-pyudev-0.16.1-3.fc22.noarch python-iniparse-0.4-15.fc22.noarch python3-enchant-1.6.6-1.fc22.noarch python3-systemd-231-4.fc22.x86_64 python3-urllib3-1.13.1-3.fc22.noarch python-2.7.10-8.fc22.x86_64 python-coverage-4.0.3-1.fc22.x86_64 python-slip-0.6.4-1.fc22.noarch python3-firewall-0.3.14.2-4.fc22.noarch python3-sssdconfig-1.13.3-5.fc22.noarch python-hawkey-0.6.2-2.fc22.x86_64 python2-pyparsing-2.1.0-2.fc22.noarch python-xpyb-1.3.1-4.fc22.x86_64 python-setuptools-17.1.1-3.fc22.noarch python3-setuptools-17.1.1-3.fc22.noarch python-pycurl-7.19.5.1-3.fc22.x86_64 python-six-1.9.0-1.fc22.noarch python-decorator-3.4.0-5.fc21.noarch python-dmidecode-3.10.13-12.fc22.x86_64 python2-systemd-231-4.fc22.x86_64 python-requests-2.9.1-1.fc22.noarch python-backports-ssl_match_hostname-3.5.0.1-1.fc22.noarch policycoreutils-python-2.3-18.fc22.x86_64 python-slip-dbus-0.6.4-1.fc22.noarch python-librepo-1.7.16-1.fc22.x86_64 langtable-python-0.0.34-1.fc22.noarch python-firewall-0.3.14.2-4.fc22.noarch python-chardet-2.2.1-2.fc22.noarch python3-six-1.9.0-1.fc22.noarch python3-chardet-2.2.1-2.fc22.noarch python-meh-gui-0.40-1.fc22.noarch libuser-python-0.62-1.fc22.x86_64 libselinux-python3-2.3-10.fc22.x86_64 libreport-python3-2.6.4-1.fc22.x86_64 python-urlgrabber-3.10.1-6.fc22.noarch python-dnf-plugins-extras-common-0.0.11-1.fc22.noarch python3-inotify-0.9.6-1.fc22.noarch python3-slip-0.6.4-1.fc22.noarch newt-python-0.52.18-1.fc22.x86_64 python-ntplib-0.3.2-3.fc21.noarch dbus-python-1.2.0-7.fc22.x86_64 python3-decorator-3.4.0-5.fc21.noarch rpm-python-4.12.0.1-14.fc22.x86_64 libreport-python-2.6.4-1.fc22.x86_64 python3-javapackages-4.3.2-6.fc22.noarch python-sssdconfig-1.13.3-5.fc22.noarch python3-3.4.2-6.fc22.x86_64 python-dnf-plugins-core-0.1.16-1.fc22.noarch python-dnf-plugins-extras-migrate-0.0.11-1.fc22.noarch python3-cssselect-0.9.1-5.fc22.noarch -- ___ Python tracker <http://bugs.python.org/issue26971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com