Version v0.2 (initial) of `PyDSP`, a GUI digital filter design tool, has been
posted to PyPi:
http://pypi.python.org/pypi/PyDSP/0.2
-db
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
I'm happy to announce that after eight years of designing, coding
and testing, the first stable version of pyasn1 software has been
released:
http://pypi.python.org/pypi/pyasn1/0.0.13
The pyasn1 pure-Python library features generic implementation of ASN.1
types and BER/CER/DER codecs,
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 12:55 AM, Dennis Lee Bieber wrote:
Maybe it's been removed, but from the help file for my installation
help(file) returns a NameError in 3.2. It shows up as a built-in
function in the 2.7 docs, but not in the py3k docs. It's not
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
How should I go about switching from concatenation to string formatting
for this?
avs.write(demux_filter + field_filter + fpsin_filter + i2pfilter +
dn_filter + fpsout_filter + trim_filter + info_filter)
I can think of a few ways, but none of
Phlip, 10.07.2011 07:10:
On Jul 9, 8:38 pm, Ben Finneyben+pyt...@benfinney.id.au wrote:
Phlipphlip2...@gmail.com writes:
On Jul 9, 7:39 pm, mark curpheym...@curphey.com wrote:
Thanks. FWIW I played with a bunch (Freshen, Morelia, Lettuce)
Morelia is undermaintained because it's
On 7/9/2011 6:34 PM, Steven D'Aprano wrote:
Suppose instead an implementation of Python did not pre-compile the
function. Each time you called spam(n), the implementatio n would have to
locate the source code and interpret it on the spot. Would that be
allowed?
If that's your question, then I
Andrew Berg bahamutzero8825 at gmail.com writes:
How would I do that with the newer formatting? I've tried:
There are examples in the blog post I linked to earlier:
http://plumberjack.blogspot.com/2010/10/supporting-alternative-formatting.html
Regards,
Vinay Sajip
--
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 02:23 AM, Vinay Sajip wrote:
There are examples in the blog post I linked to earlier:
It seems that would require logutils. I'm trying to keep dependencies to
a minimum in my project, but I'll take a look at logutils and see if
On 10/07/11 04:01, John Salerno wrote:
Thanks everyone! I probably should have said something like Python,
if possible and efficient, otherwise any other method ! :)
I'll look into the Task Scheduler. Thanks again!
You may use Celery
Andrew Berg bahamutzero8825 at gmail.com writes:
On 2011.07.10 02:23 AM, Vinay Sajip wrote:
There are examples in the blog post I linked to earlier:
It seems that would require logutils. I'm trying to keep dependencies to
a minimum in my project, but I'll take a look at logutils and see if
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 04:47 AM, Vinay Sajip wrote:
You don't need logutils, just the BraceMessage class - which is
shown in the blog post (around 10 lines). Feel free to use it with
copy and paste :-)
I didn't realize that was the actual class when I
John Salerno johnj...@gmail.com writes:
I have a script that does some stuff that I want to run every day for
maybe a week, or a month. So far I've been good about running it every
night, but is there some way (using Python, of course) that I can make
it automatically run at a set time each
On Fri, Jul 8, 2011 at 8:37 PM, Billy Mays no...@nohow.com wrote:
I recently wrote a program after reading an article (
http://www.hackerfactor.com/**blog/index.php?/archives/432-**
Looks-Like-It.htmlhttp://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html)
using the DCT
Andrew Berg wrote:
How should I go about switching from concatenation to string formatting
for this?
avs.write(demux_filter + field_filter + fpsin_filter + i2pfilter +
dn_filter + fpsout_filter + trim_filter + info_filter)
I can think of a few ways, but none of them are pretty.
fields =
Hi all,
I wonder if Python provides a way to define anonymous functions containing
multiple statements? With lambda form, we can only define a function of a
single
expression. In Javascript, it is possible to define
a full-fledged anonymous functions, which suggests it is useful to have it.
In article mailman.828.1310280324.1164.python-l...@python.org,
Andrew Berg bahamutzero8...@gmail.com wrote:
How should I go about switching from concatenation to string formatting
for this?
avs.write(demux_filter + field_filter + fpsin_filter + i2pfilter +
dn_filter + fpsout_filter +
smith jack wrote:
have run this program for many times,and the result is always 5050
You might not need to make it in a multiprocess environment
Try it in the python (3) shell
tot= 0
for k in range(1,100):
... tot += k
... print(tot)
...
And watch the risults.
--
goto /dev/null
--
I think it would add great value, since without it I'm unlikely to
bother using Morelia in any project. The maintenance burden is too high
to keep adding dependencies that come from a distinct dependency system
outside my OS.
pip freeze! Specifically, we already added pip freeze and
On 7/10/2011 7:21 AM, Yingjie Lan wrote:
I wonder if Python provides a way to define anonymous functions containing
multiple statements?
No, intentionally not. Forget this idea. Multiple functions named
'lambda' are inferior for representation purposes, like in error
tracebacks, to those
Two of my feature requests for Morelia:
- integrate with the test runner (nose etc.) to provide one
dot . per passing step
- insert a long multi-line abstract string (typically
XML) with inside [[CDATA-style escaping tags
- the ability to stub a step as not passing yet
- the
On Jul 4, 3:43 am, Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
rantingrick wrote:
what concerns me is the fact that virtual methods in derived
classes just blend in to the crowd.
I think we really need some
sort of visual cue in the form of forced syntactical notation (just
like
On Mon, Jul 11, 2011 at 3:15 AM, rantingrick rantingr...@gmail.com wrote:
I suggest we solve this dilemma by forcing a syntax tag when
declaring clobbering virtual functions.
Python has other dilemmas, too. I suggest we adopt the same solution.
For instance, every statement should begin with a
Consider the following:
## code
def test():
This is my docstring
print(??) ## can I print the docstring above?
## /code
It possible for a function to print it's own docstring?
thanks
(pointers to docs could be sufficient)
--
Tim
tim at johnsons-web dot com or akwebsoft dot com
On Jul 10, 12:41 pm, Tim Johnson t...@johnsons-web.com wrote:
It possible for a function to print it's own docstring?
def f():
docstring
print docstring
any questions?
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 12:41 PM, Tim Johnson wrote:
It possible for a function to print it's own docstring?
def test():
... Hi there.
... print(test.__doc__)
...
test()
Hi there.
- --
CPython 3.2 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
On Jul 10, 10:21 am, Ben Finney ben+pyt...@benfinney.id.au wrote:
Phlip phlip2...@gmail.com writes:
'sudo pip install morelia' just worked for me, on Ubuntu.
The problem with ‘pip’ is that it's a parallel package installation that
ignores the available package management system on the OS.
On Mon, Jul 11, 2011 at 3:47 AM, Andrew Berg bahamutzero8...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 12:41 PM, Tim Johnson wrote:
It possible for a function to print it's own docstring?
def test():
... Hi there.
... print(test.__doc__)
Thanks for the tips. I actually had done some studies with Python, mainly
Python 3, back about 6 months ago and over a period of a few months.
I didn't write a great deal of programs though, at the time. I got away
from it in a while and I didn't want to go back to step one of being like a
* Andrew Berg bahamutzero8...@gmail.com [110710 09:59]:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 12:41 PM, Tim Johnson wrote:
It possible for a function to print it's own docstring?
def test():
... Hi there.
... print(test.__doc__)
Holy Moly. Of course!
Hello all:
I'm working on a server that will need to parse packets sent from a
client, and construct it's own packets.
The setup is something like this: the first two bytes is the type of the
packet.
So, lets say we have a packet set to connect. There are two types of
connect packet: a auth
def findself():
Find myself. Ooh look, there I am!
import sys
try:
1/0
except:
traceback=sys.exc_info()[2]
# Now I'm not sure what to do with traceback.
# traceback.tb_frame.f_code.co_name is the function
On Sun, Jul 10, 2011 at 4:59 PM, Littlefield, Tyler ty...@tysdomain.com wrote:
Hello all:
I'm working on a server that will need to parse packets sent from a client,
and construct it's own packets.
The setup is something like this: the first two bytes is the type of the
packet.
So, lets say
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 02:28 PM, Bruce Whealton wrote:
If you know of any good resources for finding python applications on
the web, this might be a good way to learn. I don't know if I
should look for Python applications, or if I'll have more luck
rusi rustompm...@gmail.com writes:
Just curious: Do you manage to stay within debian packages and have
all the python packages you want/need at the versions that are most
convenient?
When that's not the case, I consider it not a status quo to live with,
but a problem to be addressed.
--
\
Greetings everyone;
Fresh High School graduate here with a passion for problem solving. My
last 2 years of HS I took programming courses (actually fairly good
ones; yay for good tech departments) that showed me
QuickBasic
VisualBasic
C++
Java
(in that order)
A friend of mine often talked about
I'm not sure how a function can get a generic handle to itself, but if
you're willing to hardcode the function name, then this technique works:
def test():
This is my doc string
print test.__doc__
test()
Outputs:
This is my doc string
Malcolm
--
On 07/11/2011 12:06 AM, Eric wrote:
My problem is this though... I don't know what to do with this new
found knowledge of these languages. I'm a linux user so availability
of development tools is haaardly a problem. But I just don't know
what to do with it, I don't have any problems that
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 05:06 PM, Eric wrote:
But I just don't know what to do with it
You and I are quite different. I don't enjoy programming much, but
Python is a great tool to accomplish a few goals that I have.
I don't have any problems that need
On 10-Jul-11 13:44 PM, rantingrick wrote:
On Jul 10, 12:41 pm, Tim Johnsont...@johnsons-web.com wrote:
It possible for a function to print it's own docstring?
def f():
docstring
print docstring
any questions?
Try:
def f():
ds= docstring
print ds
Colin W.
--
On 07/11/2011 12:22 AM, Thomas Jollans wrote:
On 07/11/2011 12:06 AM, Eric wrote:
My problem is this though... I don't know what to do with this new
found knowledge of these languages. I'm a linux user so availability
of development tools is haaardly a problem. But I just don't know
what
In article mailman.852.1310336017.1164.python-l...@python.org,
pyt...@bdurham.com wrote:
I'm not sure how a function can get a generic handle to itself, but if
you're willing to hardcode the function name, then this technique works:
def test():
This is my doc string
print
Roy Smith wrote:
The canonical way to do that would be something like
fields = [demux_filter,
field_filter,
fpsin_filter,
i2pfilter,
dn_filter,
fpsout_filter,
trim_filter,
info_filter]
avs.write(''.join(fields))
I
* pyt...@bdurham.com pyt...@bdurham.com [110710 14:17]:
I'm not sure how a function can get a generic handle to itself, but if
you're willing to hardcode the function name, then this technique works:
def test():
This is my doc string
print test.__doc__
test()
Works for me.
Ok Guys. I know that most of us have been expiriencing the need for a
nice Gui builder tool for RAD and most of us have been googling for it
a lot of times. But seriously. Why is the not even one single RAD tool
for Python. I mean what happened to boa constructor that it stopped
developing. I
On Sunday, July 10, 2011 3:50:18 PM UTC-7, Tim Johnson wrote:
Here's a related question:
I can get the docstring for an imported module:
import tmpl as foo
print(foo.__doc__)
Python templating features
Author - tim at akwebsoft dot com
## Is it possible to get the module
Excerpts from Colin J. Williams's message of Sun Jul 10 18:28:15 -0400 2011:
Try:
def f():
ds= docstring
print ds
That doesn't actually make a docstring, though. It makes a string object and
points the name ds at it. Do you know what a docstring is?
def foo():
I am a
Excerpts from Carl Banks's message of Sun Jul 10 18:59:02 -0400 2011:
print __doc__
Python 2.7.1 (r271:86832, Jul 8 2011, 22:48:46)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
def foo():
... Docstring
... print __doc__
...
foo()
None
Excerpts from Ivan Kljaic's message of Sun Jul 10 18:50:31 -0400 2011:
Ok Guys. I know that most of us have been expiriencing the need for a
nice Gui builder tool for RAD and most of us have been googling for it
a lot of times. But seriously. Why is the not even one single RAD tool
for Python.
On 07/10/2011 05:50 PM, Tim Johnson wrote:
* pyt...@bdurham.compyt...@bdurham.com [110710 14:17]:
def test():
This is my doc string
print test.__doc__
test()
Works for me. Works for the application I'm after. thanks
Here's a related question:
## Is it possible to get the
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 09:33 AM, Roy Smith wrote:
The canonical way to do that would be something like
fields = [demux_filter, field_filter, fpsin_filter, i2pfilter,
dn_filter, fpsout_filter, trim_filter, info_filter]
avs.write(''.join(fields))
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.10 06:06 PM, Corey Richardson wrote:
Python 2.7.1 (r271:86832, Jul 8 2011, 22:48:46) [GCC 4.4.5] on
linux2 Type help, copyright, credits or license for more
information.
def foo():
... Docstring ... print __doc__ ...
In order to find the end of the packet, include a field that is the
packet length. This is what IP packets do to find the end of their
header.
http://en.wikipedia.org/wiki/IPv4#Header
And the TCP header (see data offset) does the same:
On Jul 10, 6:50 pm, Ivan Kljaic iklj...@gmail.com wrote:
Ok Guys. I know that most of us have been expiriencing the need for a
nice Gui builder tool for RAD and most of us have been googling for it
a lot of times. But seriously. Why is the not even one single RAD tool
for Python. I mean what
Colin J. Williams c...@ncf.ca writes:
On 10-Jul-11 13:44 PM, rantingrick wrote:
On Jul 10, 12:41 pm, Tim Johnsont...@johnsons-web.com wrote:
It possible for a function to print it's own docstring?
def f():
docstring
print docstring
Try:
def f():
ds= docstring
* Carl Banks pavlovevide...@gmail.com [110710 15:18]:
On Sunday, July 10, 2011 3:50:18 PM UTC-7, Tim Johnson wrote:
Here's a related question:
I can get the docstring for an imported module:
import tmpl as foo
print(foo.__doc__)
Python templating features
Author -
On Sun, Jul 10, 2011 at 5:00 PM, Tim Johnson t...@johnsons-web.com wrote:
* Carl Banks pavlovevide...@gmail.com [110710 15:18]:
On Sunday, July 10, 2011 3:50:18 PM UTC-7, Tim Johnson wrote:
snip
## Is it possible to get the module docstring
## from the module itself?
print __doc__
On Sun, Jul 10, 2011 at 4:06 PM, Corey Richardson kb1...@aim.com wrote:
Excerpts from Carl Banks's message of Sun Jul 10 18:59:02 -0400 2011:
print __doc__
Python 2.7.1 (r271:86832, Jul 8 2011, 22:48:46)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
* Chris Rebert c...@rebertia.com [110710 16:14]:
Where is general documentation on the subject of variables
beginning with 2 underscores?
I've never heard that phrase used to describe __doc__ or its friends.
:) That why I wasn't satified with my search results.
Look in the underscore
Excerpts from Chris Rebert's message of Sun Jul 10 20:16:23 -0400 2011:
The question Carl's code was in answer to was, slightly paraphrased:
Is it possible to get a *module*'s docstring from within the module
itself?
The question had nothing to do with *function* docstrings.
Ah. My bad,
It sounds to me like you need a better IDE, better documentation,
and/or better code to work on and use. I don't understand why it's
difficult to look at a derived class as see what methods are
overridden. If you are working on the code, it is quite obvious what
methods exist in the base class.
On Sun, Jul 10, 2011 at 3:50 PM, Ivan Kljaic iklj...@gmail.com wrote:
Ok Guys. I know that most of us have been expiriencing the need for a
nice Gui builder tool for RAD and most of us have been googling for it
a lot of times. But seriously. Why is the not even one single RAD tool
for Python.
On Sun, 2011-07-10 at 15:50 -0700, Ivan Kljaic wrote:
Ok Guys. I know that most of us have been expiriencing the need for a
nice Gui builder tool for RAD and most of us have been googling for it
a lot of times. But seriously. Why is the not even one single RAD tool
for Python. I mean what
Because RAD tools are for GUI toolkits, not for languages. If you're
using GTK, Glade works fine. Same with QT and QTDesigner. If you're
using WPF with IronPython, t
These [Glade, etc...] are *NOT* RAD tools. They are GUI designers. A
RAD tool provides a GUI designer that can be bound to a
As someone who was a Visual Studio user for many years, I felt much
the same way you do when I made the jump to Python on Linux last year.
But then I discovered Glade and am quite satisfied.
Glades UI design paradigm is a little different than that of VS but
it's not so hard that you couldn't
On Mon, 11 Jul 2011 09:00 am Corey Richardson wrote:
Excerpts from Colin J. Williams's message of Sun Jul 10 18:28:15 -0400
2011:
Try:
def f():
ds= docstring
print ds
That doesn't actually make a docstring, though. It makes a string object
and points the name ds at it. Do
I've created a google mailing list for the discussion of the backup program
I've been working on, backshift.
You can find it at:
backsh...@googlegroups.com
And I'd be pleased if you were to choose to join, if you're interested in
the subject of Python and Backups.
--
Are you sending binary data if so you can use the struct module to pack,
unpack and interpret binary data http://docs.python.org/library/struct.html
,
You will have to design the header scheme yourself you can
either embed length in the packets or try to use a carefully selected
delimiter
Hi Everyone,
So I've built a UI with Glade and have loaded it using the standard
Python code. In my UI, I have a textfield called txtUsername. How do I
get and set the text in this field from my Python code?
Thanks!
Anthony
--
Anthony Papillion
Advanced Data Concepts
Get real about your
Thanks folks,
Tried all of these, and went with staticmethod(). Was cleanest
solution,
After skimming over Steven's post: use staticmethod.
No idea why I didn't think of that myself.
Kannan
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 10, 7:31 pm, Michael Hrivnak mhriv...@hrivnak.org wrote:
It sounds to me like you need a better IDE, better documentation,
and/or better code to work on and use.
Yes the last two points are relevant here. However whilst IDE choice
belongs to the user, documentation and code are in the
paypal payment wholesale all brand
shoes(NIKE,ADIDAS,LV,GUCCI,CHANEL,PRADA,POLO,UGG BOOTS,DG,DIOR )and
so on.
paypal payment wholesale all brand clothing(T-
SHIRT,JEANS,JERSEY,HOODIES,JACKETS,HARDY,SWEATER,SHIRTS )and so on .
http://www.24hour-buy.com
paypal payment all brand
In mailman.877.1310350451.1164.python-l...@python.org Anthony Papillion
papill...@gmail.com writes:
So I've built a UI with Glade and have loaded it using the standard
Python code. In my UI, I have a textfield called txtUsername. How do I
get and set the text in this field from my Python
I don't know anything about Glade, so I can't answer your question
definitively. However, as a general rule, you can use the dir() builtin
function to see what methods are defined by an object.
Hi John,
Thanks for the input and it looks like it's pretty simple. Basically, I
can access the
On Jul 11, 9:00 am, Corey Richardson kb1...@aim.com wrote:
def qux():
'And even me! Quote type don't matter (besides style)'
Well, style and the presence of the string literal notation in the
quoted text :)
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 11, 9:06 am, Corey Richardson kb1...@aim.com wrote:
Excerpts from Carl Banks's message of Sun Jul 10 18:59:02 -0400 2011:
print __doc__
Python 2.7.1 (r271:86832, Jul 8 2011, 22:48:46)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information. def
foo():
I can't believe you're saying that you will create a sub-class without
taking the time to understand the base class. Seriously? That right
there is why you are seeing method overrides that aren't documented.
How can you document something you don't understand? Furthermore, how
can you have any
Dnia Sun, 10 Jul 2011 21:14:10 -0500, Anthony Papillion napisał(a):
So I've built a UI with Glade and have loaded it using the standard
Python code. In my UI, I have a textfield called txtUsername. How do I
get and set the text in this field from my Python code?
Jesse R jessr...@gmail.com wrote:
Hey I've been trying to convert this to run through ctypes and i'm
having a hard time
typedef struct _SYSTEM_PROCESS_ID_INFORMATION
{
HANDLE ProcessId;
UNICODE_STRING ImageName;
} SYSTEM_PROCESS_IMAGE_NAME_INFORMATION,
v
FOR GOOD JOBS SITES TO YOU
http://goodjobssites.blogspot.com/
FOR HOT PHOTOVIDEOS
TAMANNA HOT SEXY PHOTOS VIDEOS
http://southactresstou.blogspot.com/2011/07/tamanna-wallpapers.html
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of the Python development team, I am pleased to announce the
final release of Python 3.2.1.
Python 3.2.1 is the first bugfix release for Python 3.2, fixing over 120
bugs and regressions in Python 3.2.
For an extensive list of changes and
I am looking to use xauth in python?It is for my command line process,I would
like to have few examples and resources.
--
http://mail.python.org/mailman/listinfo/python-list
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3177
___
___
Python-bugs-list
New submission from Georg Brandl ge...@python.org:
The POST example in the httplib docs references musi-cal.mojam.com, which is
now defunct.
--
assignee: docs@python
components: Documentation
keywords: easy
messages: 140074
nosy: docs@python, georg.brandl
priority: low
severity: normal
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
The current glossary entry is fine and encompasses was is ordinarily meant by
attribute as distinct from a method.
We sometimes use the term loosely to mean any value whether callable or not.
And sometimes it is used loosely to
R. David Murray rdmur...@bitdance.com added the comment:
As an experienced Python programmer, I think of 'attribute' as meaning any
attribute (method or non-method) of an object or class. I sometimes do use it
imprecisely (to my mind) to mean non-method attribute, and it is usually
clear
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +Library (Lib) -None
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12523
___
New submission from Amandeep Singh newtodiswo...@gmail.com:
I created a thread, and started it and then called its run method. It raised an
AttributeError exception
from threading import Thread
def func():
print 'abc'
t = Thread(None, func)
t.start()
t.run()
here t.run() raises an
Changes by R. David Murray rdmur...@bitdance.com:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12523
___
___
R. David Murray rdmur...@bitdance.com added the comment:
OK, I found the other issue and it looks like we agreed to use 'attributes and
methods' where the reference was inclusive. I still think that it is less
precise to think this way, but it is clearer exposition given the lack of a
good
Eric V. Smith e...@trueblade.com added the comment:
Don't call both start() and run(). From the documentation, start() arranges for
run() to be called. After the call to start(), 'abc' is printed.
--
components: +Extension Modules -Build
nosy: +eric.smith
resolution: - invalid
status:
Amandeep Singh newtodiswo...@gmail.com added the comment:
I am also not able to call run() twice. I have python 2.5.2 with me, in which I
am able to call run method twice and calling run after start is working.
--
status: pending - open
___
Python
Amandeep Singh newtodiswo...@gmail.com added the comment:
May be this is a behavior change, that a thread can not be run again. I think
documentation needs to be changed in this case.
--
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
While it's not explicitly documented that run() also shouldn't be called
multiple times, it does not need to be supported. Threads can be started
exactly once -- this is already mentioned in the docs.
Note that run() simply calls the thread
New submission from Michael Mulich michael.mul...@gmail.com:
The issue, as best I can describe it, is in how the a release list
(packaging.pypi.dist.ReleaseList) looks up releases.
Here is a simple example using a random package on PyPI.
crawler = Crawler()
projects =
New submission from Brian Jones bkjo...@gmail.com:
The documentation here:
http://docs.python.org/dev/library/unittest.html#unittest.TestCase.assertRaisesRegex
Indicates that, when used as a context manager, assertRaisesRegex should accept
a keyword argument 'msg'. However, that doesn't appear
Benjamin Peterson benja...@python.org added the comment:
You're not getting this?
.FFE
==
ERROR: test_intfail4 (__main__.TestInt)
--
Traceback (most recent
Brian Jones bkjo...@gmail.com added the comment:
No, I'm not. I'm sorry for not including this output initially. Here's what I
get (and I've added a sys.version_info line just to be double sure the right
executable is being invoked at runtime):
sys.version_info(major=3, minor=3, micro=0,
Brian Jones bkjo...@gmail.com added the comment:
If there's some reason, based on the source snippet I posted from case.py, that
my msg should be making it to the output, can someone explain why/how it should
get there? I don't see any reason, from looking at the source, that 'msg'
should
New submission from Vlad Riscutia riscutiav...@gmail.com:
Opened this issue to track configurable bitfield allocation strategy. This will
address issues like http://bugs.python.org/issue6069,
http://bugs.python.org/issue11920.
Summary: the way bitfields are allocated is up to the compiler not
Vlad Riscutia riscutiav...@gmail.com added the comment:
Opened http://bugs.python.org/issue12528 to address this.
--
nosy: +vladris
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11920
___
1 - 100 of 116 matches
Mail list logo