[issue10670] Provide search scope limits

2010-12-14 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

label:interop

--

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



[issue5863] bz2.BZ2File should accept other file-like objects.

2010-12-14 Thread Xuanji Li

Xuanji Li xua...@gmail.com added the comment:

Sorry, I'm giving up.

The copyright notice for bz2module.c lists Gustavo Niemeyer as one of the 
holders, is he the maintainer? Maybe he should be notified of this bug.

--

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread Xuanji Li

Xuanji Li xua...@gmail.com added the comment:

Alternatively, I think we can do a conversion to int in Telnet.__init__ (see 
patch)

--
keywords: +patch
nosy: +xuanji
Added file: http://bugs.python.org/file20035/issue10695.patch

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread Christian S. Perone

Christian S. Perone christian.per...@gmail.com added the comment:

I don't know, by doing this on __init__ we can break a lot of legacy codes.

--

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



[issue10694] zipfile.py end of central directory detection not robust

2010-12-14 Thread Xuanji Li

Xuanji Li xua...@gmail.com added the comment:

Hi, I would like to take a look at whether your code works, can you provide an 
zip file that is currently not read by zipfile but should be?

Also, I suggest you submit the code changes as a patch 
(http://www.python.org/dev/patches/)

thanks!

--
nosy: +xuanji

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread Xuanji Li

Xuanji Li xua...@gmail.com added the comment:

Hi, is there any legacy code that would rely on port being stored as a string 
rather than an integer?

--

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread Christian S. Perone

Christian S. Perone christian.per...@gmail.com added the comment:

Not from Python itself I think, but external, from users.

--

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Yes, for backward compatibility reasons it is better to make the change that 
fixes the thing that doesn't work and leave the rest alone.  Probably the 
change wouldn't break *much* existing user code, but why break anything when 
there doesn't seem to be any particular advantage to doing so?

--
nosy: +r.david.murray

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread Christian S. Perone

Christian S. Perone christian.per...@gmail.com added the comment:

Agree.

--

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



[issue5863] bz2.BZ2File should accept other file-like objects.

2010-12-14 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 Sorry, I'm giving up.

Indeed, I think only an extensive rewrite could fulfill the feature
request here.

 The copyright notice for bz2module.c lists Gustavo Niemeyer as one
 of the holders, is he the maintainer? Maybe he should be notified of
 this bug.

He hasn't been active for years, so I don't think he can still be
considered the maintainer.

--

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



[issue6559] add pass_fds paramter to subprocess.Popen()

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

Bug fix, unittest and documentation added in r87229.  Thanks!

--
resolution:  - accepted
status: open - closed

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



[issue10692] imap lib server compabilities

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Starttls support was only added in Python 3.2.  Apparently your server is set 
to disallow non-SSL connections.

Have you confirmed that the same server is listening on port 993 as is 
listening on port 143?  The debug info from imaplib makes it look like 
different capability information is being returned, though the banner does look 
the same.

Please run the regular IMAP4 test with debug on, I think it may be getting past 
the capabilities query before it produces the starttls error, and if so it 
would be interesting to compare the two debug traces.

--

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



[issue10692] imap lib server compabilities

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
versions: +Python 2.7 -Python 2.6

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



[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

I updated the documentation and changed the close_fds default on Windows to be 
True when possible per Giovanni's suggestion in r87229.  That keeps the API and 
defaults as consistent as possible across all platforms.

--
resolution:  - accepted
status: open - closed

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



[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

P.S.  Yes I will be backporting all of this to subprocess32.

--

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



[issue10262] Add --soabi option to `configure`

2010-12-14 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

shouldn't that option work on platforms too, which currently default to not 
using the soabi?  It would make sense for all posix, and macos, maybe not for 
Windows.

--

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



[issue10262] Add --soabi option to `configure`

2010-12-14 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

The soabi tag could be useful on Windows as well, for example if some package 
maintainer chooses another version of the compiler, or a custom version of 
MSVCRT.

And FWIW, PyPy currently uses --soabi=pypy-1.4 on all platforms: import foo 
will load foo.pypy-14.so (foo.pypy-14.pyd on Windows). There are also some 
specific abiflags. A difference is that PyPy will also ignore the default 
foo.so, because extension modules built for CPython will likely crash with PyPy.

--

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Fixed in py3k in r87230, with test.  Backported to 3.1 in r87231 and 2.7 in 
r87232.  The 2.7 backport doesn't include the test since the test 
infrastructure for it doesn't exist in the 2.7 test_telnetlib.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue10695] telnetlib.Telnet port number int/str inconsistency

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

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



[issue10262] Add --soabi option to `configure`

2010-12-14 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

Amaury, did you see my suggestion re $SOBASE and $SOEXTRA?

Also, do you think you can write some tests, even if they only run on a single 
platform?

I suspect the Makefile.pre.in part of the patch will have to be updated now.

Please be sure to test your changes with --enable-shared as well to make sure 
everything gets installed correctly.

--

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



[issue1731717] race condition in subprocess module

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

r87233 fixes the OSError escaping from wait() issue when SIGCLD is set to be 
ignored.  (to appear in 3.2beta1; it is a candidate for backporting to 3.1 and 
2.7)

--

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



[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

This is a known problem. See issues #1062277 and #9269.  You can work around 
the issue by using a dict.  I am attaching two test files. First, set-graph.py, 
reproduces the issue in 3.x and the second, dict-graph.py, contains a 
workaround.

--
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - Cannot pickle self-referencing sets
type: crash - behavior
Added file: http://bugs.python.org/file20036/set-graph.py

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



[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky

Changes by Alexander Belopolsky belopol...@users.sourceforge.net:


Added file: http://bugs.python.org/file20037/dict-graph.py

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



[issue10701] Error pickling a dict

2010-12-14 Thread Alexander Belopolsky

New submission from Alexander Belopolsky belopol...@users.sourceforge.net:

The work-around that I proposed for issue10700 does not work with Python 2.x:

$ python2.7 dict-graph.py
Vertex 0 - 2, 1
Vertex 1 - 
Vertex 2 - 
Traceback (most recent call last):
  File dict-graph.py, line 74, in module
p = pickle.dumps(g)
...
File .../Lib/pickle.py, line 661, in _batch_setitems
for k, v in items:
RuntimeError: dictionary changed size during iteration

--
files: dict-graph.py
messages: 123948
nosy: Leo.Na, belopolsky
priority: normal
severity: normal
stage: needs patch
status: open
title: Error pickling a dict
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file20038/dict-graph.py

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



[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-14 Thread Martin Budaj

Martin Budaj m.bu...@gmail.com added the comment:

 What do you mean by there is a test for this case in csv.py?  

I meant test in regex on line 217 in python 2.7 and the following code (line 
258ff):

# there is *no* delimiter, it's a single column of quoted data
delim = ''
skipinitialspace = 0

However, it is intended to detect just lines starting and ending with quotes.

--

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



[issue10700] python pickle.dumps AssertionError

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

It turns out that dict-graph.py does not work with python2.x, but that is a 
different problem, so I opened a separate issue for it.  See issue10701.

--

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



[issue1731717] race condition in subprocess module

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

sorry, i meant 3.2beta2 above.
release27-maint: r87234 targeting 2.7.2
release31-maint: r87235 targeting 3.1.4

--
resolution:  - fixed
status: open - closed

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



[issue10541] regrtest.py -T broken

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

Here is a simpler invocation that produces a similar error:

$ ./python.exe -m test.regrtest -T  test_trace test_pkg
...

IOError: [Errno 2] No such file or directory: 
'/var/folders/qs/qsqFUI2xFUKG+9CTf4z7pU+++TI/-Tmp-/tmpy1iyp7/t4/sub/__init__.py'

--

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



[issue10694] zipfile.py end of central directory detection not robust

2010-12-14 Thread Kevin Hendricks

Kevin Hendricks kevin.hendri...@sympatico.ca added the comment:

If you read the bug report it explains how to generate a testcase (i.e. append 
any data to the end of a zip archive)

Here it is as a step by step process 

1. simply take any working zip and call it testcase.zip 

2. do the following:

echo \r\n  testcase.zip 

If you run unzip -t on testcase.zip it will pass with flying colors and will 
properly unzip on every piece of zip software I have tried.

However if you try to use python to copy the zip archive to another zip archive

python ./zipfix.py testcase.zip junk.zip
Error Occurred  File is not a zip file

All because of the appended carriage return / linefeed at the end.

--

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



[issue10694] zipfile.py end of central directory detection not robust

2010-12-14 Thread Kevin Hendricks

Kevin Hendricks kevin.hendri...@sympatico.ca added the comment:

Here is one potential patch.  It simply incorporates and non-comment extraneous 
data into a final comment so that nothing is lost.  Another solution that might 
be safer, would be to truncate the zip archive immediately after the endrec is 
found if the extraneous data is not a properly formatted comment.  The right 
solution is obviously up to the developers of zipfile.py

--- zipfile_orig.py 2010-12-14 10:23:58.0 -0500
+++ zipfile.py  2010-12-14 10:30:21.0 -0500
@@ -228,6 +228,13 @@
 # structure present, so go look for it
 return _EndRecData64(fpin, start - filesize, endrec)
 return endrec
+else :
+# be robust to non-comment extaneous data after endrec
+# by making it a comment so that nothing is ever lost
+endrec[_ECD_COMMENT_SIZE] = len(comment)
+endrec.append(comment)
+endrec.append(maxCommentStart + start)
+return endrec
 
 # Unable to find a valid end of central directory structure
 return

--

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



[issue10587] Document the meaning of str methods

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

I am attaching a patch that expands the documentation of isalnum, isalpha, 
isdecimal, isdigit, isnumeric, islower, isupper, and isspace.  I did not change 
isidentifier or isprintable because their docs were already complete.  I also 
left out istitle because I could not figure out how to deal with the  confusion 
between Python and Unicode notions of titlecase.

I would also like to note that it appears that isdigit and isdecimal imply 
isnumeric, so s.isalnum() is equivalent to all(c.isalpha() or c.isnumeric() for 
c in s).  However the actual code does have redundant checks for isdecimal() 
and isdigit().  I think the documentation should reflect what the code does for 
an off-chance that someone would replace unicodedata with their own database 
with which these checks are not redundant.

--
assignee: d...@python - belopolsky
keywords: +patch
stage:  - commit review
Added file: http://bugs.python.org/file20039/issue10587.diff

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



[issue7183] did 2.6.3 regress for some uses of the __doc__ property?

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Since boost has changed their code and no one else has reported a problem and 
2.6 is now in bug fix only mode, I'm going to close this as out of date (sorry 
I overlooked it for 2.6.5).  

If anyone disagrees, let me know what we should change and why in 2.7.

--
resolution:  - out of date
stage: unit test needed - committed/rejected
status: open - closed

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



[issue1731717] race condition in subprocess module

2010-12-14 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

It seems the canonical spelling is SIGCHLD. SIGCLD doesn't exist everywhere and 
it produces test failures under OS X:

http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x
http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%203.x

FWIW, this is what POSIX says:

“Some implementations, including System V, have a signal named SIGCLD, which is 
similar to SIGCHLD in 4.2 BSD. POSIX.1 permits implementations to have a single 
signal with both names. POSIX.1 carefully specifies ways in which conforming 
applications can avoid the semantic differences between the two different 
implementations. The name SIGCHLD was chosen for POSIX.1 because most current 
application usages of it can remain unchanged in conforming applications. 
SIGCLD in System V has more cases of semantics that POSIX.1 does not specify, 
and thus applications using it are more likely to require changes in addition 
to the name change.”

http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap02.html

--
nosy: +pitrou

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



[issue6559] add pass_fds paramter to subprocess.Popen()

2010-12-14 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

It seems there are (intermittent?) test failures:

==
FAIL: test_pass_fds (test.test_subprocess.POSIXProcessTestCase)
--
Traceback (most recent call last):
  File 
/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test_subprocess.py, line 
1067, in test_pass_fds
fd to be closed passed)
AssertionError: {5} is not False : fd to be closed passed

==
FAIL: test_pass_fds (test.test_subprocess.ProcessTestCasePOSIXPurePython)
--
Traceback (most recent call last):
  File 
/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test_subprocess.py, line 
1067, in test_pass_fds
fd to be closed passed)
AssertionError: {5} is not False : fd to be closed passed

(from 
http://www.python.org/dev/buildbot/all/builders/sparc%20solaris10%20gcc%203.x/builds/2337/steps/test/logs/stdio
 )

--

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



[issue775964] fix test_grp failing when NIS entries present

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Committed to py3k in r87238, 3.1 in r87239, and 2.7 in r87240.  Thanks, Bobby.

--
nosy: +r.david.murray
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue10694] zipfile.py end of central directory detection not robust

2010-12-14 Thread Kevin Hendricks

Changes by Kevin Hendricks kevin.hendri...@sympatico.ca:


--
keywords: +patch
versions: +Python 2.5, Python 2.6
Added file: http://bugs.python.org/file20040/more_robust.diff

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



[issue10702] bytes and bytearray methods are not documented

2010-12-14 Thread Alexander Belopolsky

New submission from Alexander Belopolsky belopol...@users.sourceforge.net:

Library reference manual has a section dedicated to string methods [1], but 
similar methods of bytes and bytearray types are not documented.  Adding two 
new sections would probably be too repetitious, so I wonder if it would make 
sense to add notes about byte/bytearray methods to the matching string methods' 
entries.  See also issue10587.

[1] http://docs.python.org/dev/py3k/library/stdtypes.html#string-methods

--
assignee: d...@python
components: Documentation
messages: 123960
nosy: belopolsky, d...@python
priority: normal
severity: normal
status: open
title: bytes and bytearray methods are not documented
versions: Python 3.2

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



[issue10703] Regex 0.1.20101210

2010-12-14 Thread Steve Moran

New submission from Steve Moran s...@uw.edu:

The regex package doesn't seem to correctly implement the single grapheme match 
\X (\P{M}\p{M}*) for pre-Python 3. I'm using the string íi-te (i, U+0301, 
i, -, t, e -- where U+0301 is Unicode COMBINING ACUTE ACCENT), reading it in 
from a file to bypass Unicode cp issues in the older IDLEs). 


