Changes by Florent Xicluna la...@yahoo.fr:
Removed file: http://bugs.python.org/file16043/issue7092_bsddb3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Changes by Florent Xicluna la...@yahoo.fr:
Removed file: http://bugs.python.org/file16065/issue7092_bsddb3v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
bsddb is now fixed in r77910.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
___
Florent Xicluna la...@yahoo.fr added the comment:
Proposed patch to filter out some deprecated comparisons in unittest module.
--
Added file: http://bugs.python.org/file16096/issue7092_unittest.py
___
Python tracker rep...@bugs.python.org
New submission from David Kirkby david.kir...@onetel.net:
In the top level setup.py there is a list of directories searched for the
OpenSSL libraries.
ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
['/usr/local/ssl/lib',
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7831
___
___
Python-bugs-list
New submission from Ezio Melotti ezio.melo...@gmail.com:
In assertSameElements ( Lib/unittest/case.py ) there's a filter for py3k
warning that checks for warning about dict comparisons but not for comparisons
of unequal types. If python is run with the -3 flag and a non-hashable sequence
with
Jason R. Coombs jar...@jaraco.com added the comment:
Brian, thanks for the review. I really appreciate it. I'll fix all of the
identified issues.
Lib/test/test_posixpath.py
- Lines 365-366 - why check has_symlink() and immediately check it
again?
In the unpatched code, there were two calls
Michael Foord mich...@voidspace.org.uk added the comment:
Damn. If assertSameElements has already shipped with the existing
implementation then we can't change it. The documentation really needs
clarifying to make it clear that it ignores duplicates.
I would be happy with a 'check_order'
Changes by Michael Foord mich...@voidspace.org.uk:
--
assignee: - ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Antoine Pitrou pit...@free.fr added the comment:
I still think this is much too verbose. The second note looks redundant with
the first one and the third one.
Remember, the notes you are adding may be useful, but they'll also make reading
the whole page more tedious.
--
Eric Smith e...@trueblade.com added the comment:
- When run with patch 20 as non-admin on Windows 7, I get the same test_tarfile
errors that Brian gets. I do not get these errors with an unpatched py3k build.
- When run with patch 20 as an admin on Windows 7, I do not get the errors in
Chris Rebert pyb...@rebertia.com added the comment:
Well, the same basic example is used for cohesiveness, but the issue/pitfall
being highlighted in each note is distinct. But you have a point about shlex
being pointed out twice, so here's a version with that redundancy excised.
--
R. David Murray rdmur...@bitdance.com added the comment:
I like the idea of pointing out that shlex can be used to determine exactly
what to pass to subprocess, but I agree that the proposed patch is too wordy
(and still too much in a negative voice).
Here is an alternate simpler patch.
Note
R. David Murray rdmur...@bitdance.com added the comment:
Hmm. Somehow the patch got lost. Let's try again.
--
Added file: http://bugs.python.org/file16099/subprocess-doc.patch
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file16099/subprocess-doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
R. David Murray rdmur...@bitdance.com added the comment:
Woops, spotted a word I left out. Fixed.
--
Added file: http://bugs.python.org/file16100/subprocess-doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
Eric Smith e...@trueblade.com added the comment:
From David's patch:
Note in particular that options and their arguments go in separate list
elements, while arguments that need quoting when used in the shell
(such as filenames containing spaces or the python command shown
above) are
Chris Rebert pyb...@rebertia.com added the comment:
Counterpatch incorporating R. David Murray's succinctness improvements while
retaining correct positioning of the first note, managing to incorporate the
3rd note not present in Mr. Murray's, and including more precise wording to
address the
Changes by Chris Rebert pyb...@rebertia.com:
Removed file: http://bugs.python.org/file15033/subprocess.rst.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
Changes by Chris Rebert pyb...@rebertia.com:
Removed file: http://bugs.python.org/file16095/subprocess.rst.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
Antoine Pitrou pit...@free.fr added the comment:
There's a patch to make array implement the new buffer API in the following
issue, which was closed:
http://bugs.python.org/issue6071
The patch is hasharray.patch.
--
nosy: +pitrou
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file16100/subprocess-doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
R. David Murray rdmur...@bitdance.com added the comment:
By the way, I've been wanting the Popen docs improved for a long time but never
got around to it, so thanks for pushing for this.
--
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
An errno+ferror approach works except for two cases:
(1) MS fgets() does not consider reading from a write-only stream
an error. While annoying, I think this is standard conforming.
(2) OpenSolaris sets errno unreliably after
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file16104/errno-ebadf-tests.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5677
___
Antoine Pitrou pit...@free.fr added the comment:
An errno+ferror approach works except for two cases:
(1) MS fgets() does not consider reading from a write-only stream
an error. While annoying, I think this is standard conforming.
(2) OpenSolaris sets errno unreliably after
R. David Murray rdmur...@bitdance.com added the comment:
My placement of the note was carefully considered. It is discussing the
shell=False case and IMO belongs after that paragraph. I understand now your
concern about the note I omitted...and again I think this is a bug in the Popen
API.
Antoine Pitrou pit...@free.fr added the comment:
The following sentences look like a distraction to me:
« Additional quoting may be required because the entire string is a Python
string. It may be useful to use a Python raw string in complex cases. »
It is true of every string literal and is
Ezio Melotti ezio.melo...@gmail.com added the comment:
New patch that filters one more warning.
--
assignee: ezio.melotti -
Added file: http://bugs.python.org/file16105/issue7837v2.patch
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Florent Xicluna la...@yahoo.fr added the comment:
Variant based on the previous patches.
It fixes an error relative to assertSameElements: comparing sequences which
contain unorderable types.
Example: [2j, 5j, set(), frozenset()]
The util.unorderable_list_difference() helper is backported
Chris Rebert pyb...@rebertia.com added the comment:
This version takes Murray's most recent draft, applies some minor tweaks from
my prior patch, and has the python -c etc. changed to echo '$MONEY' so the
sh -c comment is completely unambiguous (and it's a simpler example generally).
Whether
Changes by Chris Rebert pyb...@rebertia.com:
Removed file: http://bugs.python.org/file16101/subprocess.rst.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
R. David Murray rdmur...@bitdance.com added the comment:
I'm happy to delete the two sentences about quoting.
As for -c, you are so right that it is cryptic. In the new version of the
patch I've changed the sentence to be as precise as possible, but I'm not at
all convinced that it is less
R. David Murray rdmur...@bitdance.com added the comment:
The change to echo is an excellent improvement. You forgot to change 'python'
to 'echo' in the following paragraph, though. You are also correct about
/bin/sh vs sh, my bad. And I was even looking at the source code when I wrote
Changes by Chris Rebert pyb...@rebertia.com:
Added file: http://bugs.python.org/file16109/subprocess.rst.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
Changes by Chris Rebert pyb...@rebertia.com:
Removed file: http://bugs.python.org/file16108/subprocess.rst.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
Eric Smith e...@trueblade.com added the comment:
Now you need to put the import of subprocess back in!
Otherwise it looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
Changes by Eric Hopper eric-b...@omnifarious.org:
--
nosy: +Omnifarious
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7753
___
___
Changes by Brian Curtin cur...@acm.org:
--
keywords: +needs review
priority: - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5099
___
New submission from Brian Curtin cur...@acm.org:
On Windows, the subprocess module makes use of functions publicly exposed by
PC/_subprocess.c to interact with Win32 API functions. However, no
documentation exists for these functions, neither in the online docs nor in
docstrings.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
test_exceptions and test_pep352 fixed in r77913.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16053/issue7092_test_exceptions_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Changes by Florent Xicluna la...@yahoo.fr:
Removed file: http://bugs.python.org/file16096/issue7092_unittest.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Florent Xicluna la...@yahoo.fr added the comment:
test_unittest fixed in r77911. See also #7837.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
In issue7092_test_support:
1) silence_py3k_warning should have a docstring that explain what the function
does and what filters should be, possibly including an example;
2) I'd use if not filters: instead of if filters == ():;
3) are there
Will Grainger willgrain...@gmail.com added the comment:
I don't think this is a python specific problem. I have just seen
the same error when working with the expat library from C, and the cause
is using the same parser to read multiple files.
--
nosy: +willgrainger
Changes by Todd Whiteman twhit...@yahoo.com.au:
--
nosy: +twhitema
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7753
___
___
Python-bugs-list
New submission from R. David Murray rdmur...@bitdance.com:
Currently Popen accepts either a string or a list regardless of the value of
'shell'. In the shell=False case, a string is interpreted as the command name,
no matter what it actually is. In the shell=True case, a list is interpreted
Antoine Pitrou pit...@free.fr added the comment:
When PyMemoryView_FromObject() doesn't return NULL, you should decref the
result. Otherwise, it's perfect.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7385
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7839
___
___
Python-bugs-list mailing
Brian Curtin cur...@acm.org added the comment:
Attached is a patch which adds docstrings to the functions in PC/_subprocess.c,
documents the functions in Doc/library/subprocess.rst, and removes a chunk of
unneeded import code from Lib/subprocess.py
--
keywords: +needs review, patch
Changes by Brian Curtin cur...@acm.org:
Removed file: http://bugs.python.org/file16110/issue7838.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
Changes by Brian Curtin cur...@acm.org:
Added file: http://bugs.python.org/file16111/issue7838.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
Benjamin Peterson benja...@python.org added the comment:
This is likely because these functions are meant to be undocumented
implementation details.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
Brian Curtin cur...@acm.org added the comment:
True. Is there value in eventually privatizing these functions?
It feels weird having them exposed but not documented at all...maybe just keep
the docstrings around?
--
status: open - pending
___
Changes by Florent Xicluna la...@yahoo.fr:
Removed file: http://bugs.python.org/file16060/issue7385_memoryview.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7385
___
Florent Xicluna la...@yahoo.fr added the comment:
Thanks.
--
Added file: http://bugs.python.org/file16112/issue7385_memoryview_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7385
___
Changes by Florent Xicluna la...@yahoo.fr:
Removed file: http://bugs.python.org/file16044/issue7092_test_support.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
New submission from Antoine Pitrou pit...@free.fr:
test_pep3118.py creates a dummy memoryview class and says It can be removed
when the py3k memoryview object is backported. Since memoryview has been
backported to trunk, it should be removed.
--
assignee: theller
components: Tests,
Antoine Pitrou pit...@free.fr added the comment:
I've added a missing call to PyBuffer_Release() and committed the patch to
trunk (r77916).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7385
Florent Xicluna la...@yahoo.fr added the comment:
Docstring added.
Notes:
- there's 2 categories of -3 warnings: SyntaxWarning and DeprecationWarning.
- AFAICT, the WarningsRecorder needs catch_warnings(record=True).
And in such case, *all* warnings are silenced.
--
Added file:
New submission from Antoine Pitrou pit...@free.fr:
For some reason it only fails in py3k, not trunk.
test_capi
beginning 5 repetitions
12345
test test_capi crashed -- class 'AssertionError': PyDateTime_CAPI somehow
initialized
1 test failed:
test_capi
[101007 refs]
--
assignee:
Florent Xicluna la...@yahoo.fr added the comment:
Backport missing. See #7816
--
nosy: +flox
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - test_capi crashes when run with -R
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Needs to be merged in py3k :)
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7816
___
New submission from Nigel Heron ni...@psycode.com:
when a syntax error is generated in py_compile.compile(), the wrong arguments
are passed to the new PyCompileError exception which in turn passes the wrong
args to traceback.format_exception_only() producing the wrong output.
this was fixed
Antoine Pitrou pit...@free.fr added the comment:
Merged in r77918 (py3k) and r77920 (3.1).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Pablo's documentation patch for py3k has been committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7723
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
priority: - critical
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6283
___
Benjamin Peterson benja...@python.org added the comment:
As you wish: r77934.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7816
___
___
Benjamin Peterson benja...@python.org added the comment:
As I said before, the patch needs a test and should remove those ugly \ from
the list comprehension.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
Benjamin Peterson benja...@python.org added the comment:
Actually, I consider them private now, given that they aren't in __all__ or
documented. I'd prefer if the code was changed to qualify their use with
_subprocess.X actually. Docstrings are fine, I suppose.
--
status: pending -
Benjamin Peterson benja...@python.org added the comment:
Has enough time elapsed yet for py3k merging?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7319
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Applied the syntax fixes in r77942.
--
assignee: - ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16048/issue7092_syntax_fixes.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
Garen Parham garen.par...@gmail.com added the comment:
Once Python gets native support for lzma/xz like it does for zlib, bzip2 it
could switch to using it for bundles and remote transfers. See:
http://mercurial.selenic.com/bts/issue1463
With lzma/xz being able to compress so much better,
New submission from Ilya Sandler ilya.sand...@gmail.com:
http://mail.python.org/pipermail/python-dev/ archives have not been updated for
a couple of weeks now.
A bug?
--
messages: 98775
nosy: isandler
severity: normal
status: open
title: python-dev archives are not updated
Garen garen.par...@gmail.com added the comment:
Ugh, can't edit previous message. Meant to say:
Once Python gets native support for lzma/xz like it does for zlib and bzip2,
Mercurial could switch to using it for bundles and remote transfers.
For platforms with native support in-kernel (e.g.
Brett Cannon br...@python.org added the comment:
On Tue, Feb 2, 2010 at 19:00, Benjamin Peterson rep...@bugs.python.org wrote:
Benjamin Peterson benja...@python.org added the comment:
Has enough time elapsed yet for py3k merging?
Sure. I will try to do it before or at PyCon.
--
81 matches
Mail list logo