Michael Newman 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:\mike>c:\Python32\python.exe s2.py
main line
module name: __main__
parent process: 2360
process id: 1584
functio
Michael Newman 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 tracker
<h
New submission from Michael Newman :
In the second example given in "27.8.1. Traceback Examples" at:
http://docs.python.org/3.1/library/traceback.html
http://docs.python.org/py3k/library/traceback.html
which has the lumberjack:
The last line won't work in Python 3.1
Michael Newman 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
<http://bugs.python.org/issue7
Michael Newman 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 recipi
Michael Newman 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
/u
New submission from Michael Newman :
Attached is a version checking script. When you run it normally, it produces
output such as:
E:\notes\Programming\python3>c:\Python26\python.exe version_check.py
2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
E:\notes\Programm
New submission from Michael Newman :
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" (see
b
New submission from Michael Newman :
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), while
"test
New submission from Michael Newman :
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/issue934282
The foll
New submission from Michael Newman :
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.
New submission from Michael Newman :
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 &q
New submission from Michael Newman :
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 a socket.gaierror instead. (I
New submission from Michael Newman :
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 shows if you use the examples
New submission from Michael Newman :
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 3.1.1 (r311:74483, Aug 17 2009
New submission from Michael Newman :
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.br
Michael Newman 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, 'getppid'):
New submission from Michael Newman :
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" and &q
Michael Newman added the comment:
Watch out on Line 247 of r73293:
"bytes objcet"
should be:
"bytes object"
--
___
Python tracker
<http://bu
Michael Newman 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(b&qu
New submission from Michael Newman :
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 :
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&quo
New submission from Michael Newman :
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 inf
New submission from Michael Newman :
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
"
New submission from Michael Newman :
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 &q
New submission from Michael Newman :
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 3 2008,
New submission from Michael Newman :
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 3 2008,
Michael Newman 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.
I was initially
New submission from Michael Newman :
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 mor
New submission from Michael Newman :
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", &
30 matches
Mail list logo