s...@x$ python3.1
Python 3.1.2 (r312:79147, May 19 2010, 11:50:28) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type help, copyright, credits or license for more information.
 import regex
 file = open(test_data, rt, encoding=utf-8)
 s = file.readline()
 print (s)
íi-te
 print (g.findall(s))
['í', 'i', '-', 't', 'e']

* Correct in 3.1 - i+U+0301 considered one grapheme.

s...@x$ python2.7
Python 2.7 (r27:82500, Oct  4 2010, 14:49:53) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type help, copyright, credits or license for more information.
 import codecs
 import regex
 file = codecs.open(test_data, r, utf-8)
 g = regex.compile(\X)
 s = file.readline()
 s
u'i\u0301i-te'
 print s.encode(utf-8)
íi-te
 print g.findall(s)
[u'i', u'\u0301', u'i', u'-', u't', u'e']

*Not correct -- accent is treated as a separate character.

Thanks.

--
components: Regular Expressions
messages: 123961
nosy: stiv
priority: normal
severity: normal
status: open
title: Regex 0.1.20101210
type: behavior
versions: Python 2.7

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



[issue4236] Crash when importing builtin module during interpreter shutdown

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Brett applied his doc patch in r69092.  Attached is a patch that combines 
Simon's patch with Martin's test program turned into a unit test.  I confirm 
that the test suite passes with the patch applied (and fails with just the test 
applied).

