Changes by Leonid Vasilev :
--
resolution: invalid -> rejected
___
Python tracker
<http://bugs.python.org/issue12661>
___
___
Python-bugs-list mailing list
Un
Leonid Vasilev added the comment:
yup, it's really to specific.
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.
Leonid Vasilev added the comment:
Added file with sample usage (extracted from real application).
the main purpose of shutil.cleartree()
is to remove unnecessary files from tree, where
patterns of ignored or deleted files are computed
dynamically.
Yes I agree, that it might be done by shell
New submission from Leonid Vasilev :
Hello,
This patch adds new function to shutil.
I think it's quite generic, and it fits shutil purpose.
Sample usage:
shutil.cleartree(path='/home/chin/Dev/python-hg-dev',
ignore=shutil.ignore_pattterns('*.py'))
removes all fil
Leonid Vasilev added the comment:
Thanks for patch, it works now:
Python compiled with --with-pydebug throws an ImportError when trying to
import modules compiled without --with-pydebug, as it should:
ImportError: /usr/local/lib/python3.0/site-packages/ext23.so: undefined
symbol
New submission from Leonid Vasilev :
I compiled two versions of python(both from main trunk)
Here's what I do:
$cd /usr/local/src/Python-3.0.1/
$./configure
$make && make install
...
$cd ~/pyext/
$python3.0 setup.py install
...
"run python3.0 and import ext1 -- it worked ok&q
Leonid Vasilev added the comment:
Actually urlparse.urljoin implements RFC 2396
Is it true that 'CGIHTTPServer._url_collapse_path_split' is just a
inverted 'urlparse.urljoin' ?
"""
>>> urlparse.urljoin('http://a/b/c/','g')
'
Leonid Vasilev added the comment:
I'd Wrote a patch for this.
Perhaps some unittests are needed.
--
keywords: +patch
nosy: +chin
Added file: http://bugs.python.org/file13644/issue5714_withdoc.diff
___
Python tracker
<http://bugs.py