New submission from Jamie Chaisson :
Ubuntu Release 20.04.3 LTS (Focal Fossa) 64-bit
Using unittest, testing with assertEqual on int values and known good output.
Unittest produces one-off error on handful of edge-case tests causing assert to
fail. Commenting out passing assertEquals tests
New submission from Jamie Bliss :
As it says in the title. ._replace() (inherited from namedtuple) doesn't allow
changing the generated properties.
While this is a natural consequence of how ParseResult is implemented, I would
describe it as a deficiency of developer experience.
My work
Jamie Kirkpatrick added the comment:
More reading around this issue and I stumbled on an existing issue which this
is a dup of so it can be closed.
https://bugs.python.org/issue22393
--
stage: -> resolved
status: open -> closed
___
New submission from Jamie Kirkpatrick :
When using multiprocessing.Pool.apply[_async] a crash in the subprocess that is
assigned the work item results in a deadlock in the parent process.
The parent process remains blissfully unaware of the crash in the subprocess
and waits for a result
I’ve downloaded python and when I try to launch a application to use with
python it opens then closes fast but when I double click it it opens the
installer and not python, so I have to use “Open with”
Sent from [1]Mail for Windows 10
References
Visible links
Jamie Bliss added the comment:
Similarly, stumbled across this working on
https://github.com/pyz-dispenser/cpython-static
This is particularly problematic because of the SQLite module's MODULE_NAME
macro.
--
nosy: +astronouth7303
___
Python
Change by Jamie Stribling :
--
components: +Documentation -Interpreter Core
___
Python tracker
<https://bugs.python.org/issue32604>
___
___
Python-bugs-list m
New submission from jamie schnaitter :
I am currently trying to build 3.6.7 and 3.7.1 using Intel 2019 and it is
failing because Intel's implementation of C11, in particular stdatomic, is
incomplete. I receive many errors similar to the following, when it cannot
find 'atomic_uintptr_t
Jamie Bliss added the comment:
I consider it debatable as to if this is a bug in ABC (for using recursion in a
way that limits class tree depth) or in CPython (for accounting recursion in
such a way you can get significantly shallower stacks
Changes by Jamie Bliss <astronouth7...@gmail.com>:
--
nosy: +astronouth7303
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29221>
___
:
> In <mailman.196.1473872323.2411.python-l...@python.org> Jamie <
> ja9...@my.bristol.ac.uk> writes:
>
> > I am not sure if this is an intended consequence but when using the
> > webbrowser module to open a new blank browser tab in chrome it opens it
> > in a
Hi,
I am not sure if this is an intended consequence but when using the
webbrowser module to open a new blank browser tab in chrome it opens it
in a new browser window instead of using the current window. Providing
any complete url provides different behaviour, it opening a new tab in
the
are the potential concerns I could consider with the syntax?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, August 19, 2014 10:21:48 PM UTC+1, pec...@pascolo.net wrote:
Jamie Mitchell jamiemitchell1...@gmail.com writes:
You were right Christian I wanted a shape (2,150).
Thank you Rustom and Steven your suggestion has worked.
Unfortunately the data doesn't plot as I
the frequency or amount of times
that the X-axis data and Y-axis data meet at a particular point or bin.
Does anyone know what function or graph could best show this?
Thanks for all your help,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, August 15, 2014 4:13:26 PM UTC+1, Steven D'Aprano wrote:
Jamie Mitchell wrote:
I created the 2D array which read as:
That's not a 2D array.
When the amount of data you have is too big to clearly see what it
happening, replace it with something smaller. Instead
I forgot to mention that when I try:
a=np.array([[hs_con_sw],[te_con_sw]])
I get a 3D shape for some reason - (2,1,150) which is not what I'm after.
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, August 14, 2014 5:53:09 PM UTC+1, Steven D'Aprano wrote:
Jamie Mitchell wrote:
Hello all,
I want to contour a scatter plot but I don't know how.
Can anyone help me out?
Certainly. Which way did you come in?
:-)
Sorry, I couldn't resist
On Friday, August 15, 2014 2:23:25 PM UTC+1, Steven D'Aprano wrote:
Jamie Mitchell wrote:
[...]
I just want to get a contour plot of two numpy arrays.
When I call plt.contour on my data I get input must be a 2D array
You are providing a 1D array, or possibly a 3D array. So
Hello all,
I want to contour a scatter plot but I don't know how.
Can anyone help me out?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
)
plt.pcolormesh(xedges,yedges,Hmasked,cmap=cmap,norm=norm,label='Q0 control')
# From this I get a 'scattered' 2D histogram.
Does anyone know how I can contour that scatter?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
Hi folks,
Instead of colouring the entire bar of a histogram i.e. filling it, I would
like to colour just the outline of the histogram. Does anyone know how to do
this?
Version - Python2.7
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
()
After the first line of code I get:
TypeError: Cannot cast array data from dtype('O') to dtype('float64') according
to the rule 'safe'
I'm using python2.7, x and y are type 'numpy.ndarray'
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, June 20, 2014 10:25:44 AM UTC+1, Peter Otten wrote:
Jamie Mitchell wrote:
Hi folks,
I'm trying to plot a 2D histogram but I'm having some issues:
from pylab import *
import numpy as np
import netCDF4
hist,xedges,yedges=np.histogram2d(x,y,bins=10
On Friday, June 20, 2014 12:00:15 PM UTC+1, Peter Otten wrote:
Jamie Mitchell wrote:
I have changed my x and y data to float64 types but I am still getting the
same error message?
Please double-check by adding
assert x.dtype == np.float64
assert y.dtype == np.float64
On Friday, June 20, 2014 9:46:29 AM UTC+1, Jamie Mitchell wrote:
Hi folks,
I'm trying to plot a 2D histogram but I'm having some issues:
from pylab import *
import numpy as np
import netCDF4
hist,xedges,yedges=np.histogram2d(x,y,bins=10)
extent=[xedges[0],xedges[-1],yedges[0
On Friday, June 20, 2014 2:47:03 PM UTC+1, Jason Swails wrote:
On Fri, Jun 20, 2014 at 4:10 AM, Jamie Mitchell jamiemit...@gmail.com wrote:
Hi folks,
Instead of colouring the entire bar of a histogram i.e. filling it, I would
like to colour just the outline of the histogram. Does
On Friday, June 20, 2014 9:10:58 AM UTC+1, Jamie Mitchell wrote:
Hi folks,
Instead of colouring the entire bar of a histogram i.e. filling it, I would
like to colour just the outline of the histogram. Does anyone know how to do
this?
Version - Python2.7
Cheers,
Jamie
On Thursday, June 5, 2014 4:54:16 PM UTC+1, Jamie Mitchell wrote:
Hello all!
Instead of setting the number of bins I want to set the bin width.
I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
How do I say this in the code?
Cheers,
Jamie
That's
Average')
title('Significant Wave Height SW England 1981-2010')
show()
If anybody knows how I could integrate these two plots I would be eternally
grateful!
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
Hello all!
Instead of setting the number of bins I want to set the bin width.
I would like my bins to go from 1.7 to 2.4 in steps of 0.05.
How do I say this in the code?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, May 21, 2014 1:30:16 PM UTC+1, Jason Swails wrote:
On Wed, May 21, 2014 at 7:59 AM, Jamie Mitchell jamiemit...@gmail.com wrote:
I have made a plot using the following code:
python2.7
import netCDF4
import matplotlib.pyplot as plt
import numpy as np
would like to do is display the R squared value next to the line of best
fits that I have made.
Does anyone know how to do this with matplotlib?
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
']
I would then like to save these hs and year variables so that I don't have to
isolate them every time I want to plot them.
Any help would be much appreciated.
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
on why this isn't working would be great.
Thanks,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, April 25, 2014 3:07:54 PM UTC+1, Jamie Mitchell wrote:
Hello all,
I am trying to perform a Kolmogorov-Smirnov test in Python but I'm having a
few difficulties.
# My files are netCDF so I import them as follows:
control=netCDF4.Dataset('/data/cr1/jmitchel/Q0/swh
')
hs2=swh2.variables['hs']
plt.plot(hs1,hs2,'.')
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
the data.
Does anyone know how I can alleviate theses memory errors?
Cheers,
Jamie
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, March 24, 2014 11:32:31 AM UTC, Jamie Mitchell wrote:
Hello all,
I'm afraid I am new to all this so bear with me...
I am looking to find the statistical significance between two large netCDF
data sets.
Firstly I've loaded the two files into python:
swh
New submission from Jamie Spence:
After dumping a database with iterdump, trying to execute the dumped SQL
sometimes results in an error because the statement order may be wrong. In my
case, it is a view that is being created before the view it is referencing.
Would ordering the sqlite_master
, efficient and
made for the task of programming.
Jamie
--
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
--
http://mail.python.org/mailman/listinfo/python-list
* mogul morten.gulda...@gmail.com [2012-12-27 12:01:16 -0800]:
'Aloha!
I'm new to python, got 10-20 years perl and C experience, all gained on unix
alike machines hacking happily in vi, and later on in vim.
Now it's python, and currently mainly on my kubuntu desktop.
Do I really need
* Ian Kelly ian.g.ke...@gmail.com [2012-12-19 17:54:44 -0700]:
On Wed, Dec 19, 2012 at 5:07 PM, Terry Reedy tjre...@udel.edu wrote:
That says that my browser, Firefox 17, does not support HTML5. Golly gee. I
don't think any browser support5 all of that moving target, and Gecko
apparently
/ ru...@yahoo.com wrote on Fri 2.Nov'12 at 11:39:10 -0700 /
(I also hope I haven't just been suckered by a troll
attempt, windows/unix is better then unix/windows being
an age-old means of trolling.)
No, i'm not a troll. I was just adding my opinion to the thread, I assumed
that was
/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:08:26 -0700 /
On 11/01/2012 03:55 AM, Jamie Paul Griffin wrote:
Anybody serious about programming should be using a form of
UNIX/Linux if you ask me. It's inconceivable that these systems
should be avoided if you're serious about Software
/ ru...@yahoo.com wrote on Thu 1.Nov'12 at 15:00:48 -0700 /
* In Search dialog clicked on the Search in folder dropdown after
an earlier search and TB crashed (disappeared along with the
new message I was editing.) [3.0.1]
* Search for japanese text in body no longer works (never
/ Robert Miles wrote on Wed 31.Oct'12 at 0:39:02 -0500 /
For those of you running Linux: You may want to look into whether
NoCeM is compatible with your newsreader and your version of Linux.
It checks newsgroups news.lists.filters and alt.nocem.misc for lists
of spam posts, and will
/ Steven D'Aprano wrote on Wed 31.Oct'12 at 22:33:16 + /
On Wed, 31 Oct 2012 12:32:57 -0700, rurpy wrote:
I don't killfile merely for posting from Gmail or Google Groups, but
regarding your second point, it has seemed to me for some years now that
Gmail is the new Hotmail, which was
[ Ian Kelly wrote on Sat 22.Sep'12 at 0:22:43 -0600 ]
On Fri, Sep 21, 2012 at 7:25 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Fri, 21 Sep 2012 14:49:55 -0600, Ian Kelly wrote:
On Fri, Sep 21, 2012 at 1:54 PM, 8 Dihedral
dihedral88...@googlemail.com wrote:
[ Joel Goldstick wrote on Sun 16.Sep'12 at 11:57:56 -0400 ]
email client to python-list@python.org
If using Windows I would certainly use Thunderbird or even slrn news reader - I
believe there is a version for Windows. Or you could install Interix subsystem
which provides UNIX tools for
. Although, when this book was published Python
3.1 was the latest release, so of course since then said libraries most
probably have been updated. So, as a fellow beginner i'd go for version 3.x.
Jamie.
--
http://mail.python.org/mailman/listinfo/python-list
[ Virgil Stokes wrote on Wed 22.Aug'12 at 16:34:40 +0200 ]
On 22-Aug-2012 16:04, Steven D'Aprano wrote:
On Tue, 21 Aug 2012 18:36:50 -0700, Anonymous Group wrote:
What books do you recomend for learning python? Preferably free and/or
online.
Completely by coincidence, I have just
[ Mark Lawrence wrote on Wed 22.Aug'12 at 8:43:58 +0100 ]
On 22/08/2012 02:36, Anonymous Group wrote:
What books do you recomend for learning python? Preferably free and/or
online.
Search for the Alan Gauld tutorial. I've never used it myself, but OTOH
I've never heard anybody
[ Ramchandra Apte wrote on Sat 18.Aug'12 at 19:21:03 +0530 ]
I'll be using Google Groups (hopefully it won't top-post by default) to
post stuff.
You are encouraged to get used to it i'm afraid as any mailing list you use,
its users will prefer you to use the correct formatting of responses.
New submission from Jamie Murray txr...@gmail.com:
The first char in a word is omitted from being checked against the 'range'
element of the 1st part of this expression.
The second char is properly checked to see if it's in range
# Desired safe string to expect
goodString = f42e6be1-29bf
Jamie Murray txr...@gmail.com added the comment:
Apologies, sincere and most humble apolgies doh!
On 26 Nov 2010 18:51, Georg Brandl rep...@bugs.python.org wrote:
Georg Brandl ge...@python.org added the comment:
I don't think so; closing as invalid.
--
nosy: +georg.brandl
New submission from Jamie Kirkpatrick j...@kirkconsulting.co.uk:
See the testcase included. If you instead assign the result of the
get_module() call to a variable and then make the call to the function
defined in that module it works as expected.
--
components: Library (Lib)
files
Jamie Kirkpatrick j...@kirkconsulting.co.uk added the comment:
Updated the testcase to show that the __dict__ for the module is incorrect
unless the module is assigned to a temp variable.
--
Added file: http://bugs.python.org/file15134/testcase.py
I'm new to python and I'm trying to write a script which takes the
computer name from the variable 'name' and gets the uptime.
What I have so far:
query = win32pdh.OpenQuery()
counter = win32pdh.AddCounter(query, r'\System\System Up Time')
win32pdh.CollectQueryData(query)
var1,
On Sep 29, 1:08 pm, Jamie jamie.iva...@gmail.com wrote:
I'm new to python and I'm trying to write a script which takes the
computer name from the variable 'name' and gets the uptime.
What I have so far:
query = win32pdh.OpenQuery()
counter = win32pdh.AddCounter(query, r'\System
On Sep 29, 1:19 pm, Jamie jamie.iva...@gmail.com wrote:
On Sep 29, 1:08 pm, Jamie jamie.iva...@gmail.com wrote:
I'm new to python and I'm trying to write a script which takes the
computer name from the variable 'name' and gets the uptime.
What I have so far:
query
to execute?
Thanks very much in advance,
Jamie Riotto
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Sep 18, 2009 at 1:10 PM, Gabriel Genellina
gagsl-...@yahoo.com.ar wrote:
En Fri, 18 Sep 2009 14:38:08 -0300, Christian Heimes li...@cheimes.de
escribió:
Jamie Riotto schrieb:
I have an app that uses Python scripting. When a user creates a new
object:
objName = newObject()
I'd
My goal is to remotely remove the registry keys for McAfee. I don't
know how winreg handles an exception if a key doesn't exist, but I
setup my script to skip the exception. But it doesn't seem to work
right.. I think the script should be self explanitory, please help!
Please forgive me, but I'm a
vertically or horizontally, but not both
(i.e. the center). I've tried myText.CenterOnParent but i need to
handle to Size event to move the text when the panel is resized and i
don't want to have to do this.
thanks,
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
to get the sizers to work correctly for this.
FYI: There's a great wxPython mailing list too. Check it out
here:http://wxpython.org/maillist.php
thanks, i will take a look.
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
, wx.ALIGN_CENTER)
box.AddStretchSpacer()
jamie
--
http://mail.python.org/mailman/listinfo/python-list
Jamie Bliss added the comment:
Sure, I'll do that.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org
Jamie Bliss added the comment:
* Should be backwards compatible with people who actually use Morsel
* Didn't even attempt to document it
* Instead of having the Morsel dict being filled initially, unset
attributes are, well, unset
* .key, .value, and .coded_value are now property()s
* .value
New submission from Jamie Bliss:
The primary offender is in BaseCookie.load(), which uses the test:
type(rawdata) == type()
which should be:
isinstance(rawdata, basestring)
--
components: Library (Lib)
messages: 63145
nosy: astronouth7303
severity: normal
status: open
title
Jamie Bliss added the comment:
depending on the use case, updatecache() will be passed
'distutils/cmd.py', but still turn that into '/usr/lib/python2.5/cmd.py'.
I have not messed with my stock Python modules. My sys.path is:
* /usr/lib/python2.5/site-packages/recaptcha_client-1.0.1-py2.5.egg
Jamie Bliss added the comment:
They might be the same bug, with different manifestations.
That bug is starting to get rather annoying.
(At first, I thought it wasn't. Surprise, surprise.)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1728
facing perl (and linux) people ARE
turned away by the attitude. It is rather embarassing/unflattering when
someone is critical of your work.
I see a lot of ideas about things should be made easier but I think
thats the wrong course. We really just need to be nicer to new folks.
Jamie
--
http
(PIL/_imaging.so, 2);
import PIL._imaging # dynamically loaded from PIL/_imaging.so
# clear __builtin__._
# clear sys.path
--
Jamie Bohr
--
http://mail.python.org/mailman/listinfo/python-list
I'm very new to the world of Python and am trying to wrap my head around
it's OOP model. Much of my OOP experience comes from VB.Net, which is
very different.
Let's say I wanted to create an object that simply outputted something
like this:
import employees
person = employee(joe) # Get Joe's
c.l.l is exactly the place to discuss how to play many trumpets
through one set of teeth.
In fact, I have a box of trumpets lying around somewhere...
Open wide, Xah!
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
does not seem to work. It would seem that when the scripts
are ran the local dictionary with the added item is wiped clean and a
new local dictionary is instead used. Any direction or help would be
appreciated.
Cheers,
Jamie.
--
http://mail.python.org/mailman/listinfo/python-list
is probably less
encountered than most aspects of socket (according to google, it sure seemed
so!).
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
(though snort does not want to dump to /dev/log and the limitations
of the alert_unixsock output method limit it to /var/log/snort/snort_alert
only). Any thoughts from the socket savvy would be *greatly* appreciated!
Jamie
--
http://mail.python.org/mailman/listinfo/python-list
79 matches
Mail list logo