From the text of the original error message, I wonder if there is some way to 
trigger this error at interpreter startup, and if so whether or not that is 
tested by the test suite.

Otherwise, is there any reason not to apply this patch?

--
nosy: +r.david.murray
stage: needs patch - patch review
Added file: 
http://bugs.python.org/file20041/check-import-machinery-only-with-test.diff

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



[issue3080] Full unicode import system

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

With #1342 fixed, it seems that this issue is no longer critical (Haypo 
describes his complicated patch as useful on Windows, but not critical.  So 
I'm downgrading it to 'high'.  Perhaps it is even 'normal'.  It also seems as 
though it is currently languishing unless someone wants to pick it up.

--
nosy: +r.david.murray
priority: critical - high

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



[issue8040] It would be nice if documentation pages linked to other versions of the same document

2010-12-14 Thread Daniel Stutzbach

Changes by Daniel Stutzbach stutzb...@google.com:


--
versions:  -Python 3.2

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Steve Moran

New submission from Steve Moran s...@uw.edu:

Package doesn't want to install on Mac OS X 10.6.5 with Python 3.1 using 
instructions python3.1 setup.py install (or sudo python3.1 setup.py 
install).

Compiling with an SDK that doesn't seem to exist: 
/Developer/SDKs/MacOSX10.4u.sdk

