[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
http://bugs.python.org/issue7092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7836] Add /usr/sfw/lib to OpenSSL search path for Solaris.

2010-02-02 Thread David Kirkby

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',
  '/usr/contrib/ssl/lib/'
 ] )



 # Detect SSL support for the socket module (via _ssl)
search_for_ssl_incs_in = [
  '/usr/local/ssl/include',
  '/usr/contrib/ssl/include/'

On Solaris 10, (but not Open Solaris), OpenSSL comes as part of the operating 
system, but the libraries reside in /usr/sfw/lib. 

drkir...@kestrel:~$ ls  /usr/sfw/lib/libssl*
/usr/sfw/lib/libssl.so/usr/sfw/lib/libssl.so.0.9.7

Could you simply add /usr/sfw/lib to the library search path, so they are found 
on Solaris 10? 

The include files reside in /usr/sfw/include/openssl

on Solaris 10.

--
components: Build
messages: 98725
nosy: drkirkby
severity: normal
status: open
title: Add /usr/sfw/lib to OpenSSL search path for Solaris.
type: feature request
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7836
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7831] cmp() is missing in 3.x

2010-02-02 Thread Ezio Melotti

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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-02-02 Thread Ezio Melotti

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 elements of different types is passed to assertSameElements the warning is 
not silenced. There's also a third warning that might be raised if among the 
elements there's a builtin function or method.

Patch attached.

--
components: Library (Lib), Tests
files: issue7837.patch
keywords: easy, needs review, patch, patch
messages: 98726
nosy: ezio.melotti, flox, michael.foord
priority: normal
severity: normal
stage: patch review
status: open
title: assertSameElements doesn't filter enough py3k warnings
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file16097/issue7837.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-02 Thread Jason R. Coombs

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 that checked for the existence of 
'symlink' in the os module. I thought it strange too, but left it assuming it 
was there for some reason and not wanting to over extend beyond my primary 
objective. I will rewrite that test to use only one check unless someone posts 
otherwise.

--
title: Add os.link() and os.symlink() and   os.path.islink() support for 
Windows - Add os.link() and os.symlink() and os.path.islink() support for 
Windows

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1578269
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7832] assertSameElements([0, 1, 1], [0, 0, 1]) does not fail

2010-02-02 Thread Michael Foord

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' argument to assertSequenceEqual 
defaulting to True, and slightly prefer that to a new method.

FWIW the http://code.google.com/p/python-unittest-backport/ project is quite 
out of date. I am intending to do my own port (before PyCon) that subclasses 
unittest so that it can interoperate with code using the Python 2.4-2.6 
standard library unittest. I may get in touch with the project owner to see if 
I can join him on his project.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7832
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-02-02 Thread Michael Foord

Changes by Michael Foord mich...@voidspace.org.uk:


