Michael Newman michael.b.new...@gmail.com added the comment:
The example is working correctly for:
Python 3.2a3 (r32a3:85355, Oct 10 2010, 17:11:45) [MSC v.1500 32 bit (Intel)]
on win32
# First test:
C:\mikec:\Python32\python.exe s2.py
main line
module name: __main__
parent process: 2360
Michael Newman michael.b.new...@gmail.com added the comment:
No problem. Please note its actually fixed in r78895 (trunk), r78896 (py3k) and
r78897 (release31-maint). Your previous message had the svn revision numbers
off by 1000.
--
___
Python
Michael Newman michael.b.new...@gmail.com added the comment:
I noticed the same behavior today.
Let's consider a test case using my python script version_check.py (attached).
Normally the script does the following on my Ubuntu 9.10 box:
# Python 2.6 example:
m...@ebx2009:~/test$ which python
Michael Newman michael.b.new...@gmail.com added the comment:
Perhaps this is now really a bug:
# Response to e-mail to webmas...@python.org:
#
This is the mail system at host mail.python.org.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients
Michael Newman michael.b.new...@gmail.com added the comment:
I posted the copyright note, and the reply bot bug on the wiki at:
http://wiki.python.org/moin/SiteImprovements
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7929
New submission from Michael Newman michael.b.new...@gmail.com:
Attached is a version checking script. When you run it normally, it produces
output such as:
E:\notes\Programming\python3c:\Python26\python.exe version_check.py
2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel
New submission from Michael Newman michael.b.new...@gmail.com:
The attached example unit test file shows that assertDictContainsSubset cannot
handle error messages that need to show integer keys. Below is the output of
the test suite, where test_mixed_keys_fail has an error (code mistake
New submission from Michael Newman michael.b.new...@gmail.com:
test.support.captured_output is not covered in the online documents:
http://docs.python.org/3.1/library/test.html
http://docs.python.org/dev/py3k/library/test.html
However, it does have a docstring in C:\Python31\Lib\test\support.py
New submission from Michael Newman michael.b.new...@gmail.com:
I found that pydoc.stripid doesn't strip the ID in Python 2.5, 2.6, and 3.1. I
assume the problem is probably present in 2.7 and 3.2/dev.
For a little history, see this older issue back for Python 2.3:
http://bugs.python.org
New submission from Michael Newman michael.b.new...@gmail.com:
In the turtle module documentation:
http://docs.python.org/3.1/library/turtle.html
http://docs.python.org/py3k/library/turtle.html
Currently it says Deprecated since Python 3.1 under the turtle.tiltangle
section. That should
New submission from Michael Newman michael.b.new...@gmail.com:
In 20.24.1.1. SimpleXMLRPCServer Example:
http://docs.python.org/3.1/library/xmlrpc.server.html
The client portion of the example uses mul, which does not exist in the
server portion. The easiest fix to change the client to use div
New submission from Michael Newman michael.b.new...@gmail.com:
In Section 20.23.3 Binary Objects of:
http://docs.python.org/3.1/library/xmlrpc.client.html
The server AND client examples fail because the read and write methods are not
set to binary mode.
Example of what the client portion
New submission from Michael Newman michael.b.new...@gmail.com:
Following the example in Section 20.23.5. ProtocolError Objects of:
http://docs.python.org/3.1/library/xmlrpc.client.html
It implies that an invalid URL will give raise an xmlrpc.client.ProtocolError.
Instead I'm getting
New submission from Michael Newman michael.b.new...@gmail.com:
Telnet.interact() is failing on Python 3.1.1 Windows, but works fine on Python
2.6.4 Windows and also works on Python 3.1.1 Linux. See 3 examples below:
--- Test #1 (fails): Telnet.interact on Python 3.1.1 Windows ---
Python
New submission from Michael Newman michael.b.new...@gmail.com:
For the ssl module documentation at:
http://docs.python.org/3.1/library/ssl.html
I noticed that SSLSocket.unwrap() description is listed twice in the
17.3.2. SSLSocket Objects section.
--
assignee: georg.brandl
components
New submission from Michael Newman michael.b.new...@gmail.com:
The 16.6.1.1. The Process class section of the multiprocessing
documentation:
http://docs.python.org/dev/py3k/library/multiprocessing.html
has errors in both examples.
The first example needs the indentation fixed on the from
Michael Newman michael.b.new...@gmail.com added the comment:
# Revised example that is more platform neutral (avoids sys.platform):
from multiprocessing import Process, current_process
import os
def info(title):
print(title)
print('module name:', __name__)
if not hasattr(os
Michael Newman michael.b.new...@gmail.com added the comment:
Watch out on Line 247 of r73293:
bytes objcet
should be:
bytes object
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4309
Michael Newman michael.b.new...@gmail.com added the comment:
Regarding Section 15.15.1.5. Calling functions, continued on:
http://docs.python.org/3.0/library/ctypes.html
I would recommend changing the first example code block to the following:
printf = libc.printf
printf(bHello, %s\n, bWorld
New submission from Michael Newman michael.b.new...@gmail.com:
The server portion of the example at:
15.6.9. Sending and receiving logging events across a network
http://docs.python.org/3.0/library/logging.html
uses import cPickle which is not available for Python 3.0.1
Python 3.0.1 (r301:69561
New submission from Michael Newman michael.b.new...@gmail.com:
The attached ZIP file contains test.bat which runs test.py with
Python 2.6 and Python 3.0.
Python 2.6 behaves as expected (see py26.out), since it returns
strings from both mike.txt and mike.txt.gz. However, the same test
New submission from Michael Newman michael.b.new...@gmail.com:
os.path.ismount gives UnboundLocalError for any input in Python 3.0:
Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
import
New submission from Michael Newman michael.b.new...@gmail.com:
The recipe for unique_justseen listed on:
http://docs.python.org/3.0/library/itertools.html
uses imap, which is not available in Python 3.0.
I fixed it by changing imap to just map, and I also changing
itemgetter
New submission from Michael Newman michael.b.new...@gmail.com:
cmath.cos and cmath.cosh have nResult typo in their help text.
Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
import cmath
help
New submission from Michael Newman michael.b.new...@gmail.com:
This is related to:
http://bugs.python.org/issue3628
http://bugs.python.org/issue4808
I found in the example at the bottom of:
http://docs.python.org/3.0/library/queue.html
t.set_daemon(True)
won't work.
Python 3.0 (r30:67507, Dec
New submission from Michael Newman michael.b.new...@gmail.com:
This is related to:
http://bugs.python.org/issue3628
http://bugs.python.org/issue4808
I found in the example at the bottom of:
http://docs.python.org/3.0/library/queue.html
t.set_daemon(True)
won't work.
Python 3.0 (r30:67507, Dec
Michael Newman michael.b.new...@gmail.com added the comment:
It seems to be working consistently (see UTF-16 extreme example below),
but I had expected it to act similarly to Python 2.6, which it does not.
I suppose this is due to the distinction now made between strings and
bytes in Python 3.0
New submission from Michael Newman michael.b.new...@gmail.com:
formatyearpage is returning bytes, not str
Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win
32
Type help, copyright, credits or license for more information.
import calendar
calendar.HTMLCalendar
New submission from Michael Newman michael.b.new...@gmail.com:
UnicodeEncodeError occurs for Microsoft portion of license().
Confirmed on 3 separate Windows XP computers:
Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license
29 matches
Mail list logo