Extended error log attached.

NB: I realize this package is in dev and it's got less than 50 current 
downloads. Thought I'd post anyway. I appreciate any input. Xcode is installed 
v 3.2.2. 64-bit.

--
components: Installation
files: regex-0.1.20101210-python31-install-error
messages: 123964
nosy: stiv
priority: normal
severity: normal
status: open
title: Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5
versions: Python 3.1
Added file: 
http://bugs.python.org/file20042/regex-0.1.20101210-python31-install-error

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



[issue10703] Regex 0.1.20101210

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

Regex 0.1.20101210 is not part of the standard Python distribution, so this bug 
report is invalid.

--
nosy: +belopolsky
resolution:  - invalid
status: open - closed
superseder:  - Regexp 2.7 (modifications to current re 2.2.2)

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

Regex 0.1.20101210 is not part of the standard Python distribution, so this bug 
report is invalid.  See issue2636 for the development status of regex.

--
nosy: +belopolsky
resolution:  - invalid
status: open - closed
superseder:  - Regexp 2.7 (modifications to current re 2.2.2)

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Steve Moran

Steve Moran s...@uw.edu added the comment:

Yeah, it's not immediately clear how to bring this up at

http://bugs.python.org/issue2636

On Tue, 14 Dec 2010, Alexander Belopolsky wrote:


 Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

 Regex 0.1.20101210 is not part of the standard Python distribution, so this 
 bug report is invalid.  See issue2636 for the development status of regex.

 --
 nosy: +belopolsky
 resolution:  - invalid
 status: open - closed
 superseder:  - Regexp 2.7 (modifications to current re 2.2.2)

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue10704
 ___


