New submission from George Yoshida:
Documentation defines os.wait3 function as :
os.wait3([options])
but, this argument is required(no default options are set), so
os.wait3(options)
is the correct definition.
http://docs.python.org/3.3/library/os.html#os.wait3
--
assignee: docs
New submission from George Yoshida:
In the following sentence:
http://docs.python.org/3.3/library/ctypes.html
16.17.1.19. Surprises
There are some edges in ctypes where you may be expect something else than
what actually happens.
you may be expect should read you may expect
George Yoshida qui...@users.sourceforge.net added the comment:
Under 2.6, there's another failure:
As for 2.6/2.7 issues, changing 'assertListEqual' to 'assertEqual' should
suffice.
--
keywords: +patch
nosy: +quiver
Added file: http://bugs.python.org/file18496/2.6.diff
George Yoshida qui...@users.sourceforge.net added the comment:
test_initgroups fails only if the test is invoked by a root and
the user is assigned to only one group.
If I understand test_initgroups correctly, it
(1)looks for an unused gid,
(2)inits process user's group with that gid,
(3)checks
Changes by George Yoshida qui...@users.sourceforge.net:
Removed file: http://bugs.python.org/file18498/test_setgroups.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9581
Changes by George Yoshida qui...@users.sourceforge.net:
Added file: http://bugs.python.org/file18499/test_setgroups.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9581
George Yoshida qui...@users.sourceforge.net added the comment:
FAIL: test_setgroups (test.test_posix.PosixGroupsTester)
--
Traceback (most recent call last):
File /home/antoine/py3k/__svn__/Lib/test/test_posix.py, line 428
Changes by George Yoshida qui...@users.sourceforge.net:
Added file: http://bugs.python.org/file18500/py3k.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9581
George Yoshida qui...@users.sourceforge.net added the comment:
The example ... has *2* typos
I guess the reporter wants to point out
- extra parenthesis(fixed in r71544)
- closing quote is missing for authkey argument
--
nosy: +quiver
status: closed - open
New submission from George Yoshida qui...@users.sourceforge.net:
In What's new in 2.6 PEP 343 section, the following sentence lacks a
closing parenthesis:
The expression is evaluated, and it should result in an object that
supports the context management protocol (that is, has __enter__
New submission from George Yoshida qui...@users.sourceforge.net:
Download page for 2.5.3 documantation is not ready.
---
Go to Documentation top page:
http://docs.python.org/
click Previous versions
click Python 2.5.3
click Download all these documents
But this URL, http://www.python.org
[EMAIL PROTECTED] wrote:
Pass your script to Perl via standard input:
echo print 'Hello, world' | perl -
$ echo print 'hello, world' | python -
hello, world
Cheers,
--
george
--
http://mail.python.org/mailman/listinfo/python-list
Bengt Richter wrote:
[name for dec,name in sorted((int(nm.split('.')[1]),nm) for nm in namelist)]
['test.1', 'test.2', 'test.3', 'test.4', 'test.10', 'test.15', 'test.20']
Giving a key argument to sorted will make it simpler::
sorted(namelist, key=lambda x:int(x.rsplit('.')[-1]))
-- george
Kongulo(google crawling tool) seems to be using your App, py2exe.
Great work, Thomas!
Thomas Heller wrote:
Jeremy Jones [EMAIL PROTECTED] writes:
I've got a couple of new articles on ONLamp:
Writing Google Desktop Search Plugins
http://www.onlamp.com/pub/a/python/2005/06/01/kongulo.html
PyTJ wrote:
I need to convert a Japanese Shift-JIS CSV file to Unicode UTF-8.
My machine is a Windows 98 english computer with Python 2.3.4
Any hints?.
First, you need to install codecs to support japanese encodings.
Python 2.3.* does not support SJIS by default.
I'll give you two
praba kar wrote:
In Php we can print RFC 2822 formatted date by
date('r') with parameter r. Then it will print the
below format date.
Thu, 7 Apr 2005 01:46:36 -0300.
I want to print same RFC 2822 format in python. Is it
possible in python? . If possible kindly mention the
Harlin Seritt wrote:
{1:1} Random text here. {1:2} More text here. and so on.
Of course the {*} can be of any length, so I can't just do .split()
based on the length of the bracket text. What I would like to do is to
.split() using something akin to this:
textdata.split('{*}') # The '*'
Rakesh wrote:
To quote a much smaller trimmed-down example, here is how it looks
like:
## ---
# Entry Point to the whole program
## ---
def main():
mylist = GenerateList()
minnumber =
Jive Dadson wrote:
I've got some code that compiles some text and then executes it. When
the string is print 'Hello', it prints Hello. I get no exception
when I compile and execute foo = 555. If I then compile and exec
print foo, I get a name error. The variable foo is undefined. My
assumption
alexrait1 wrote:
I use popen.popen2 or popen.popen3 to start a new process and read from
it's stdout/ write to it's stdin.
But I need a way to know when a process terminates.
Do you know about a library that provides these tools other then the
standard os module... or should I use it otherwise?
20 matches
Mail list logo