Leonid Vasilev vsleo...@gmail.com 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
kota nospam.kotarou.d...@gmail.com added the comment:
Yea, it runs the parser.py that time. And I didn't understand the page you
linked me to. Would you mind explaining it a bit?
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
The Windows build actually uses the registry to locate the standard library
rather than sys.path. This is by design, but isn't really documented properly.
It means that code on sys.path (even in the current directory) won't shadow
standard
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Looking at Lib/test/test_zlib.py, it appears that this behaviour is intentional
(see issue8672). I agree that having flush() raise an exception is the Right
Thing, but breaking existing code (which we know depends on this behavior) is
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d98b5e0f0862 by Nadeem Vawda in branch 'default':
Fix build error in _curses module when not using libncursesw.
http://hg.python.org/cpython/rev/d98b5e0f0862
--
___
New submission from ojab o...@ojab.ru:
Allow configparser to process duplicate options, just concatenating it's
values, so using file
[sect1]
opt1=asd;
opt2=qwe
opt1=fgs
we will have config['sect1']['opt1'] == 'asd;fgs'
--
components: Library (Lib)
messages: 141463
nosy: ojab
kota nospam.kotarou.d...@gmail.com added the comment:
So there isn't any way to load parser.py via import parser on Windows?
--
components: +None -Documentation
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12648
Changes by Georg Brandl ge...@python.org:
--
assignee: - lukasz.langa
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12662
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Following d98b5e0f0862, I have been able to successfully build the curses
module with curses_unicode.patch applied.
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Ack sorry, forgot to give context - my machine doesn't have libncursesw,
so the curses module failed to build before that commit (with or without
the patch applied).
--
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10087
___
___
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up http://mail.python.org/pipermail/docs/2011-July/005210.html
, here's a patch to fix it. It applies to all the relevant branches.
--
assignee: docs@python
components: Documentation
files:
New submission from Aaron Robson shiny.mag...@googlemail.com:
One of the main barriers to getting a working development environment for me
was having to discover that I needed, learn about and find out how to set up
the Path variable in Windows.
I propose an option in the installer (perhaps
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up http://mail.python.org/pipermail/docs/2011-July/005209.html
here's a patch to fix the example error on active 3.x branches.
--
assignee: docs@python
components: Documentation
files:
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - duplicate
status: open - closed
superseder: - Windows installer should add Python and Scripts directories to
the PATH environment variable
___
Python tracker rep...@bugs.python.org
New submission from Jason R. Coombs jar...@jaraco.com:
In `whatsnew/3.0.html`, there is little said about the map builtin:
map() and filter() return iterators. If you really need a list, a quick fix is
e.g. list(map(...)), but a better fix is often to use a list comprehension
(especially when
Jason R. Coombs jar...@jaraco.com added the comment:
I believe the correct solution to (2) is to use itertools.zip_longest. So to
port to Python 3, the example would use:
print(list(map(to_tuple, itertools.zip_longest([1,2,3], [4,5,6,7]
--
phep patrice.pil...@teletopie.net added the comment:
Le 30/07/2011 15:45, Éric Araujo a écrit :
Éric Araujomer...@netwok.org added the comment:
I’ve read in the tempfile module docstring that in order to control the
directory, you have to set tempfile.tempdir before calling any tempfile
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up http://mail.python.org/pipermail/docs/2011-July/005207.html
here are 2 patches to correct the documentation for 'secure' argument of
SMTPHandler:
- the one for default (applicable also on 3.2) adds completely the
Changes by Sandro Tosi sandro.t...@gmail.com:
Added file:
http://bugs.python.org/file22811/logging_smtphandler_secure-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12667
___
Petri Lehtinen pe...@digip.org added the comment:
Senthil Kumaran wrote:
When shutil.copy2 already says that it's behavior is equivalent to cp -p,
will adding this sentence
+ Symbolic links are not preserved. The contents and metadata of the
+ linked files are copied instead.
Not
Michael Foord mich...@voidspace.org.uk added the comment:
I agree with Antoine, as test.support is not a public api adding new features
to assist with debugging is fine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12626
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up
http://mail.python.org/pipermail/docs/2011-July/005087.html, here's a patch to
fix the 3.2 What's New section.
--
assignee: docs@python
components: Documentation
files: whatsnew_3.2_int2str-default.patch
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12641
___
___
New submission from Nadeem Vawda nadeem.va...@gmail.com:
When running regrtest with the -j and/or -w options, test_curses gets skipped,
complaining that stdout is not a tty. This means that the buildbots never run
this test, which is obviously a Bad Thing.
For the -w case (which applies to the
python272 letters.rando...@gmail.com added the comment:
problem also occurs when built with configure option --with-system-ffi
not sure whether it might be a compiler bug or an invalid test?
some debug output:
[@localhost Python-2.7.2]$ gdb ./python
(gdb) run -Wd -3 -E -tt
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Correction: the offending options are -j and *-W* (display test output on
failure), not -w (re-run failed tests in verbose mode).
--
___
Python tracker rep...@bugs.python.org
New submission from Sandro Tosi sandro.t...@gmail.com:
Hello, following up http://mail.python.org/pipermail/docs/2011-July/004974.html
here's a patch (applicable on 2.7, 3.2 and 3.3) to fix the struct declaration
in the forward declaration example.
--
assignee: docs@python
components:
New submission from Matthew Barnett pyt...@mrabarnett.plus.com:
Someone over at StackOverflow had a problem with urlopen in Python 3.2.1:
http://stackoverflow.com/questions/6892573/problem-with-urlopen/6892843#6892843
This is the code:
from urllib.request import urlopen
f =
Vlad Riscutia riscutiav...@gmail.com added the comment:
Reason you are seeing the failure for this is following change from 2.5 in
mmapmodule.c (:1109):
m_obj-data = (char *) MapViewOfFile(m_obj-map_handle,
dwDesiredAccess,
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
Just been told this bug has already been reported as issue #12576.
--
resolution: - duplicate
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12671
Changes by Matthew Barnett pyt...@mrabarnett.plus.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12671
___
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I have attached a Python script which does what Antoine's patch does except
which is expected to live in Tools/scripts. The perk of doing this in a
Python script is that Windows users will be able to simply execute the script
while the
Nick Coghlan ncogh...@gmail.com added the comment:
As far as I know, not as a top-level module in an installed version of Python
(at least, not without mucking about in the registry).
Shadowing standard library modules is generally a bad idea, and this is one of
the reasons.
--
Ann Elliott elliott@osu.edu added the comment:
This error still occurs in version 3.3.0a0.
--
nosy: +elliotta
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7089
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12668
___
New submission from Eli Bendersky eli...@gmail.com:
Reading the C API documentation: extending/newtypes.html
Some problems:
1. In the first paragraph of 2.1 - to distinguish them from things like
[].append, it's unclear what [].append is. Maybe [] and append?
2. The C coding convention is
Changes by shane moore dstor...@gmail.com:
--
nosy: +shane.moore
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12659
___
___
Python-bugs-list
38 matches
Mail list logo