--

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



[issue10667] collections.Counter object in C

2010-12-14 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

Attaching a new patch for high-speed update() and __init__().  I also tried a C 
version of __missing__() but the speed-up was too small to be worth it.

--
resolution: later - 
stage:  - patch review
versions: +Python 3.2 -Python 3.3
Added file: http://bugs.python.org/file20043/fastcount.patch

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



[issue10703] Regex 0.1.20101210

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
assignee:  - mark.dickinson
nosy: +mark.dickinson, mrabarnett

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
nosy: +mrabarnett

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



[issue5368] curses patch add color_set and wcolor_set , and addchstr family of functions

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
stage:  - patch review
type:  - feature request

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



[issue8769] Straightforward usage of email package fails to round-trip

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
type:  - behavior

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



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Looks like it is won't fix, since it hasn't been.  It doesn't seem as though 
it is our responsibility to clean up crud in the windows registry introduced by 
other distributions.

--
assignee: loewis - 
nosy: +r.david.murray
resolution:  - wont fix
stage:  - committed/rejected
status: open - closed
type:  - behavior

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

On Tue, Dec 14, 2010 at 1:27 PM, Steve Moran rep...@bugs.python.org wrote:
..
 Yeah, it's not immediately clear how to bring this up at

 http://bugs.python.org/issue2636


This is the URL listed as the home page for regex 0.1.20101210 on PyPI
[1], so I assume the author(s) will be listening.  You can also
contact the author directly:

Matthew Barnett regex at mrabarnett plus com

[1] http://pypi.python.org/pypi/regex/0.1.20101210

--

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



[issue8127] Add link to PortingPythonToPy3k to What's New documentation

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Raymond, I'm adding you as nosy even though I'm closing the issue as out of 
date in case you do want to add a link in the 3.2 What's New.

--
nosy: +r.david.murray, rhettinger
resolution:  - out of date
status: open - closed
type:  - feature request

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



[issue8776] Bytes version of sys.argv

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
stage:  - needs patch
type:  - feature request
versions: +Python 3.3 -Python 3.2

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



[issue8828] Atomic function to rename a file

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
type:  - feature request
versions: +Python 3.3 -Python 3.2

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



