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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27902>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to