--
assignee:  - ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Antoine Pitrou

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.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-02 Thread Eric Smith

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 
test_tarfile. However, I do get errors in test_posixpath that I do not get on 
an unpatched py3k build:
==
FAIL: test_realpath_basic (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 49
9, in test_realpath_basic
self.assertEqual(realpath(ABSTFN), ABSTFN+1)
AssertionError: 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/C:\\opt\\cygwin\\home
\\eric\\python\\py3k/C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp1'
!= 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp1'

==
FAIL: test_realpath_resolve_before_normalizing (test.test_posixpath.PosixPathTes
t)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 56
0, in test_realpath_resolve_before_normalizing
self.assertEqual(realpath(ABSTFN + /link-y/..), ABSTFN + /k)
AssertionError: 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/C:\\opt\\cygwin\\home
\\eric\\python\\py3k/@test_3404_tmp/C:\\opt\\cygwin\\home\\eric\\python\\py3k/@t
est_3404_tmp/k' != 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp/k'

==
FAIL: test_realpath_resolve_first (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 58
3, in test_realpath_resolve_first
self.assertEqual(realpath(base + link), ABSTFN)
AssertionError: 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/C:\\opt\\cygwin\\home
\\eric\\python\\py3k/@test_3404_tmp' != 'C:\\opt\\cygwin\\home\\eric\\python\\py
3k/@test_3404_tmp'

==
FAIL: test_realpath_resolve_parents (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 53
7, in test_realpath_resolve_parents
self.assertEqual(realpath(a), ABSTFN + /y/a)
AssertionError: 'C:\\opt\\cygwin\\home\\eric\\python\\py3...@test_3404_tmp\\k/a'
 != 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp/y/a'

==
FAIL: test_realpath_symlink_loops (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 50
9, in test_realpath_symlink_loops
self.assertEqual(realpath(ABSTFN), ABSTFN)
AssertionError: 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/C:\\opt\\cygwin\\home
\\eric\\python\\py3k/C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp' !
= 'C:\\opt\\cygwin\\home\\eric\\python\\py3k/@test_3404_tmp'

==
FAIL: test_samefile (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 34
3, in test_samefile
False
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 29
, in assertIs
self.assertTrue(a is b)
AssertionError: False is not True

==
FAIL: test_samestat (test.test_posixpath.PosixPathTest)
--
Traceback (most recent call last):
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 38
4, in test_samestat
False
  File C:\opt\cygwin\home\eric\python\py3k\lib\test\test_posixpath.py, line 29
, in assertIs
self.assertTrue(a is b)
AssertionError: False is not True

--
Ran 30 tests in 0.201s

FAILED (failures=7)
test test_posixpath failed -- multiple errors occurred
1 test failed:
test_posixpath

Even though cygwin is in the path, I am running these tests from a cmd.exe 
(or whatever the built-in shell is called these days) shell. I am not running 
these tests under cygwin bash.

--

___
Python tracker rep...@bugs.python.org

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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.

--
Added file: http://bugs.python.org/file16098/subprocess.rst.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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 that while I have also clarified the last sentence in the shell=True case, 
I think that this is in fact a bug in the Popen API.  As far as I can tell the 
ability to pass arguments to the shell after the -c is useless, and I think 
Popen should instead raise a ValueError if passed a sequence when shell is 
True.  But that is a different bug report

--
nosy: +r.david.murray
priority:  - normal

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Eric Smith

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 single list elements.

It's not always true that options and their arguments should be in separate 
elements. For example:
['/bin/ls', '-l',  '--block-size=1024']
I understand the sentiment, but if we're trying to give guidance that people 
can follow without understanding the underlying issue, then they should be 
correct all the time.

Also, the code snippet includes subprocess without using it.

--
nosy: +eric.smith

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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 problem Eric Smith pointed out.

--
Added file: http://bugs.python.org/file16101/subprocess.rst.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-02-02 Thread Antoine Pitrou

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



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5677] Serious interpreter crash and/or arbitrary memory leak using .read() on writable file

2010-02-02 Thread Stefan Krah

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 getc.


I do not know how to get around those without using OS specifics.

--
Added file: http://bugs.python.org/file16103/errno-ebadf.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5677
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5677] Serious interpreter crash and/or arbitrary memory leak using .read() on writable file

2010-02-02 Thread Stefan Krah

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5677] Serious interpreter crash and/or arbitrary memory leak using .read() on writable file

2010-02-02 Thread Antoine Pitrou

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 getc.
 
 
 I do not know how to get around those without using OS specifics.

Ok, then perhaps it's better to have some internal {readable, writable}
flags based on the original mode string.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5677
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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.  If shell=False, I think Popen should generate an error if args is a 
string.  Absent that fix, I've reworded the existing sentence along the lines 
you suggest, but using positive language rather than negative.  I've 
incorporated your fix for Eric's bug report, but I haven't added in the 
explicit references to the strings in the example.  IMO those are obvious and 
don't need repeating, but if others think it is clearer to add them, I'm fine 
with that.

As for subprocess, IMO there's no need to show the subprocess call.  The shlex 
result shows the list that would go into the subprocess call, and I think 
that's sufficient.  What do others think?

I've updated my version of the patch.

--
versions: +Python 2.7, Python 3.1
Added file: http://bugs.python.org/file16102/subprocess-doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Antoine Pitrou

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 not specific to the subprocess module.

Also, I don't understand what the reference to -c is about. subprocess isn't 
only for executing Python interpreters. Or perhaps you are talking about sh 
-c, but it is quite cryptic.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-02-02 Thread Ezio Melotti

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
http://bugs.python.org/issue7837
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-02-02 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
assignee:  - ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7837] assertSameElements doesn't filter enough py3k warnings

2010-02-02 Thread Florent Xicluna

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 from 3.x.

--
Added file: http://bugs.python.org/file16106/issue7837_assertSameElements.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7837
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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 the subprocess.Popen() call should be demonstrated in the code snippet 
remains an open issue.

--
Added file: http://bugs.python.org/file16108/subprocess.rst.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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 confusing.  This is why I think the API should be 
changed.

--
Added file: http://bugs.python.org/file16107/subprocess-doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread R. David Murray

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 
that...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6760
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Eric Smith

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7753] newgil backport

2010-02-02 Thread Eric Hopper

Changes by Eric Hopper eric-b...@omnifarious.org:


--
nosy: +Omnifarious

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7753
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-02-02 Thread Brian Curtin

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Brian Curtin

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.

--
assignee: georg.brandl
components: Documentation, Windows
keywords: easy
messages: 98749
nosy: brian.curtin, georg.brandl
priority: normal
severity: normal
stage: needs patch
status: open
title: Undocumented subprocess functions on Windows
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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 cases where the third arg of filterwarnings is not 
DeprecationWarning? If not, it's probably better to turn filters in a list of 
regex instead than a sequence of tuples like (regex, DeprecationWarning);
4) maybe silence_py3k_warning could yield an instance of WarningsRecorder, in 
case someone wants to access the silenced warnings.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6676] expat parser throws Memory Error when parsing multiple files