[issue9285] A decorator for cProfile and profile modules

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
assignee: collinwinter - 
stage:  - patch review
type:  - feature request
versions: +Python 3.3 -Python 3.2

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



[issue9248] multiprocessing.pool: Proposal: waitforslot

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
stage:  - patch review
type:  - feature request
versions: +Python 3.3 -Python 2.6, Python 2.7

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



[issue9216] FIPS support for hashlib

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
type:  - feature request

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



[issue9048] no OS X buildbots in the stable list

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Thanks to Steven Hansen there are now OSX buildbots in the stable list.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type:  - feature request

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



[issue4506] 3.0 make test failures on Solaris 10

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Are there any open problems left here or can this bug be closed?

--

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



[issue1525919] email package quoted printable behaviour changed

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
type:  - behavior

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79

New submission from J_Tom_Moon_79 jtm.moon.forum.user+pyt...@gmail.com:

Function HTTPConnection.set_debuglevel(level)
There is no range of acceptable debug levels.
What should be the difference in set_debuglevel(1) and set_debuglevel(1000)?
If the documentation lists the levels this would save users from needing to do 
tedious trial-error experimentation.

From
http://docs.python.org/py3k/library/http.client.html#http.client.HTTPConnection.set_debuglevel

--
assignee: d...@python
components: Documentation
messages: 123974
nosy: JTMoon79, d...@python
priority: normal
severity: normal
status: open
title: HTTPConnection.set_debuglevel has no information about level range
versions: Python 3.1

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Matthew Barnett

Matthew Barnett pyt...@mrabarnett.plus.com added the comment:

I use Windows XP, so I can't help with MacOS X.

From the error log it looks like it doesn't like the sources for Python either!

--

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Or, since this is Python, they could look at the code and find out that all 
levels above zero are equivalent.  (If I had to guess I'd say 'level' was 
either future proofing or designed for the use of subclasses).

But you are right, this should be mentioned in the documentation.  Care to 
propose a patch?

--
nosy: +r.david.murray
type:  - behavior
versions: +Python 2.7, Python 3.2

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



[issue10703] Regex 0.1.20101210

2010-12-14 Thread Matthew Barnett

Matthew Barnett pyt...@mrabarnett.plus.com added the comment:

The regex module is intended to replace the re module, so its default behaviour 
is the same: in Python 2, regexes default to matching ASCII, and in Python 3, 
they default to matching Unicode.

If you want to use a regex on a Unicode string in Python 2 then you need to set 
the Unicode flag, either by providing the UNICODE flag or by putting (?u) in 
the regex itself.

--

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



[issue4236] Crash when importing builtin module during interpreter shutdown

2010-12-14 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

Nothing jumps to my mind.

--

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



[issue8106] SSL session management

2010-12-14 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
versions: +Python 3.3 -Python 3.2

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



[issue10706] kill runtests.sh

2010-12-14 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

There are two official ways to run tests:
- make test for beginners
- ./python -m test [etc.] for experts

runtests.sh serves no useful purpose and had completely outdated reporting, 
making it potentially confusing for newcomers who would try to test it. I 
therefore propose to kill it.

--
components: Tests
messages: 123979
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: kill runtests.sh
type: behavior
versions: Python 3.2

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



[issue10707] compileall is broken

2010-12-14 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

$ ./python -m compileall
Traceback (most recent call last):
  File /home/antoine/py3k/__svn__/Lib/runpy.py, line 160, in 
_run_module_as_main
__main__, fname, loader, pkg_name)
  File /home/antoine/py3k/__svn__/Lib/runpy.py, line 73, in _run_code
exec(code, run_globals)
  File /home/antoine/py3k/__svn__/Lib/compileall.py, line 223, in module
exit_status = int(not main())
  File /home/antoine/py3k/__svn__/Lib/compileall.py, line 205, in main
if os.path.isdir(dest):
  File /home/antoine/py3k/__svn__/Lib/genericpath.py, line 41, in isdir
st = os.stat(s)
TypeError: Can't convert 'NoneType' object to str implicitly

--
components: Library (Lib)
messages: 123980
nosy: benjamin.peterson, ncoghlan, pitrou
priority: high
severity: normal
status: open
title: compileall is broken
type: behavior
versions: Python 3.2

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



