I have two reported bugs in the bug tracker waiting on tests:
http://bugs.python.org/issue8128
http://bugs.python.org/issue4037
Are there any guidelines for writing tests for the standard library and
language? I've googled, but found nothing useful: lots of guidelines for
writing tests, and of
On Sat, 20 Mar 2010 06:23:14 +, Steven D'Aprano wrote:
Are there any guidelines for writing tests for the standard library and
language? I've googled, but found nothing useful: lots of guidelines for
writing tests, and of course I've read PEP 8, but I'm not sure if there
are conventions
On 06:52 am, st...@remove-this-cybersource.com.au wrote:
but when I try running the test, I get an error:
$ python test_unicode_interpolation.py
Options: {'delimiter': None}
str of options.delimiter = None
repr of options.delimiter = None
len of options.delimiter
Traceback (most recent call
Patrick Maupin wrote:
Actually, I think I overstated my case -- there is some special logic
for len and built-in objects, I think.
Yes, len() invokes the C-level sq_len slot of the type object,
which for built-in types points directly to the C function
implementing the len() operation for
Jean-Michel Pichavant wrote:
You are still accessing the private attribute of the module logging.
Just reading it is a significantly more conservative approach than setting
it to an object with an unusual notion of equality ;)
My previous remark was misleading, in fact there's nothing you
I'd like to acquire a token, as below, but from Java:
def get_token(self,force=False) :
'''Return a tokey. A token is a special string that is used like
a session identification, but that expire rather quickly.'''
if ( force or (self._token == None) ) :
feedurl =
moerchendiser2k3, 20.03.2010 03:01:
Yes, the user is able to set a file which contains a function that
does what the user wants.
But in a case, I expect a special return value of this function.
Ah, ok, that was the important piece of information that you omitted from
your previous posts. So
On Sat, 20 Mar 2010 07:07:58 +, exarkun wrote:
What am I doing wrong?
Take a careful look at the stack being reported. Then, think of a
better name than test for your file.
Doh! *face-palm*
I was shadowing the test package with a long forgotten test module.
--
Steven
--
On Sat, 20 Mar 2010 09:17:14 +, Thufir wrote:
I'd like to acquire a token, as below, but from Java:
Perhaps you should be asking a Java discussion group? This group is for
discussing Python.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 20, 6:23 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
I have two reported bugs in the bug tracker waiting on tests:
http://bugs.python.org/issue8128http://bugs.python.org/issue4037
Are there any guidelines for writing tests for the standard library and
language?
On Mar 20, 6:52 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
I've found this:
http://docs.python.org/library/test.html
and I've written a small test:
$ cat test_unicode_interpolation.py
# For testinghttp://bugs.python.org/issue8128
import test.test_support
import
Hello,
I've run into a slight issue when turning my package hierarchy into a
parallel hierarchy of compiled cython extensions. Fue to the compilation
process, pure python and C modules must have the basename, and they're
located in the same folders.
Is there any way for me to ensure that,
Hi,
I wondered about the best way, that a module's function could determine
the existance and value of variables in the __main__ module.
What I came up with is:
### main.py ##
import mod
A = 4
if __name__ == __main__: mod.f()
### mod.py ##
def f():
try:
Aahz,
We've decided to build a re-usable *general purpose* PY2EXE runtime
that can be shared by a number of scripts vs. distributing a monolithic
EXE for each of our scripts.
It's not clear what the purpose of this is. You can build several
scripts against the same py2exe backend.
Yes you
* News123:
I wondered about the best way, that a module's function could determine
the existance and value of variables in the __main__ module.
What I came up with is:
### main.py ##
import mod
A = 4
if __name__ == __main__: mod.f()
### mod.py ##
def f():
On Mar 20, 12:04 am, Jimbo nill...@yahoo.com wrote:
Hello
I am trying to grab some numbers from a string containing HTML text.
Can you suggest any good functions that I could use to do this? What
would be the easiest way to extract the following numbers from this
string...
My String has
On Sat, 20 Mar 2010 13:16:08 +0100, News123 wrote:
Hi,
I wondered about the best way, that a module's function could determine
the existance and value of variables in the __main__ module.
What I came up with is:
### main.py ##
import mod
A = 4
if __name__ ==
Hi Steven,
Steven D'Aprano wrote:
On Sat, 20 Mar 2010 13:16:08 +0100, News123 wrote:
Hi,
I wondered about the best way, that a module's function could determine
the existance and value of variables in the __main__ module.
What I came up with is:
### main.py ##
I'm having a small multiprocessing manager:
# ##
import socket,sys
from multiprocessing.managers import BaseManager
mngr = BaseManager(address=('127.0.0.1',8089),authkey='verysecret')
try:
srvr = mngr.get_server()
except socket.error as e:
print probably address
I'm trying to understand the description of method object creation in
the python 2.6 language reference (3.2. The standard type hierarchy)
with little success. The points knocking me are:
User-defined method objects may be created when getting an attribute
of a class (perhaps via an instance of
On Sat, 20 Mar 2010 14:32:03 +0100, News123 wrote:
You try to import from __main__, but the other module is called
main. __main__ is a special name, which Python understands as meaning
this module that you are in now. For example:
My choice of names was perhaps not very smart. I could have
On 20-3-2010 14:38, News123 wrote:
I'm having a small multiprocessing manager:
# ##
import socket,sys
from multiprocessing.managers import BaseManager
mngr = BaseManager(address=('127.0.0.1',8089),authkey='verysecret')
try:
srvr = mngr.get_server()
except
News123 wrote:
Steven D'Aprano wrote:
snip
Now, in your case you escape that trap, because the import is inside a
function, so it doesn't occur until you call the function. But it is
still considered poor practice: it is best to avoid circular imports
unless you really, really need them.
Hi Irmen,
Irmen de Jong wrote:
On 20-3-2010 14:38, News123 wrote:
I'm having a small multiprocessing manager:
# ##
import socket,sys
from multiprocessing.managers import BaseManager
mngr = BaseManager(address=('127.0.0.1',8089),authkey='verysecret')
try:
Joaquin Abian gatoyga...@gmail.com wrote:
User-defined method objects may be created when getting an attribute
of a class (perhaps via an instance of that class), if that attribute
is a user-defined function object, an unbound user-defined method
object, or a class method object. When the
On 3/20/2010 10:52 AM, News123 wrote:
Hi Irmen,
Irmen de Jong wrote:
On 20-3-2010 14:38, News123 wrote:
I'm having a small multiprocessing manager:
# ##
import socket,sys
from multiprocessing.managers import BaseManager
mngr =
On 3/20/2010 9:54 AM, Joaquin Abian wrote:
I'm trying to understand the description of method object creation in
the python 2.6 language reference (3.2. The standard type hierarchy)
with little success. The points knocking me are:
User-defined method objects may be created when getting an
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed.
Whenever I apt-get install anything It ends with a series of python
(dependency?) errors. Anybody got any idea?
aptget libgcj-common
Reading package lists...
Done
Building dependency
tree
Reading state information...
Done
Terry Reedy wrote:
On 3/20/2010 10:52 AM, News123 wrote:
Hi Irmen,
Irmen de Jong wrote:
On 20-3-2010 14:38, News123 wrote:
I'm having a small multiprocessing manager:
# ##
import socket,sys
from multiprocessing.managers import BaseManager
mngr =
On Sat, Mar 20, 2010 at 1:00 PM, waugust waugustyn...@gmail.com wrote:
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed.
Whenever I apt-get install anything It ends with a series of python
(dependency?) errors. Anybody got any idea?
aptget libgcj-common
Reading package
In article 4b9e0c1f.9020...@canterbury.ac.nz,
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
It turned out to be a very standard CRC algorithm, complicated
by the presence of a few extra bytes of data being checked that
didn't appear explicitly in the file anywhere.
In the process I developed
waugust wrote:
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed.
Whenever I apt-get install anything It ends with a series of python
(dependency?) errors. Anybody got any idea?
aptget libgcj-common
Reading package lists...
Done
Building dependency
tree
Reading state
On Sat, 20 Mar 2010 10:00:47 -0700, waugust wrote:
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed. Whenever
I apt-get install anything It ends with a series of python (dependency?)
errors. Anybody got any idea?
It looks like apt-get is supposed to be using 2.6 or 2.5, but
On Mar 20, 10:25 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 20 Mar 2010 10:00:47 -0700, waugust wrote:
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed. Whenever
I apt-get install anything It ends with a series of python (dependency?)
errors.
JOBS IN FINLAND JOBS FINLAND FINLAND JOBS ACCOUNTS JOBS IN
FINLAND FINANCE JOBS IN FINLAND AGRI JPBS IN FINLAND MEDICAL
JOBS IN FINLAND ON JOBS http://jobs-in-finland.blogspot.com/
JOBS IN FINLAND JOBS FINLAND FINLAND JOBS ACCOUNTS JOBS IN
FINLAND FINANCE JOBS IN FINLAND AGRI JPBS IN
what do i do to remove this crap? how do i moderate it?
why not gpg sign messages on python-list that way you know your authorized
to post and spammers will have one more vector to deal with, there in
stopping the not so leet
-Alex Goretoy
--
http://mail.python.org/mailman/listinfo/python-list
Moderating this stuff requires moderating all messages. It would take a team
of volunteers.
On Sat, Mar 20, 2010 at 12:55 PM, alex goretoy agore...@gmail.com wrote:
what do i do to remove this crap? how do i moderate it?
why not gpg sign messages on python-list that way you know your
On Sat, 20 Mar 2010 12:55:26 -0600
alex goretoy agore...@gmail.com wrote:
what do i do to remove this crap? how do i moderate it?
First, please remove spam URLs when following up. You left them in the
subject.
Maybe it's time to stop gatewaying the newsgroup to the mailing list.
As a test I
On Sat, Mar 20, 2010 at 1:37 PM, D'Arcy J.M. Cain da...@druid.net wrote:
aybe it's time to stop gatewaying the newsgroup to the mailing list.
As a test I have moved all Python posts from gmail.com with a
Newsgroup header into
ok thx, I'm learning as I go along
-Alex Goretoy
--
On Mar 20, 5:39 pm, Terry Reedy tjre...@udel.edu wrote:
On 3/20/2010 9:54 AM, Joaquin Abian wrote:
I'm trying to understand the description of method object creation in
the python 2.6 language reference (3.2. The standard type hierarchy)
with little success. The points knocking me are:
On Mar 20, 5:24 pm, Duncan Booth duncan.bo...@invalid.invalid wrote:
Joaquin Abian gatoyga...@gmail.com wrote:
User-defined method objects may be created when getting an attribute
of a class (perhaps via an instance of that class), if that attribute
is a user-defined function object, an
I need to create a class solely for the purpose of encapsulating
a large number of disparate data items. At the moment I have no
plans for any methods for this class other than the bazillion
accessors required to access these various instance variables.
(In case it matters, this class is
Pyspread 0.1 released
=
After a long and eventful Alpha period, pyspread has finally reached
Beta stage. I thank all contributors and testers who have helped
getting pyspread to this point.
About:
--
Pyspread is a cross-platform Python spreadsheet application. It is
On Mar 20, 11:51 pm, Luis M. González luis...@gmail.com wrote:
On Mar 20, 12:04 am, Jimbo nill...@yahoo.com wrote:
Hello
I am trying to grab some numbers from a string containing HTML text.
Can you suggest any good functions that I could use to do this? What
would be the easiest way
On Sat, Mar 20, 2010 at 3:15 PM, kj no.em...@please.post wrote:
I need to create a class solely for the purpose of encapsulating
a large number of disparate data items. At the moment I have no
plans for any methods for this class other than the bazillion
accessors required to access these
On Mar 20, 10:40 am, waugust waugustyn...@gmail.com wrote:
On Mar 20, 10:25 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 20 Mar 2010 10:00:47 -0700, waugust wrote:
I have 2.5 (for GAE), 2.6 (Ubuntu default), and 3.1 installed. Whenever
I apt-get install
Its an extremely bad idea to use regex for HTML. You want to change one tiny
little thing and you have to write the regex all over again. if its a
throwaway script, then go ahead.
2010/3/20 Luis M. González luis...@gmail.com
On Mar 20, 12:04 am, Jimbo nill...@yahoo.com wrote:
Hello
I am
Just initialize everything in the constructor, unless you have *really *good
reason not to do that.
On Sat, Mar 20, 2010 at 6:54 PM, Chris Rebert c...@rebertia.com wrote:
On Sat, Mar 20, 2010 at 3:15 PM, kj no.em...@please.post wrote:
I need to create a class solely for the purpose of
On Sat, 20 Mar 2010 22:15:54 +, kj wrote:
I need to create a class solely for the purpose of encapsulating a large
number of disparate data items.
There's a built-in for that. It's called dict. Syntax for item access
is a tiny bit different, but still very common:
data['foo']
instead of
Regular expression are very powerful, and I use them a lot in my
paying job (unfortunately not with Python). You are however,
basically using a second programing language, which can be difficult
to master.
Does this give you the desired result?
import re
matches =
Ned Deily n...@acm.org added the comment:
This failure seems to be caused by major changes to test_macpath. I'm not sure
how much of this is really applicable to macpath which implements the obsolete
MacOS 9 path functions. Perhaps leave well enough alone?
--
nosy: +flox, ned.deily
Ned Deily n...@acm.org added the comment:
r78585 to test_pep277.py recently enabled this test for all POSIX systems but
note the warning in r33595.
--
nosy: +flox, ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8180
Florent Xicluna florent.xicl...@gmail.com added the comment:
The changes enabled more tests for all *path related modules.
Please try attached patch.
--
components: +Macintosh
keywords: +patch
priority: - normal
resolution: - accepted
type: - behavior
versions: +Python 3.2
Added
New submission from Nobody/Anonymous:
body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top
b...@section top b...@tip Choose a set of colors that look good with the colors
of your logo image or text
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8181
___
___
Python-bugs-list mailing list
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16594/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8181
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
title: Guenstiger kaufen Sie Software nicht! - spam
___
Python tracker rep...@bugs.python.org
Steven D'Aprano steve+pyt...@pearwood.info added the comment:
I've assumed that the documentation is correct, and that %s%obj should call
__str__ for unicode objects as well as everything else.
Attached in a test file.
--
Added file:
Florent Xicluna florent.xicl...@gmail.com added the comment:
This patch should fix the test on OS X platforms.
--
components: +Macintosh, Unicode
keywords: +patch
priority: - normal
resolution: - accepted
stage: needs patch - patch review
type: - behavior
versions: +Python 3.2
Added
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8179
___
Jelly Chen sinoje...@gmail.com added the comment:
I know why those two tests run failed, and I found another way to solve the
problem, do not make the existing tests broken, and at the same time I have
added another test case.
I encountered this problem due to a argument is already being a tuple
Steven D'Aprano steve+pyt...@pearwood.info added the comment:
I have fixed the issue with line length, and taken Brian's advice re valname.
Updated patch for doctest and test.test_doctest2 is attached.
--
Added file: http://bugs.python.org/file16599/doctest_patch
R. David Murray rdmur...@bitdance.com added the comment:
I believe that backporting this change to 2.6 is inappropriate. It will more
than likely cause perfectly correct code to stop working, and that is not
something we like to do in a maintenance release.
I believe that the bug on the
Brian Curtin cur...@acm.org added the comment:
RegDeleteKeyEx will only work on a Windows version of 5.2 or greater (Vista/XP
x64), and XP is 5.1, so RegDeleteKeyEx can't be a simple drop-in under the
DeleteKey name.
CreateKeyEx is different though since it goes as far back as Win2k, and it
Florent Xicluna florent.xicl...@gmail.com added the comment:
A patch with more Unicode normalization tests.
Could you test it on Windows or Mac OS X?
--
Added file: http://bugs.python.org/file16600/issue8180_pep277_additions.diff
___
Python tracker
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8180
___
___
Benjamin Peterson benja...@python.org added the comment:
Committed the 2to3 fixer in r79137.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2356
New submission from Michael Foord mich...@voidspace.org.uk:
$ ./python.exe Lib/test/test_imp.py
test_find_module_encoding (__main__.ImportTests) ... ok
test_issue1267 (__main__.ImportTests) ... ok
test_issue3594 (__main__.ImportTests) ... ok
test_issue5604 (__main__.ImportTests) ... ERROR
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - test_imp fails on OS X; filename normalization issue.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8182
Florent Xicluna florent.xicl...@gmail.com added the comment:
Note: issue #8180 is related to the same NFC/NFD issue.
http://developer.apple.com/mac/library/qa/qa2001/qa1173.html
--
components: +Macintosh, Unicode
nosy: +flox
resolution: - accepted
New submission from Ben Artin ba000...@artins.org:
Running the following script crashes my 2.6.1 interpreter on two different
platforms:
from warnings import warn
class TestWarning(Warning):
def __str__(self):
return u'\u00ae'
warn(TestWarning())
Platforms I tried
New submission from news1234 news1...@free.fr:
Following code snippet will behave differently on Linux and windows hosts.
Under linux the script can only be run once.
The second call will raise an exception, as the previous program is
already listening to pot 8089.
Under Windows however the
New submission from Jean-Michel Fauth wxjmfa...@gmail.com:
sys.version
2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
(Intel)]
import re
re.match([-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?, 1.23e-4).group()
1.23e-4
re.search([-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?,
Florent Xicluna florent.xicl...@gmail.com added the comment:
Could you tell if the patch fix the issue?
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file16601/issue8133_test_imp.diff
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
That patch works for me.
(You should probably commit the comment fix in the patch separately though,
rather than mixing it up with this issue.)
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
I cannot reproduce this with python 2.6.4 or trunk on linux.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8183
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - test needed
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2550
___
New submission from Nobody/Anonymous:
body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top
b...@section top b...@tip Choose a set of colors that look good with the colors
of your logo image or text
Michael Foord mich...@voidspace.org.uk added the comment:
Committed to Py3k in revision 79141, revision 79142 and revision 79143.
--
resolution: - accepted
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Changes by Brian Curtin cur...@acm.org:
--
resolution: - invalid
status: open - closed
title: Hohe Qualitaet und beste Preise garantiert. - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8186
Sean Reifschneider j...@tummy.com added the comment:
Since this needs review, and Christian is the author of that PEP, I'm assigning
it to him. If not appropriate, any suggestions on where to get visibility to
get reviewers?
--
assignee: ronaldoussoren - christian.heimes
nosy:
Changes by Sean Reifschneider j...@tummy.com:
--
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7072
___
___
Python-bugs-list
New submission from Nobody/Anonymous:
body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top
b...@section top b...@tip Choose a set of colors that look good with the colors
of your logo image or text
Changes by Brian Curtin cur...@acm.org:
--
resolution: - invalid
status: open - closed
title: Online kaufen die beste Software! - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8187
___
Sean Reifschneider j...@tummy.com added the comment:
Tarek: This patch seems reasonable to me, is this something that can be applied?
--
nosy: +jafo
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4931
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - jnoller
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8184
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I guess i can be applied on distutils, and backported in distutils2. I'll do it
in the coming days.
Notice that I am now applying only bug fixes and regression fixes now for
distutils.
--
components: +Distutils2
resolution: -
Jon Clements jon...@googlemail.com added the comment:
Seems consistent to me:
.match, .search and .finditer return a MatchObject whose .group() return the
*entire matched string*. If you use .group(1) you'll get similar results to
.findall() which returns a list of (possibly of tuples) of the
Brett Cannon br...@python.org added the comment:
Patch works for me as well. Go ahead and commit it, Florent, with the comment
fix as a separate commit as Mark suggested.
--
assignee: brett.cannon - flox
stage: patch review - commit review
___
Brett Cannon br...@python.org added the comment:
Can't reproduce under OS X with Python 2.6.5. Closing as out of date.
--
nosy: +brett.cannon
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Yuriy Taraday yorik@gmail.com added the comment:
os.popen is obsolete and as I understand is removed from 3k. Use subprocess
module instead.
http://docs.python.org/library/os.html?highlight=popen#os.popen
--
nosy: +yorik.sar
___
Python tracker
New submission from Mark Dickinson dicki...@gmail.com:
Here's a patch that makes hash(x) == hash(y) for any numeric types (int, float,
complex, Decimal, Fraction, bool) when x and y are numerically equal.
This is a prerequisite for making all numeric types accurately comparable with
each
Florent Xicluna florent.xicl...@gmail.com added the comment:
Fixed with r79144 on 3.x and r79146 on 3.1.
--
resolution: accepted - fixed
stage: commit review - committed/rejected
status: open - pending
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Uploaded to Rietveld:
http://codereview.appspot.com/660042
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8188
___
R. David Murray rdmur...@bitdance.com added the comment:
Well, actually os.popen in Python3 is implemented by calling subprocess.Popen.
So, Bob, how does it fail?
--
nosy: +r.david.murray
priority: - normal
stage: - test needed
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
What Jon said is correct, .group() is equivalent to .group(0) and returns the
whole match. re.findall returns all the groups captured by each set of () as a
list of strings (if there is 0 or 1 group) or a list of tuples (if there are
more
New submission from Nobody/Anonymous:
body,#wrap{text-align:center;margin:0px;background-color:#FFFEF8;}/*...@tab Top
b...@section top b...@tip Choose a set of colors that look good with the colors
of your logo image or text
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8189
___
___
Python-bugs-list mailing list
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16605/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8189
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
title: Gute Programme billig hier! - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8189
1 - 100 of 120 matches
Mail list logo