On behalf of the Python development team, I'm happy to announce the
third alpha release of Python 3.3.0.
This is a preview release, and its use is not recommended in
production settings.
Python 3.3 includes a range of improvements of the 3.x series, as well
as easier porting between 2.x and 3.x.
deuteros writes:
I'm using regular expressions to split a string using multiple
delimiters. But if two or more of my delimiters occur next to each
other in the string, it puts an empty string in the resulting
list. For example:
re.split(':|;|px', width:150px;height:50px;float:right)
On Apr 30, 8:20 am, Frank Millman fr...@chagford.com wrote:
Hi all
For a while now I have been using Google Groups to read this group, but on
the odd occasion when I want to post a message, I use Outlook Express, as I
know that some people reject all messages from Google Groups due to the
You could also try http://docs.python.org/library/stdtypes.html#str.join
like this:
for i in range(5):
print .join(str(i) for j in range(i))
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Apr 30, 2012 at 11:25 PM, Dan Stromberg drsali...@gmail.com wrote:
A while back I did a sort algorithm runtime comparison for a variety of
sorting algorithms, and then mostly sat on it.
Recently, I got into a discussion with someone on stackoverflow about the
running time of radix
Hi,
I want to figure out where a host is located, in which country. There
are sites that look up this information (e.g.
http://geoip.flagfox.net/). Before writing a scraper, I would like to
ask if you know a python API for this task.
Thanks,
Laszlo
--
On Apr 29, 5:17 pm, someone newsbo...@gmail.com wrote:
On 04/30/2012 12:39 AM, Kiuhnm wrote:
So Matlab at least warns about Matrix is close to singular or badly
scaled, which python (and I guess most other languages) does not...
A is not just close to singular: it's singular!
Ok. When
In article 7xvckq4c2j@ruckus.brouhaha.com,
Paul Rubin no.email@nospam.invalid wrote:
Kiuhnm kiuhnm03.4t.yahoo.it writes:
I can't think of a single case where 'is' is ill-defined.
If I can't predict the output of
print (20+30 is 30+20) # check whether addition is commutative
print
Il giorno martedì 1 maggio 2012 01:57:12 UTC+2, Irmen de Jong ha scritto:
Hi, 0 I would like to automate some simple tasks I'm doing by hand. Given a
text file
foobar.fo:
[...]
At first, I tried to write a bash script to do this. However, when and if
the script
will work, I'll
I've found a web service for the task:
http://www.geoplugin.com/webservices . It can produce JSON output too.
Laszlo
On Tue, May 1, 2012 at 09:35, Jabba Laci jabba.l...@gmail.com wrote:
Hi,
I want to figure out where a host is located, in which country. There
are sites that look up this
deltaquat...@gmail.com wrote:
At this point, I go for a Fortran/C code, which takes me longer to write.
If you already have a basic programming knowledge the tutorial that comes
with Python should be an excellent starting point:
http://docs.python.org/py3k/tutorial/index.html
Now I'd like
hi folks, got a small favour to ask of the python community - or, more
specifically, i feel compelled to alert the python community to a
need with which you may be able to help: we're due for another
release, and it's becoming an increasingly-large task.
given the number of examples requiring
deuteros wrote:
I'm using regular expressions to split a string using multiple delimiters.
But if two or more of my delimiters occur next to each other in the
string, it puts an empty string in the resulting list. For example:
re.split(':|;|px', width:150px;height:50px;float:right)
There is linalg.pinv, which computes a pseudoinverse based on SVD that
works on all matrices, regardless of the rank of the matrix. It merely
approximates A*A.I = I as well as A permits though, rather than being
a true inverse, which may not exist.
Anyway, there are no general answers for this
I can't get it working : No pygame module...
Tried without success :
pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
I am using Python 3 last version on MacOS-X Lion.
Where is a step-by-step installation procedure ?
Thanks,
franck
--
We have a system running Python 2.6.6 under RHEL 6.1. A bunch of
processes spend most of their time sitting in a BaseHTTPServer.HTTPServer
waiting for requests.
Last night an update pushed out via xcat whimsically restarted all of the
network interfaces, and at least some of our processes
On 5/1/2012 5:27, alex23 wrote:
On Apr 30, 2:05 am, Peter Pearsonppear...@nowhere.invalid wrote:
Hey, guys, am I the only one here who can't even guess what
this code does? When did Python become so obscure?
Thankfully it hasn't. The most Pythonic way to pass around a code
block is still to
Hi,
Try this:
import sys
for i in range (1, 5+1):
for j in range (i):
sys.stdout.write(str(i))
print
print adds a newline character
print hi, notice the comma, it won't add newline, however
it adds a space
With sys.stdout.write you can print the way you want, it won't add any
On Tue, May 1, 2012 at 9:45 PM, Peter Otten __pete...@web.de wrote:
In that spirit I'd like to make an alternative offer: put some effort into
the job yourself, write a solution in bash and post it here. I (or someone
else) will then help you translate it into basic Python. That will typically
On Wed, May 2, 2012 at 12:18 AM, Kiuhnm
kiuhnm03.4t.yahoo...@mail.python.org wrote:
Most Pythonic doesn't mean better, unfortunately.
For instance, assume that you want to write a function that accepts a
dictionary of callbacks:
func(some_args, callbacks)
Pythonic way
def
On Sat, 2012-04-28 at 17:45 -0700, kenk wrote:
I've got a server process written in C++ running on Unix machine.
On the same box I'd like to run multiple Python scripts that will
communicate with this server.
Can you please suggest what would be best was to achieve this ?
Time to start using
On 01/05/2012 07:12, Frank Millman wrote:
[...]
I have had a look at this before, but there is one thing that Google
Groups does that no other reader seems to do, and that is that
messages are sorted according to thread-activity, not original posting
date. This makes it easy to see what has
On Tue, 01 May 2012 16:18:03 +0200, Kiuhnm wrote:
Most Pythonic doesn't mean better, unfortunately.
Perhaps. But this example is not one of those cases.
For instance, assume that you want to write a function that accepts a
dictionary of callbacks:
func(some_args, callbacks)
Pythonic
On Tue, 01 May 2012 04:50:48 +, deuteros wrote:
I'm using regular expressions to split a string using multiple
delimiters. But if two or more of my delimiters occur next to each other
in the string, it puts an empty string in the resulting list.
As I would expect. After all, there *is* an
On Wed, May 2, 2012 at 1:11 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
So in this case, even though Python is slightly more verbose, and forces
you to have the discipline of writing named functions ahead of time, this
is actually a *good* thing because it encourages you to
On 04/30/2012 05:24 PM, deltaquat...@gmail.com wrote:
Hi,
I would like to automate some simple tasks I'm doing by hand. Given a text
file
foobar.fo:
073 1.819
085 2.132
100 2.456
115 2.789
I need to create the directories 073, 085, 100, 115, and copy in each
directory a modified
re.split(':|;|px', width:150px;height:50px;float:right)
You could recognize that the delimiter you want to strip is in fact px;
and not px in and of itself.
So, try:
re.split(':|px;', width:150px;height:50px;float:right)
Emile
--
http://mail.python.org/mailman/listinfo/python-list
On 5/1/2012 17:11, Steven D'Aprano wrote:
My way
--
with func(some_args) ':dict':
with when_odd as 'n':
pass
with when_prime as 'n':
pass
If you actually try that, you will see that it cannot work. You get:
SyntaxError: can't assign to literal
If you
re.split(':|;|px', width:150px;height:50px;float:right)
You could recognize that the delimiter you want to strip is in fact px;
and not px in and of itself.
So, try:
re.split(':|px;', width:150px;height:50px;float:right)
Emile
That won't work at all outside of the example case. It'd choke
I can't get it working : No pygame module...
Tried without success :
pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg
I am using Python 3 last version on MacOS-X Lion.
Where is a step-by-step installation procedure ?
Thanks,
franck
Holy crap.
Easy there, tiger.
I understand you're frustrated, but the people here are trying to
help, even if they've decided the means of helping is trying to
explain why they feel your style of development isn't the best way to
do things.
You're going to wear out your welcome and not get any
On 5/1/2012 10:13 AM Temia Eszteri said...
re.split(':|px;', width:150px;height:50px;float:right)
Emile
That won't work at all outside of the example case. It'd choke on any
attribute seperator that didn't end in px.
It would certainly choke on all delimeters that are not presented in the
On Tue, May 1, 2012 at 1:07 PM, Kiuhnm
kiuhnm03.4t.yahoo...@mail.python.org wrote:
If you had read the module's docstring you would know that the public
version uses
Are you aware that you've never posted a link to your module, nor it's
docstrings? Are you also aware that your module is
On 5/1/2012 1:25 AM, Dan Stromberg wrote:
Anyway, here's the comparison, with code and graph:
http://stromberg.dnsalias.org/~strombrg/sort-comparison/
(It's done in Pure python and Cython, with a little m4).
Interesting, BTW, that an unstable quicksort in Cython was approaching
timsort as a C
(sent from my phone)
On May 1, 2012 6:42 PM, Jerry Hill malaclyp...@gmail.com wrote:
On Tue, May 1, 2012 at 1:07 PM, Kiuhnm
kiuhnm03.4t.yahoo...@mail.python.org wrote:
If you had read the module's docstring you would know that the public
version uses
Are you aware that you've never posted
On Tue, May 1, 2012 at 12:21 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Apr 30, 2012 at 11:25 PM, Dan Stromberg drsali...@gmail.com
wrote:
A while back I did a sort algorithm runtime comparison for a variety of
sorting algorithms, and then mostly sat on it.
Recently, I got
On Tue, May 1, 2012 at 10:51 AM, Terry Reedy tjre...@udel.edu wrote:
On 5/1/2012 1:25 AM, Dan Stromberg wrote:
Anyway, here's the comparison, with code and graph:
http://stromberg.dnsalias.org/**~strombrg/sort-comparison/http://stromberg.dnsalias.org/%7Estrombrg/sort-comparison/
(It's done
Arnaud Delobelle wrote:
On May 1, 2012 6:42 PM, Jerry Hill wrote:
On Tue, May 1, 2012 at 1:07 PM, Kiuhnm wrote:
If you had read the module's docstring you would know that the public
version uses
Are you aware that you've never posted a link to your module, nor it's
docstrings? Are you also
On 04/30/2012 02:57 AM, Paul Rubin wrote:
someonenewsbo...@gmail.com writes:
A is not just close to singular: it's singular!
Ok. When do you define it to be singular, btw?
Singular means the determinant is zero, i.e. the rows or columns
are not linearly independent. Let's give names to the
On 05/01/2012 08:56 AM, Russ P. wrote:
On Apr 29, 5:17 pm, someonenewsbo...@gmail.com wrote:
On 04/30/2012 12:39 AM, Kiuhnm wrote:
You should try to avoid matrix inversion altogether if that's the case.
For instance you shouldn't invert a matrix just to solve a linear system.
What then?
On Tue, May 1, 2012 at 12:00 PM, Dan Stromberg drsali...@gmail.com wrote:
On Tue, May 1, 2012 at 12:21 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Apr 30, 2012 at 11:25 PM, Dan Stromberg drsali...@gmail.com
wrote:
A while back I did a sort algorithm runtime comparison for a variety
On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
On 04/29/2012 07:59 PM, someone wrote:
I do not use python much myself, but a quick google showed that pyhton
scipy has API for linalg, so use, which is from the documentation, the
following code example
X = scipy.linalg.solve(A, B)
But you still
I'm making my first steps now with numpy, so there's a lot I don't know
and haven't tried with numpy...
An excellent reason to subscribe to the numpy mailing list and
talk on there :)
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX
On behalf of the Python development team, I'm happy to announce the
third alpha release of Python 3.3.0.
This is a preview release, and its use is not recommended in
production settings.
Python 3.3 includes a range of improvements of the 3.x series, as well
as easier porting between 2.x and 3.x.
On 01/05/2012 2:43 PM, someone wrote:
[snip]
a = [1 2 3]; b = [11 12 13]; c = [21 22 23].
Then notice that c = 2*b - a. So c is linearly dependent on a and b.
Geometrically this means the three vectors are in the same plane,
so the matrix doesn't have an inverse.
Does it not mean that there
Please help a newbe. I have a string returned from an esygui
multchoicebox that looks like
this: ('ksals', '', 'alsdkfj', '3', '') I need to convert this to
this: ['ksals', '', 'alsdkfj', '3', '']
This is so I can submit this to a multchoicebox with 5 fields
--
Please help a newbe. I have a string returned from an esygui
multchoicebox that looks like
this: ('ksals', '', 'alsdkfj', '3', '') I need to convert this to
this: ['ksals', '', 'alsdkfj', '3', '']
This is so I can submit this to a multenterbox with 5 fields
--
In 316efebe-7f54-4054-96b1-51c7bb7b7...@f5g2000vbt.googlegroups.com ksals
kbsals5...@gmail.com writes:
Please help a newbe. I have a string returned from an esygui
multchoicebox that looks like
this: ('ksals', '', 'alsdkfj', '3', '') I need to convert this to
this: ['ksals', '',
Have you tried to use the function list?:
foo = (1,2,3)
list(foo)
Cheers,
Pedro
--
http://pedrokroger.net
On May 1, 2012, at 5:18 PM, ksals wrote:
Please help a newbe. I have a string returned from an esygui
multchoicebox that looks like
this: ('ksals', '', 'alsdkfj', '3', '') I need
On May 1, 11:52 am, someone newsbo...@gmail.com wrote:
On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
On 04/29/2012 07:59 PM, someone wrote:
I do not use python much myself, but a quick google showed that pyhton
scipy has API for linalg, so use, which is from the documentation, the
On May 1, 4:26 pm, John Gordon gor...@panix.com wrote:
In 316efebe-7f54-4054-96b1-51c7bb7b7...@f5g2000vbt.googlegroups.com ksals
kbsals5...@gmail.com writes:
Please help a newbe. I have a string returned from an esygui
multchoicebox that looks like
this: ('ksals', '', 'alsdkfj', '3',
On 05/01/2012 09:59 PM, Colin J. Williams wrote:
On 01/05/2012 2:43 PM, someone wrote:
[snip]
a = [1 2 3]; b = [11 12 13]; c = [21 22 23].
Then notice that c = 2*b - a. So c is linearly dependent on a and b.
Geometrically this means the three vectors are in the same plane,
so the matrix
On 05/01/2012 10:54 PM, Russ P. wrote:
On May 1, 11:52 am, someonenewsbo...@gmail.com wrote:
On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
What's the limit in matlab (on the condition number of the matrices), by
the way, before it comes up with a warning ???
The threshold of
In 3b5f65c4-cd95-4bb4-94f2-0c69cf2b1...@d20g2000vbh.googlegroups.com ksals
kbsals5...@gmail.com writes:
The original choice looks like this when I print it:
print(choice)
('ksals', '', 'alsdkfj', '3', '')
I need to submit these as defaults to a multenterbox. Each entry above
ksals, ,
That looks like a tuple which contains five strings.
The original choice looks like this when I print it:
print(choice)
('ksals', '', 'alsdkfj', '3', '')
Based on the print statement, choice is a tuple or a string.
try doing `print(type(choice))`. On the assumption it is a
tuple and
On 5/1/12 10:21 PM, someone wrote:
On 05/01/2012 10:54 PM, Russ P. wrote:
On May 1, 11:52 am, someonenewsbo...@gmail.com wrote:
On 04/30/2012 03:35 AM, Nasser M. Abbasi wrote:
What's the limit in matlab (on the condition number of the matrices), by
the way, before it comes up with a warning
i have an apology to make to the python community. about 3 or 4
months ago a number of the pyjamas users became unhappy that i was
sticking to software (libre) principles on the pyjamas project. they
saw the long-term policy that i had set, of developing python-based
pyjamas-based infrastructure
On May 1, 5:29 pm, John Gordon gor...@panix.com wrote:
In 3b5f65c4-cd95-4bb4-94f2-0c69cf2b1...@d20g2000vbh.googlegroups.com ksals
kbsals5...@gmail.com writes:
The original choice looks like this when I print it:
print(choice)
('ksals', '', 'alsdkfj', '3', '')
I need to submit these as
On 5/1/2012 21:59, Colin J. Williams wrote:
On 01/05/2012 2:43 PM, someone wrote:
[snip]
a = [1 2 3]; b = [11 12 13]; c = [21 22 23].
Then notice that c = 2*b - a. So c is linearly dependent on a and b.
Geometrically this means the three vectors are in the same plane,
so the matrix doesn't
On Tue, May 1, 2012 at 11:52 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Tue, May 1, 2012 at 12:00 PM, Dan Stromberg drsali...@gmail.com
wrote:
On Tue, May 1, 2012 at 12:21 AM, Ian Kelly ian.g.ke...@gmail.com
wrote:
On Mon, Apr 30, 2012 at 11:25 PM, Dan Stromberg drsali...@gmail.com
someone newsbo...@gmail.com writes:
Actually I know some... I just didn't think so much about, before
writing the question this as I should, I know theres also something
like singular value decomposition that I think can help solve
otherwise illposed problems,
You will probably get better
Disclaimer: I have never used esygui.
On 01May2012 21:29, John Gordon gor...@panix.com wrote:
| In 3b5f65c4-cd95-4bb4-94f2-0c69cf2b1...@d20g2000vbh.googlegroups.com ksals
kbsals5...@gmail.com writes:
| The original choice looks like this when I print it:
|
| print(choice)
| ('ksals', '',
On 1-5-2012 12:51, deltaquat...@gmail.com wrote:
But if you really want to go this way (and hey, why not) then first
you'll have to learn some basic Python. A good resource for this
might be: http://learnpythonthehardway.org/
Ehm...name's not exactly inspiring for a newbie who's short on time
The tutorial suggests multchoicebox returns an interable of chosen
items, in fact probably a seqeunce. So...
On 01May2012 14:50, ksals kbsals5...@gmail.com wrote:
| This is a small excert to show you what I get
|
| for choice in easygui.multchoicebox(msg1, title,qstack):
| if
On May 1, 4:05 pm, Paul Rubin no.em...@nospam.invalid wrote:
someone newsbo...@gmail.com writes:
Actually I know some... I just didn't think so much about, before
writing the question this as I should, I know theres also something
like singular value decomposition that I think can help
On Tue, 01 May 2012 19:07:58 +0200, Kiuhnm wrote:
On 5/1/2012 17:11, Steven D'Aprano wrote:
My way
--
with func(some_args) ':dict':
with when_odd as 'n':
pass
with when_prime as 'n':
pass
If you actually try that, you will see that it cannot work.
... i'm reeally really sorry about this, but it suddenly dawned on me
that, under UK law, a breach of the UK's data protection act has
occurred, and that the people responsible for setting up the hijacked
services have committed a criminal offense under UK law.
ordinarily, a free software mailing
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
On Tue, 01 May 2012 19:07:58 +0200, Kiuhnm wrote:
[entitled demands]
Believe it or not, the world does not revolve around you. We cannot
see what is in your head. If we ask for a WORKING EXAMPLE, you need to
give an example that
[Apologies in advance if this comes through twice]
On May 2, 12:18 am, Kiuhnm kiuhnm03.4t.yahoo.it wrote:
Most Pythonic doesn't mean better, unfortunately.
Nor does it mean Kiuhnm prefers it.
For instance, assume that you want to write a function that accepts a
dictionary of callbacks:
On May 2, 12:43 pm, alex23 wuwe...@gmail.com wrote:
I'm not entirely sure what your 'solution' offers over something like:
class FOO(object):
def __init__(self, fn):
self.fn = fn
def __enter__(self):
return self.fn
def __exit__(self, exc_type, exc_value,
On May 2, 12:18 am, Kiuhnm kiuhnm03.4t.yahoo.it wrote:
Most Pythonic doesn't mean better, unfortunately.
Neither does Kiuhnm prefers it.
For instance, assume that you want to write a function that accepts a
dictionary of callbacks:
func(some_args, callbacks)
Pythonic way
How would I go about building an API converter?
I have multiple different APIs with different schemas serialised in XML or JSON
which I need to output as a standardised schema.
Other features needed:
- Authentication (i.e.: can't get/set data unless you're from a certain DNS xor
have the
Changes by Martin v. Löwis mar...@v.loewis.de:
--
title: Supporting bzip2 and lzma compression in zip files - Supporting lzma
compression in zip files
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14366
Serhiy Storchaka storch...@gmail.com added the comment:
Here is the patch which adds support for lzma in zipfile. Later I'll
move `lzma_props_encode` and `lzma_props_decode` to lzma module.
--
Added file: http://bugs.python.org/file25430/lzma_in_zip.patch
Serhiy Storchaka storch...@gmail.com added the comment:
Note that the supporting of bzip2 increases the time of testing
test_zipfile in 1.5x, and lzma -- 2x (total 3x). May be not all tests
are needed?
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@gmail.com added the comment:
However, this generally is not a security risk.
You should explain what you already said: it is not a risk because the
length of a HMAC is fixed.
--
___
Python tracker
Mark Shannon m...@hotpy.org added the comment:
New patch in response to review.
--
Added file: http://bugs.python.org/file25431/classmethoddescr_call.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14699
Mark Dickinson dicki...@gmail.com added the comment:
I'm rejecting this: the functionality is already there in str.format, and
there's little to be gained by adding another way to do it.
--
nosy: +eric.smith
resolution: - rejected
status: open - closed
Eric V. Smith e...@trueblade.com added the comment:
I agree with Mark.
This can also be done slightly more efficiently with plain format():
format(324, 016b)
'000101000100'
format(324, 016o)
'0504'
format(324, 016x)
'0144'
And with either format() or
Hynek Schlawack h...@ox.cx added the comment:
I have answered to the (two weeks old :-/) review. There are three open
questions in there we'll have to figure out before I fix the patch:
- should copyxattr() remove xattrs in dst that aren't present in src? Make it
an option like
Changes by Hynek Schlawack h...@ox.cx:
--
assignee: - hynek
title: shutil.move broken in 2.7.3 on OSX (chflags fails) - shutil.move
doesn't handle ENOTSUP raised by chflags on OS X
___
Python tracker rep...@bugs.python.org
Charles-François Natali neolo...@free.fr added the comment:
The buildbot seems happy, let's close!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14669
Richard Oudkerk shibt...@gmail.com added the comment:
There are plenty of other bad exception classes apart from
CalledProcessError, including TimeoutExpired in the same file. In fact I
suspect this is true of the majority of the exception classes in the stdlib
which override __init__. So I
Nick Coghlan ncogh...@gmail.com added the comment:
Latest draft of API is here:
http://contextlib2_dev.readthedocs.org/en/latest/index.html#contextlib2.ExitStack
An updated version of the I forgot I could use multiple context managers in a
with statement example:
with ExitStack() as
Serhiy Storchaka storch...@gmail.com added the comment:
I know how to remove universal newline support, I know how after this
correct these functions (with issue14371 they partially corrected), but
I don't know how to deprecate universal newline support. What should be
done? Can you initiate a
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eab5120cc208 by Benjamin Peterson in branch '3.2':
fix calling the classmethod descriptor directly (closes #14699)
http://hg.python.org/cpython/rev/eab5120cc208
New changeset e1a200dfd5db by Benjamin Peterson in
Benjamin Peterson benja...@python.org added the comment:
Windows is currently failing test_imp:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/214/steps/test/logs/stdio
--
nosy: +benjamin.peterson
___
Python tracker
Brett Cannon br...@python.org added the comment:
That test is going to stay intermittent until issue #14657 gets resolved else
the exact reason for the failure is going to be hard to debug remotely.
--
___
Python tracker rep...@bugs.python.org
Jon Oberheide j...@oberheide.org added the comment:
You should explain what you already said: it is not a risk because the
length of a HMAC is fixed.
Well, that's not entirely accurate. Exposing the length of the HMAC can expose
what underlying hash is being used (eg. HMAC-SHA1 has different
Martin v. Löwis mar...@v.loewis.de added the comment:
All active branches use this now.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1303434
___
Martin v. Löwis mar...@v.loewis.de added the comment:
The test fails on Windows. Whereas on Unix, the two step commands produce this
output:
- print('1')
(Pdb) step
1
--Return--
/net/pao/export/home/staff/loewis/work/33/bar.py(2)bar()-None
- print('1')
(Pdb) step
--Return--
Xavier de Gaye xdeg...@gmail.com added the comment:
My fault :(
The call to print is useless for the test, so I suggest to replace it
with a plain 'pass' statement.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13183
Sandro Tosi sandro.t...@gmail.com added the comment:
+1
It is important to note that if you have a 'cpython' as a clone (which pulls
and pushed to hg.python.org) and from it you clone '2.7' and '3.2' (as I think
it's the most common setup) you first have to pull from cpython and then on the
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14468
___
___
Python-bugs-list
New submission from David M. Rogers dmr...@sandia.gov:
Python Devs,
There is an issue relating to variable lookup using exec from within
multiprocessing's fork()-ed process. I'm attempting to use the forked process
as a generic remote python shell, but exec is unable to reach variables
Martin v. Löwis mar...@v.loewis.de added the comment:
That indeed makes the test pass.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13183
___
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the report.
This is expected behaviour. It isn't actually anything to do with
multiprocessing; it's to do with invoking exec from within a function scope.
You can see the same effect with code like this:
code = \
def
James Hutchison jamesghutchi...@gmail.com added the comment:
See attached, which will open a zipfile that contains one file and reads it a
bunch of times using unbuffered and buffered idioms. This was tested on windows
using python 3.2
You're in charge of coming up with a file to test it on.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4b98ce6ef95e by Victor Stinner in branch 'default':
Issue #14687: Optimize str%args
http://hg.python.org/cpython/rev/4b98ce6ef95e
New changeset a966f9311ebb by Victor Stinner in branch 'default':
Issue #14687:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3b2aa777b725 by Senthil Kumaran in branch '2.7':
fix windows test failure - issue13183
http://hg.python.org/cpython/rev/3b2aa777b725
New changeset d17ecee3f752 by Senthil Kumaran in branch '3.2':
fix windows test
1 - 100 of 106 matches
Mail list logo