[issue10707] compileall is broken

2010-12-14 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +r.david.murray

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

The 10.4u SDK is an optional install in the OS X 10.6 Xcode Developer Tools 
package.  There is an option in the Xcode installer to customize; just select 
the 10.4u package to install it.

--
nosy: +ned.deily

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



[issue10453] Add -h/--help option to compileall

2010-12-14 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Works under Windows 7.

--
nosy: +pitrou

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

FWIW, I was able to install Regex 0.1.20101210 on OSX 10.6.4, 

Developer Information:

  Version:  3.2 (10M2003)
  Location: /Developer
  Applications:
  Xcode:3.2.1 (1613)
  Interface Builder:3.2.1 (740)
  Instruments:  2.0.1 (1096)
  Dashcode: 3.0 (328)
  SDKs:
  Mac OS X:
  10.5: (9J61)
  10.6: (10M2003)

using either python 3.1.2 or current py3k branch from svn.

--

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



[issue10453] Add -h/--help option to compileall

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

committed in r87248.

--
resolution:  - accepted
stage: unit test needed - committed/rejected
status: open - closed

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

When you use python 3.1 from a python.org OS X installer, it is built with the 
10.4u SDK and a deployment target of 10.3 and up. Distutils ensures that any 
extension modules are built using the same values as the interpreter itself 
which is why the 10.4u SDK is needed.  This is true for all current 32-bit 
(10.3+) python.org installers for OS X.  If you build it yourself, you have 
other options.

--

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



[issue10453] Add -h/--help option to compileall

2010-12-14 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for going through.  Nice patch!

--
resolution: accepted - fixed

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



[issue10667] collections.Counter object in C

2010-12-14 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

rhettinger's fastcount.patch looks good to me.  a couple style nits but they're 
minor.

