Roel Schroeven wrote:
> Chris Green schreef op 4/02/2023 om 16:17:
> > I am using Image from PIL and I'm getting a deprecation warning as
> > follows:-
> >
> > /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is
> > deprecated
> and will
Chris Green schreef op 4/02/2023 om 16:17:
I am using Image from PIL and I'm getting a deprecation warning as
follows:-
/home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated
and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
But if I c
On Sun, 5 Feb 2023 at 07:52, Chris Green wrote:
>
> I am using Image from PIL and I'm getting a deprecation warning as
> follows:-
>
> /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated
> and will be removed in Pillow 10 (2023-07-01). Use Res
I am using Image from PIL and I'm getting a deprecation warning as
follows:-
/home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated
and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
The code is very simple:-
...
...
fro
pgrade it manually?
The first line of code from my script in the log above is line 177 (`cp
env.ini.tests env.ini`), which comes from
https://github.com/speedy-net/speedy-net/blob/uri_run_tests_with_deprecation_warnings_2019-04-02_a/.travis.yml
line
17.
I also asked this question on Stack Overflow
.
Install latest virtualenv in virtualenv *created by* old virtualenv is
not enough.
On Wed, Apr 3, 2019 at 11:35 AM אורי wrote:
>
>
> אורי
> u...@speedy.net
>
>
> On Wed, Apr 3, 2019 at 2:50 AM Inada Naoki wrote:
>>
>> The DeprecationWarning is raised for virtu
אורי
u...@speedy.net
On Wed, Apr 3, 2019 at 2:50 AM Inada Naoki wrote:
> The DeprecationWarning is raised for virtualenv's distutils.
> It is fixed already. Use latest virtualenv.
>
That's what I wrote. I tried to upgrade to the latest virtualenv
(virtualenv==16.4.3) i
The DeprecationWarning is raised for virtualenv's distutils.
It is fixed already. Use latest virtualenv.
Links:
https://github.com/pypa/virtualenv/pull/1289
https://virtualenv.pypa.io/en/latest/changes/#v16-4-0-2019-02-09
--
Inada Naoki
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 02, 2019 at 01:29:08PM +0300, אורי wrote:
> DeprecationWarning in Python 3.6 and 3.7
> <https://github.com/python-pillow/Pillow/issues/3547>
>
> I tried to upgrade to the latest virtualenv (virtualenv==16.4.3) in the
> tests but the tests still fail in Python 3
On 02/04/2019 16:52, אורי wrote:
On Tue, Apr 2, 2019 at 6:33 PM Terry Reedy wrote:
On 4/2/2019 6:29 AM, אורי wrote:
Hi,
Please look at this issue:
DeprecationWarning in Python 3.6 and 3.7
<https://github.com/python-pillow/Pillow/issues/3547>
I tried to upgrade to the latest virt
On Tue, Apr 2, 2019 at 6:33 PM Terry Reedy wrote:
> On 4/2/2019 6:29 AM, אורי wrote:
> > Hi,
> >
> > Please look at this issue:
> > DeprecationWarning in Python 3.6 and 3.7
> > <https://github.com/python-pillow/Pillow/issues/3547>
> >
> > I tr
On 4/2/2019 6:29 AM, אורי wrote:
Hi,
Please look at this issue:
DeprecationWarning in Python 3.6 and 3.7
<https://github.com/python-pillow/Pillow/issues/3547>
I tried to upgrade to the latest virtualenv (virtualenv==16.4.3) in the
tests but the tests still fail in Python 3.6 and 3.7 wi
Hi,
Please look at this issue:
DeprecationWarning in Python 3.6 and 3.7
<https://github.com/python-pillow/Pillow/issues/3547>
I tried to upgrade to the latest virtualenv (virtualenv==16.4.3) in the
tests but the tests still fail in Python 3.6 and 3.7 with
the DeprecationWarning:
(with
On 2018-08-23 06:08 AM, Peter via Python-list wrote:
> I understand that Python 3.7 now issues DeprecationWarning for code
> entered in the interactive shell and also for single-module programs. I
> see this behaviour with:
>
> C:\wrk> python
> python 3.7.0 (v3.7.0:...
>&
I understand that Python 3.7 now issues DeprecationWarning for code
entered in the interactive shell and also for single-module programs. I
see this behaviour with:
C:\wrk> python
python 3.7.0 (v3.7.0:...
import imp
__main__:1: DeprecationWarning: the imp module is deprecated...
But i
Uri Even-Chen wrote:
> Do you know what is the problem and why I receive these deprecation
> warnings?
I poked around a bit and found
https://bugs.python.org/issue24134
Perhaps you can make sense of it (I can't).
--
https://mail.python.org/mailman/listinfo/python-list
/accounts/tests/test_models.py
> . When I run tests regularly (with "./manage.py test") they pass, But when
> I run tests with "python -W error::DeprecationWarning manage.py test",
> (with Python 3.5.5), I receive errors like this:
>
> DeprecationWarning: '
"./manage.py test") they pass, But when
I run tests with "python -W error::DeprecationWarning manage.py test",
(with Python 3.5.5), I receive errors like this:
DeprecationWarning: 'callable' is an invalid keyword argument for this
function
See the full errors here:
htt
27;s __init__...
This is some sample code:
>>> import numpy as np
>>> class derived(np.ndarray):
... def __init__(self, stuff):
... np.ndarray.__init__(self, stuff)
...
>>> l = derived((2,3))
__main__:3: DeprecationWarning: object.__init__() takes no par
t;>> import numpy as np
>>> class derived(np.ndarray):
... def __init__(self, stuff):
... np.ndarray.__init__(self, stuff)
...
>>> l = derived((2,3))
__main__:3: DeprecationWarning: object.__init__() takes no parameters
>>> l
derived([[ 8.87744455e
On Friday 24 September 2010, it occurred to pyt...@bdurham.com to exclaim:
> Python 2.6: We're using the standard lib's cgitb module to
> provide diagnostic messages when unexpected exceptions occur.
>
> Unfortunately, this module raises a DeprecationWarning like below
>
Python 2.6: We're using the standard lib's cgitb module to
provide diagnostic messages when unexpected exceptions occur.
Unfortunately, this module raises a DeprecationWarning like below
when it is used:
C:\Python26\lib\cgitb.py:245: DeprecationWarning:
BaseException.message has been
download a file from a
> >> > client. I have following code:
> >>
> >> > but what i'm getting is this and no file is downloaded...:
> >> > /opt/lampp/cgi-bin/attachment.py:243: DeprecationWarning:
> >> > BaseException.message has been depr
ode:
>>
>> > but what i'm getting is this and no file is downloaded...:
>> > /opt/lampp/cgi-bin/attachment.py:243: DeprecationWarning:
>> > BaseException.message has been deprecated as of Python 2.6
>> > chan.send('\x01'+e.message)
>>
downloaded...:
> > /opt/lampp/cgi-bin/attachment.py:243: DeprecationWarning:
> > BaseException.message has been deprecated as of Python 2.6
> > chan.send('\x01'+e.message)
> > 09/01/2010 08:53:56 : Downloading P-file failed.
>
> > What does that mean and ho
On Wed, Sep 1, 2010 at 8:58 AM, cerr wrote:
> Hi There,
>
> I would like to create an scp handle and download a file from a
> client. I have following code:
> but what i'm getting is this and no file is downloaded...:
> /opt/lampp/cgi-bin/attachment.py:
writelog("Downloading P-file failed. \n")
but what i'm getting is this and no file is downloaded...:
/opt/lampp/cgi-bin/attachment.py:243: DeprecationWarning:
BaseException.message has been deprecated as of Python 2.6
chan.send('\x01'+e.message)
09/01/2010 08:53:56 :
both in Scrapy and Python. When I create a project with
> > Scrapy I get these errors:
>
> > C:\Python26\lib\site-packages\twisted\python\filepath.py:12:
> > DeprecationWarning: the sha module is deprecated; use the hashlib
> > module instead import sha
> > C:
On Wed, Nov 18, 2009 at 5:23 PM, Zeynel wrote:
> Hello,
>
> I am a newbie both in Scrapy and Python. When I create a project with
> Scrapy I get these errors:
>
> C:\Python26\lib\site-packages\twisted\python\filepath.py:12:
> DeprecationWarning: the sha module is deprec
Hello,
I am a newbie both in Scrapy and Python. When I create a project with
Scrapy I get these errors:
C:\Python26\lib\site-packages\twisted\python\filepath.py:12:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead import sha
C:\Python26\lib\site-packages\twisted
On 9/5/2009 5:50 PM, Alan G Isaac wrote:
I've filed a bug report:
http://bugs.python.org/issue6844
This is now an accepted bug with a patch request.
Can someone on this list please assist with a patch?
Thanks,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
I've filed a bug report:
http://bugs.python.org/issue6844
Sadly the Twisted developers apparently did not file
a bug report when they were bitten by this ...
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
On 02:28 pm, alan.is...@gmail.com wrote:
I am not sure how best to deprecate dependence on the
Python 2.5 mistake, but this is not it. And I know at
least one important library that is affected.
I'll agree that it's not great. I certainly would have preferred it not
to have been done. It i
exar...@twistedmatrix.com wrote:
On 12:20 pm, alan.is...@gmail.com wrote:
I think you are missing my point.
I understand it is just a DeprecationWarning.
But **why** should I receive a deprecation warning
when I am **not** using the deprecated practice?
Since I am **not** using the deprecated
On 9/5/2009 9:07 AM, exar...@twistedmatrix.com wrote:
You are using the deprecated practice.
Clearly not, or it would fail in Python 3,
which it does not.
Attributes are not scoped to a
particular class. There is only one "message" attribute on your
"MyError" instance. It does not belong just
f __init__(self, message):
... Exception.__init__(self)
... self.message = message
...
e = MyError('msg')
__main__:4: DeprecationWarning: BaseException.message has been
deprecated as of Python 2.6
So? Why would that mean I cannot add such an attribute
to derived classes?
On 9/4/2009
_init__(self)
... self.message = message
...
e = MyError('msg')
__main__:4: DeprecationWarning: BaseException.message has been
deprecated as of Python 2.6
So? Why would that mean I cannot add such an attribute
to derived classes?
On 9/4/2009 6:42 PM, Terry Reedy wrote:
It does not me
ge):
... Exception.__init__(self)
... self.message = message
...
e = MyError('msg')
__main__:4: DeprecationWarning: BaseException.message has been
deprecated as of Python 2.6
So? Why would that mean I cannot add such an attribute
to derived classes?
It does not mean that. Try prin
self)
... self.message = message
...
e = MyError('msg')
__main__:4: DeprecationWarning: BaseException.message has been deprecated as of
Python 2.6
So? Why would that mean I cannot add such an attribute
to derived classes?
Contrast:
Python 2.6.2 (r262:71605, Apr 14 2009, 22
On Apr 22, 6:16 pm, "Jim Carlock"
wrote:
> I downloaded Python 2.6.2 today. Anyone here know what that error in
> the subject really means and possibly what I should look at? I took
> a look at line 13 in the specified file and it states the line that
> it has a problem with.
>
> import sha
>
> I'
On Wed, Apr 22, 2009 at 9:16 PM, Jim Carlock
wrote:
> I downloaded Python 2.6.2 today. Anyone here know what that error in
> the subject really means and possibly what I should look at? I took
> a look at line 13 in the specified file and it states the line that
> it has a problem with.
>
> import
On Wed, Apr 22, 2009 at 6:16 PM, Jim Carlock
wrote:
> I downloaded Python 2.6.2 today. Anyone here know what that error in
> the subject really means and possibly what I should look at? I took
> a look at line 13 in the specified file and it states the line that
> it has a problem with.
>
> import
I downloaded Python 2.6.2 today. Anyone here know what that error in
the subject really means and possibly what I should look at? I took
a look at line 13 in the specified file and it states the line that
it has a problem with.
import sha
I'm running Python in Windows XP.
--
Jim Carlock
More Th
On Sat, 2007-08-04 at 15:52 -0700, [EMAIL PROTECTED] wrote:
> On Aug 4, 11:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > >>> from wt.lib.misc_lists import all_countries
> >
> > __console__:1: DeprecationWarning: Non-ASCII character '\x
On Aug 4, 11:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> >>> from wt.lib.misc_lists import all_countries
>
> __console__:1: DeprecationWarning: Non-ASCII character '\xc3' in file /
> Django/wt/../wt/lib/misc_lists.py on line 141, but n
>>> from wt.lib.misc_lists import all_countries
__console__:1: DeprecationWarning: Non-ASCII character '\xc3' in file /
Django/wt/../wt/lib/misc_lists.py on line 141, but no encoding
declared; see http://www.python.org/peps/pep-0263.html for details
--
http://mail.python.o
On Sat, 2007-08-04 at 12:07 -0700, [EMAIL PROTECTED] wrote:
> Hey There,
>
> Sorry if I am missing something here, but I get a DeprecationWarning
> when importing a list which has some unicode characters in it
Please copy and paste the full text of the warning.
--
Carste
Hey There,
Sorry if I am missing something here, but I get a DeprecationWarning
when importing a list which has some unicode characters in it (it's a
list of countries -- it's being raised on Åland), and I am left
wondering why. I am using the syntax u' to denote a unicode str
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Sat, 03 Feb 2007 07:35:22 -0300, Peter Otten <[EMAIL PROTECTED]>
> escribió:
>> #!/usr/bin/env python2.5
>>
>> python2.5 will be that single argument and no options are possible at
>> all.
>> What might be the reasons for such a seemingly ar
ort warnings
>>> warnings.filterwarnings("ignore", message="Old style callback, use
>>> cb_func(ok, store) instead")
>>
>> Or you can be more aggressive and filter out all DeprecationWarnings:
>> warnings.simplefilter("ignore",Deprecation
Gabriel Genellina wrote:
> En Sat, 03 Feb 2007 06:12:33 -0300, Peter Otten <[EMAIL PROTECTED]>
> escribió:
>
>> John Nagle wrote:
>>
>>>How do I suppress "DeprecationWarning: Old style callback, use
>>>cb_func(ok,
>>> store) i
Gabriel Genellina wrote:
> En Sat, 03 Feb 2007 06:12:33 -0300, Peter Otten <[EMAIL PROTECTED]>
> escribió:
>
>> John Nagle wrote:
>>
>>>How do I suppress "DeprecationWarning: Old style callback, use
>>>cb_func(ok,
>>> store) inst
On 2007-02-03, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> En Sat, 03 Feb 2007 06:12:33 -0300, Peter Otten <[EMAIL PROTECTED]>
> escribió:
>
>> John Nagle wrote:
>>
>>>How do I suppress "DeprecationWarning: Old style callback, use
>&g
En Sat, 03 Feb 2007 06:12:33 -0300, Peter Otten <[EMAIL PROTECTED]>
escribió:
> John Nagle wrote:
>
>>How do I suppress "DeprecationWarning: Old style callback, use
>>cb_func(ok,
>> store) instead". A library is triggering this message, the libra
John Nagle wrote:
>How do I suppress "DeprecationWarning: Old style callback, use
>cb_func(ok,
> store) instead". A library is triggering this message, the library is
> being fixed, but I need to make the message disappear from the output of a
> CGI
How do I suppress "DeprecationWarning: Old style callback, use cb_func(ok,
store) instead". A library is triggering this message, the library is being
fixed, but I need to make the message disappear from the output of a CGI
program.
John Nagl
On Wed, 22 Mar 2006 13:59:00 -0800, Chris Lasher wrote:
> Two things:
> 1) math.floor returns a float, not an int. Doing an int() conversion on
> a float already floors the value, anyways.
No it doesn't, or rather, int() is only equivalent to floor() if you limit
the input to non-negative numbers
> (That long-gone guy is actually me, according to the notes in the program.
> However those brain cells are long gone now, so it might as well not be me.)
I had a great long laugh with this bit. I guess it's because I can
relate so well :)
--
http://mail.python.org/mailman/listinfo/python-list
Dan Jacobson <[EMAIL PROTECTED]> writes:
> Here's the deal: I have to maintain this long gone guy's programs and
> lately they've been saying
> ./north_pass.py:14: DeprecationWarning: integer argument expected, got float
> fl=range(1000*(math.floor(25000*f2m/10
Two things:
1) math.floor returns a float, not an int. Doing an int() conversion on
a float already floors the value, anyways. Try replacing
math.floor(...) with int(...)
e.g.
>>> math.floor(5.9)
5.0
>>> int(5.9)
5
2) What kind of data is in f2m? If f2m is a float, you will get float
values in the
"Dan Jacobson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Here's the deal: I have to maintain this long gone guy's programs and
> lately they've been saying
> ./north_pass.py:14: DeprecationWarning: integer argument expected, got
> f
Here's the deal: I have to maintain this long gone guy's programs and
lately they've been saying
./north_pass.py:14: DeprecationWarning: integer argument expected, got float
fl=range(1000*(math.floor(25000*f2m/1000)),46000*f2m,1000)
As I don't know python, I tried sticking
on "program" (i have to call it by
> someway, hahaha)
>
> print "hello world"
>
> i get this output
>
> hello world
> sys:1: DeprecationWarning: Non-ASCII character '\xf3' in file
> C:\Workspace\J&J\src\es\jau\main.py on line 2, but
"jau" <[EMAIL PROTECTED]> wrote:
> print "hello world"
>
> i get this output
>
> hello world
> sys:1: DeprecationWarning: Non-ASCII character '\xf3' in file
> C:\Workspace\J&J\src\es\jau\main.py on line 2, but no encoding declare
;hello world"
i get this output
hello world
sys:1: DeprecationWarning: Non-ASCII character '\xf3' in file
C:\Workspace\J&J\src\es\jau\main.py on line 2, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details
the article mentioned above didn't
65 matches
Mail list logo