2010-02-02 Thread Will Grainger

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6676
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7753] newgil backport

2010-02-02 Thread Todd Whiteman

Changes by Todd Whiteman twhit...@yahoo.com.au:


--
nosy: +twhitema

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7753
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2010-02-02 Thread R. David Murray

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 
as args[0] being the string to pass to sh -c, and the remaining elements are 
passed as additional arguments to sh.

Neither of these behaviors is particularly useful.  It is easy enough to put 
the command name in a single element list with shell=False, and as far as I've 
been able to tell there is nothing useful you can do with passing arguments to 
sh after the '-c [command'] argument.

Further, the current behavior leads to common mistakes and misunderstandings, 
especially the acceptance of a string when shell=False.  The inexperienced user 
will pass the complete command string, and get the confusing error message No 
such file or directory.

The behavior when passing a list when shell=True is even more mysterious.  In 
this case, all elements of the list after args[0] appear to the programmer as 
if they are ignored.  This problem is made worse by the fact that the 
documentation for this case makes it sound as if multiple strings *can* be 
passed; this confusion at least will be cleared up by the patch from issue 6760.

I would like to see Popen changed so that when shell=False, passing a string 
for args results in a ValueError, and likewise when shell=True, passing a list 
results in a ValueError.

Since this is a backward incompatible change, we'd need to first deprecate the 
current behavior in 3.2, and then introduce the ValueError in 3.3.  While this 
would be annoying to those people who needed to change their programs, I think 
it would be worth it for the improved error feedback the revised API would 
provide.

--
components: Library (Lib)
keywords: easy
messages: 98754
nosy: r.david.murray
priority: normal
severity: normal
status: open
title: Popen should raise ValueError if pass a string when shell=False or a 
list when shell=True
type: feature request
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7839
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

2010-02-02 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2010-02-02 Thread Eric Smith

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 list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Brian Curtin

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
stage: needs patch - patch review
Added file: http://bugs.python.org/file16110/issue7838.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Brian Curtin

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Brian Curtin

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Benjamin Peterson

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
http://bugs.python.org/issue7838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Brian Curtin

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7840] Lib/ctypes/test/test_pep3118.py should not shadow the memoryview() builtin

2010-02-02 Thread Antoine Pitrou

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, ctypes
messages: 98760
nosy: pitrou, theller
priority: normal
severity: normal
stage: needs patch
status: open
title: Lib/ctypes/test/test_pep3118.py should not shadow the memoryview() 
builtin
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

2010-02-02 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Florent Xicluna

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: http://bugs.python.org/file16113/issue7092_test_support_v2.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7841] test_capi fails when run more than once

2010-02-02 Thread Antoine Pitrou

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: benjamin.peterson
components: Tests
messages: 98763
nosy: benjamin.peterson, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_capi fails when run more than once
type: behavior
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7841
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7841] test_capi fails when run more than once

2010-02-02 Thread Florent Xicluna

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



[issue7816] test_capi crashes when run with -R

2010-02-02 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7842] py_compile.compile SyntaxError output

2010-02-02 Thread Nigel Heron

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 in the py3k branch (Revision 56901) but is still broken in 2.6 
and 2.7
the attached patch has the same fix but applied to the trunk.

here's a simple test case..

f = open('broken.py','w')
f.write(1 = a  #-- obvious syntax err\n)
f.close()
import py_compile
py_compile.compile('broken.py')

--
components: Library (Lib)
files: py_compile_patch.diff
keywords: patch
messages: 98766
nosy: nheron
severity: normal
status: open
title: py_compile.compile SyntaxError output
type: behavior
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file16114/py_compile_patch.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7842
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7385] MemoryView_FromObject crashes if PyBuffer_GetBuffer fails

2010-02-02 Thread Antoine Pitrou

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
http://bugs.python.org/issue7385
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-02-02 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-02-02 Thread Tarek Ziadé

Changes by Tarek Ziadé ziade.ta...@gmail.com:


--
priority:  - critical
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6283] Cannot build extension in amd64 using msvc9compiler

2010-02-02 Thread Tarek Ziadé

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7816] test_capi crashes when run with -R

2010-02-02 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

As you wish: r77934.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7816
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-02 Thread Benjamin Peterson

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7838] Undocumented subprocess functions on Windows

2010-02-02 Thread Benjamin Peterson

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 - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7319] Silence DeprecationWarning by default

2010-02-02 Thread Benjamin Peterson

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-02-02 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6715] xz compressor support

2010-02-02 Thread Garen Parham

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, it'd be really appreciated 
by users on especially slow links(!!).

--
nosy: +Garen.Parham

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7843] python-dev archives are not updated

2010-02-02 Thread Ilya Sandler

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7843
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6715] xz compressor support

2010-02-02 Thread Garen

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. Linux) that could be used 
instead of the bundled version.

(Since Python is officially switching to Mercurial, arguably this issue even 
more important.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7319] Silence DeprecationWarning by default

2010-02-02 Thread Brett Cannon

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.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7319
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com