no space between if and (?  yuck.   short variable names like it?  yuck.

but the code looks good otherwise.  i'm all for it.

--
nosy: +gregory.p.smith

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



[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

 If you build it yourself, you have other options.

Yes, my python3.1 is from MacPorts.

--

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



[issue10707] compileall is broken

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
superseder:  - Add -h/--help option to compileall

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



[issue10706] kill runtests.sh

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

+1

As far as I could tell it is left over from the pre-unittest days and not 
completely updated.  A few people may miss it, but they'll learn :)

--
nosy: +r.david.murray

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



[issue10541] regrtest.py -T broken

2010-12-14 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

I am attaching a patch that fixes write_results() and makes test_trace tests 
restore the tracefunc after they run.  This fixes generation off the coverage 
files, but many tests still fail when traced.

--
keywords: +patch
stage: needs patch - patch review
versions: +Python 3.2
Added file: http://bugs.python.org/file20044/issue10541.diff

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79

J_Tom_Moon_79 jtm.moon.forum.user+pyt...@gmail.com added the comment:

Hi David,
Currently the 3.1 documentation reads:
HTTPConnection.set_debuglevel(level)¶
Set the debugging level (the amount of debugging output printed). The 
default debug level is 0, meaning no debugging output is printed.
How about:
HTTPConnection.set_debuglevel(level)¶
Set the debug level.  The debug level is the amount of debugging output 
printed. 
The default debug level is 0, meaning no debugging output is printed.
Currently, any debug level value greater than 0 prints the same amount of 
debugging output.
debugging output is printed to stdout.

Information is from the file C:\Python\ActivePython3.1.2.3\Lib\http\client.py

--

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79

J_Tom_Moon_79 jtm.moon.forum.user+pyt...@gmail.com added the comment:

 Care to propose a patch?
oops.  I just found http://www.python.org/dev/patches/
I'll get around to creating a PEP sometime soon.

--

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



[issue3080] Full unicode import system

2010-12-14 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 Haypo describes his complicated patch as useful on Windows, 
 but not critical

Usecase on Windows: your japanese friend gives you an USB key (eg. created on 
Windows with code page 932) with his Python project, you cannot run it on your 
english speaking Windows (eg. code page 1252), because it loads Python modules 
with japanese characters in their paths.

It works if all paths are encodable to your ANSI code page. It doesn't work if 
a least one character of one path is not encodable to your ANSI code page.

I don't know if this usecase is common or not.

Note: the FAT file system of the USB key stores filenames as UTF-16 (and not in 
the user code page).

--

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



[issue3080] Full unicode import system

2010-12-14 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 Haypo describes his complicated patch as useful on Windows, 
 but not critical

Usecase on Windows: your japanese friend gives you an USB key (eg. created on 
Windows with code page 932) with his Python project, you cannot run it on your 
english speaking Windows (eg. code page 1252), because it loads Python modules 
with japanese characters in their paths.

It works if all paths are encodable to your ANSI code page. It doesn't work if 
a least one character of one path is not encodable to your ANSI code page.

I don't know if this usecase is common or not.

Note: the FAT file system of the USB key stores filenames as UTF-16 (and not in 
the user code page).

--

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



[issue10703] Regex 0.1.20101210

2010-12-14 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
assignee: mark.dickinson - 
nosy:  -mark.dickinson

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



[issue2226] Small _abcoll Bugs / Oddities

2010-12-14 Thread Daniel Stutzbach

Daniel Stutzbach stutzb...@google.com added the comment:

Minor point of clarity: you mean __rand__ not __radd__, right?  Set objects do 
not support addition at all.

Adding the __rand__ methods to collections.Set in and of itself is 
straightforward:

def __rsub__(self, other):
return self._from_iterable(other) - self
__ror__ = __or__
__rand__ = __and__
__rxor__ = __xor__

I'm not sure I understand the can of worms.  While replacing concrete tests 
with abstract tests may be worthwhile goal in its own right, why is it 
necessary to solve the particular shortcoming of missing __r* methods?

Probably I'm missing something.  With just the minimal change above, what kinds 
of things do you expect to fail?

(assuming Issue8743 is also fixed)

--

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

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


--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

testing autonosy for release managers with release blockers

--
nosy: +barry, benjamin.peterson, ezio.melotti, georg.brandl
priority: normal - release blocker

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Works fine. Now release managers will be added automatically to the nosy list 
when the priority of an issue is set to 'release blocker'.
See http://psf.upfronthosting.co.za/roundup/meta/issue363

--
priority: release blocker - normal

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



[issue4236] Crash when importing builtin module during interpreter shutdown

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Committed to py3k in r87251, 3.1 in r87252, and 2.7 in r87255.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I think a PEP is a bit of overkill for a small doc update :)  A patch would be 
fine...but I can also just make the change.  I'll probably tweak your wording a 
bit.

--

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

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


--
nosy:  -ajaksu2, barry, benjamin.peterson, georg.brandl, loewis
versions:  -Python 2.6, Python 2.7, Python 3.1, Python 3.2

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

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


--
priority: normal - release blocker
versions: +Python 3.2

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



[issue8743] set() operators don't work with collections.Set instances

2010-12-14 Thread Daniel Stutzbach

Daniel Stutzbach stutzb...@google.com added the comment:

Would it be sufficient to:

1) Restrict collections.Set()'s operators to accept collection.Set but not 
arbitrary iterables, and
2) Fix Issue2226 and let set() | MySimpleSet() work via collections.Set.__ror__

Attached is a patch that implements this approach, nominally fixing both this 
and Issue2226.

This solutions seems much too simple in light of how long I've been thinking 
about these bugs.  I suspect there are code hobgoblins waiting to ambush me. ;)

--
Added file: http://bugs.python.org/file20045/set-with-Set.patch

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



[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-12-14 Thread Michael Foord

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


--
nosy: +michael.foord

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



[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-12-14 Thread Michael Foord

Michael Foord mich...@voidspace.org.uk added the comment:

Presumably not an issue for 3.1/3.2.

(Terry - I assume Sean means the fix is in the bug report comment when he says 
'inline'.) A patch and a test would still be nice.

--
versions: +Python 2.7 -Python 2.6

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



[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-12-14 Thread Michael Foord

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


--
versions: +Python 2.6

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



[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I've committed a fix in r87256.  I looked at the code some more and tried to be 
a precise as possible without getting too wordy.  (The fix will get backported 
by and by.)

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue2771] test issue

2010-12-14 Thread Ezio Melotti

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


--
priority: release blocker - deferred blocker
versions:  -Python 3.2

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



  1   2   >