On 8/28/2015 1:56 AM, Christian Gollwitzer wrote:
Am 27.08.15 um 20:32 schrieb Terry Reedy:
On 8/27/2015 4:56 AM, Petr Viktorin wrote:
1321, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: expected integer but got ""
Very puzzling. The only o
Completely off-topic. Stop reading now if you only want to read things about
Python.
On Fri, 28 Aug 2015 09:46 am, Ben Finney wrote:
> \ “Of course, everybody says they're for peace. Hitler was for |
> `\ peace. Everybody is for peace. The question is: what kind of |
> _o__)
Ben Finney writes:
> Victor Hooi writes:
[- -]
>> For example:
>>
>> {
>> "hostname": "example.com",
>> "version": "3.0.5",
>> "pid": {
>> "floatApprox": 18403
>> }
>> "network": {
>> "bytesIn": 123123,
>> "bytesOut": {
>> "floatApprox": 2131
Ben Finney writes:
> Victor Hooi writes:
>
>> Many of the fields are meant to be numerical, however, some fields are
>> wrapped in a "floatApprox" dict, which messed with my parsing.
>
> The examples you give of ‘floatApprox’ are not dicts, so I'm not sure
> quite what that means.
I took the dist
Am 27.08.15 um 20:32 schrieb Terry Reedy:
On 8/27/2015 4:56 AM, Petr Viktorin wrote:
1321, in _configure
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: expected integer but got ""
Very puzzling. The only obviously even possibly relevant change from 3.4
to
I suspect your code will have these 2 lines in it somewhere ...
if isinstance(field, dict):
return int(field['floatApprox'])
using isinstance() or type() is generally frowned upon because
it breaks duck typing, and makes it necessary for you to write more
code every time somebody wants to feed
On Fri, Aug 28, 2015, at 00:57, Victor Hooi wrote:
> I'm reading JSON output from an input file, and extracting values.
>
> Many of the fields are meant to be numerical, however, some fields are
> wrapped in a "floatApprox" dict, which messed with my parsing.
> Is there a way to re-write strip_flo
Victor Hooi writes:
> I'm reading JSON output from an input file, and extracting values.
>
> Many of the fields are meant to be numerical, however, some fields are
> wrapped in a "floatApprox" dict, which messed with my parsing.
>
> For example:
>
> {
> "hostname": "example.com",
> "versio
Victor Hooi writes:
> Many of the fields are meant to be numerical, however, some fields are
> wrapped in a "floatApprox" dict, which messed with my parsing.
The examples you give of ‘floatApprox’ are not dicts, so I'm not sure
quite what that means.
> For example:
>
> {
> "hostname": "exam
Actually, I've just realised, if I just test for numeric or try to cast to
ints, this will break for string fields.
As in, the intention is to call strip_floatAprox_wrapping on all the fields I'm
parsing, and have it deal with the floatApprox dict wrapping, whether the
contents are numbers or s
I'm reading JSON output from an input file, and extracting values.
Many of the fields are meant to be numerical, however, some fields are wrapped
in a "floatApprox" dict, which messed with my parsing.
For example:
{
"hostname": "example.com",
"version": "3.0.5",
"pid": {
"fl
On Fri, Aug 28, 2015 at 1:02 PM, Steven D'Aprano wrote:
> On Fri, 28 Aug 2015 12:33 am, Chris Angelico wrote:
>
>> On Thu, Aug 27, 2015 at 10:59 PM, Steven D'Aprano
>> wrote:
>>> On Thu, 27 Aug 2015 09:14 am, Chris Angelico wrote:
>>>
On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico
wro
On Fri, 28 Aug 2015 12:33 am, Chris Angelico wrote:
> On Thu, Aug 27, 2015 at 10:59 PM, Steven D'Aprano
> wrote:
>> On Thu, 27 Aug 2015 09:14 am, Chris Angelico wrote:
>>
>>> On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico
>>> wrote:
Or is there a magic __isinstance__
>>>
>>> Argh, keyed th
On 08/27/2015 02:21 PM, Ivan Evstegneev wrote:
> Thanks for the reply, I've got your point, furthermore tried to make imports
> as you've told but ended up with kind of an opposite result.
>
> Maybe I've explained myself not clear enough. If you don't mind I'll bring
> back the piece of my code he
rambius writes:
> Hello,
>
> петък, 21 август 2015 г., 21:43:19 UTC-4, Ben Finney написа:
> > The ‘testscenarios’ library is one way to have a set of scenarios
> > applied at run-time to produce tests across all combinations
> > https://pypi.python.org/pypi/testscenarios/>.
>
> testscenarios work
On Monday, August 24, 2015 at 2:28:39 PM UTC-7, DBS wrote:
> On Monday, August 24, 2015 at 2:16:55 PM UTC-7, Chris Rebert wrote:
> > On Mon, Aug 24, 2015 at 1:14 PM, DBS wrote:
> > > Hello,
> > >
> > > I'm trying to retrieve the number of commits and changed files on all
> > > pull requests submi
OK, thanks. I know it depends on differing compiler intrinsics, so it isn't a
trivial patch. Maybe in 3.6 or 3.7.
Thanks,
Cem Karan
Original message
From: Zachary Ware
Date:08/27/2015 3:23 PM (GMT-05:00)
To: python-list@python.org
Cc:
Subject: Re: Issue 19904
On Thu
On Fri, Aug 28, 2015 at 4:25 AM, Ivan Evstegneev
wrote:
> Can some please (I mean very please) explain me how do I reassign
> "engine_object" and "meta_object" variables,
> so they would store(point to) a new connection objects of my database,
> while other functions still would see those variable
-Original Message-
>From: Python-list
[mailto:python-list-bounces+webmailgroups=gmail@python.org] On Behalf Of
Michael Torrie
>Sent: Thursday, August 27, 2015 21:50
>To: python-list@python.org
>Subject: Re: How to reassign the value of the variable on runtime?
>On 08/27/2015 12:25 PM
On Thu, Aug 27, 2015 at 2:02 PM, CFK wrote:
> Does anyone know where issue 19904 (http://bugs.python.org/issue19904) is
> at? I don't see it as being in python 3.5, but I was wondering if I just
> missed it. I could use support for __uint128_t so that I can interface with
> external C code via c
On 2015-08-27 20:02, CFK wrote:
Does anyone know where issue 19904 (http://bugs.python.org/issue19904)
is at? I don't see it as being in python 3.5, but I was wondering if I
just missed it. I could use support for __uint128_t so that I can
interface with external C code via ctypes.
It looks l
Does anyone know where issue 19904 (http://bugs.python.org/issue19904) is
at? I don't see it as being in python 3.5, but I was wondering if I just
missed it. I could use support for __uint128_t so that I can interface
with external C code via ctypes.
Thanks,
Cem Karan
--
https://mail.python.org
On 08/27/2015 12:25 PM, Ivan Evstegneev wrote:
> Can some please (I mean very please) explain me how do I reassign
> "engine_object" and "meta_object" variables,
> so they would store(point to) a new connection objects of my database,
> while other functions still would see those variables as thei
On 8/27/2015 4:56 AM, Petr Viktorin wrote:
On Fri, Aug 7, 2015 at 4:07 AM, Terry Reedy wrote:
Python has an extensive test suite run after each 'batch' of commits on a
variety of buildbots. However, the Linux buildbots all (AFAIK) run
'headless', with gui's disabled. Hence the following
test_
Hello all,
I have stuck with some issue and can't solve it myself, your help will be
highly appreciated.
A bit of background:
In my project I work with MySQL DB and SQLAlchemy. One of its tasks is to
load data from excel files into database.
To achieve this, I use some function that checks whet
On 8/26/2015 2:14 PM, Grant Edwards wrote:
On 2015-08-26, Emile van Sebille wrote:
On 8/26/2015 9:06 AM, Grant Edwards wrote:
It's also unfortunate that there's no way to
to access the mailing list via an NNTP server
Huh? -- gmane.comp.python.general at
news://nntp.gmane.com:119/gmane.comp.p
ANNOUNCING
eGenix.com mx Base Distribution
mxDateTime, mxTextTools, mxProxy, mxURL, mxUID,
mxBeeBase, mxStack, mxQueue, mxTools
Version 3.2.9
A quick google search led me here:
http://www.diveintopython.net/soap_web_services/index.html
That may help you out.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 27, 2015 at 8:14 AM, Grant Edwards wrote:
> And the NNTP clients and protocol were designed from the ground up to
> handle largish volumes of messages grouped into "lists" and threads.
> Trying to coax that functionality out of e-mail by using list-servers
> and various procmail and e-
On Fri, Aug 28, 2015 at 1:06 AM, Joel Goldstick
wrote:
> Chris, I think you are missing a left paren
Borrow one of the ones from inside the quoted string, there's plenty
of spares. They won't notice one missing. I'm fairly sure the rest of
the code is syntactically valid, though.
But I did get a
On Thu, Aug 27, 2015 at 8:34 AM, Steven D'Aprano wrote:
> It's old news, but I found this interesting: some malware installs Python
> for ease of scripting bots:
>
> http://www.theregister.co.uk/2014/11/06/hackers_use_gmail_drafts_as_dead_drops_to_control_malware_bots/
See also previous discussio
On Thu, Aug 27, 2015 at 10:56 AM, Chris Angelico wrote:
> On Fri, Aug 28, 2015 at 12:33 AM, wrote:
>> [ block of PHP code with no explanation ]
>
> I surmise from your subject line that you want a Python program that
> does the same thing? Sure, we can do that; after all, we're your
> indentured
On Fri, Aug 28, 2015 at 12:33 AM, wrote:
> [ block of PHP code with no explanation ]
I surmise from your subject line that you want a Python program that
does the same thing? Sure, we can do that; after all, we're your
indentured slaves, required to write code at minimal spec without any
explana
Hello,
петък, 21 август 2015 г., 21:43:19 UTC-4, Ben Finney написа:
> > Is there a better a way to pass the server, the user and the password
> > to the test without resolving to global variables?
>
> The ‘testscenarios’ library is one way to have a set of scenarios
> applied at run-time to produ
It's old news, but I found this interesting: some malware installs Python
for ease of scripting bots:
http://www.theregister.co.uk/2014/11/06/hackers_use_gmail_drafts_as_dead_drops_to_control_malware_bots/
--
Steven
--
https://mail.python.org/mailman/listinfo/python-list
'5a194cff-‐c913-‐3c79-‐5415-‐551a4fbc4ec5',
'password' =>'hTJLnXH6ZZyqLw',
'fname'=>'ali',
'lname' =>'ghaderi',
'email' =>'i...@parsishop.ir',
'quantity' =>1,
'product' =>'ENAHE',
'update_type' =>1,
'country_code' =>1022,
'debug' =>1);
//create object that referer a web services
$cl
On Thu, Aug 27, 2015 at 10:59 PM, Steven D'Aprano wrote:
> On Thu, 27 Aug 2015 09:14 am, Chris Angelico wrote:
>
>> On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico wrote:
>>> Or is there a magic __isinstance__
>>
>> Argh, keyed the wrong thing and sent the post prematurely. Meant to say:
>>
>> Or
On 2015-08-26, Mark Lawrence wrote:
> On 26/08/2015 22:20, Terry Reedy wrote:
>> On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
>> [snip]
>>
>> Are you allowed to use a newsreader or a mail+newsreader (Outlook
>> Express, Thunderbird, )? If so post through newsgroup
>> gmane.comp.python.gener
Dear All,
The solution / explanation follows.
Thanks to Graham Dumpleton, the author of mod_wsgi (the WSGI module for
Apache2) the source of the problem could be traced back to variables in
Apache2. Below are the details reproduced from
https://groups.google.com/forum/#!topic/modwsgi/4wdfCOnMU
On Thu, 27 Aug 2015 09:14 am, Chris Angelico wrote:
> On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico wrote:
>> Or is there a magic __isinstance__
>
> Argh, keyed the wrong thing and sent the post prematurely. Meant to say:
>
> Or is there a magic __instancecheck__ method somewhere that I'm not
On 27/08/2015 10:39, jmp wrote:
On 08/26/2015 11:20 PM, Terry Reedy wrote:
On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
[snip]
Are you allowed to use a newsreader or a mail+newsreader (Outlook
Express, Thunderbird, )? If so post through newsgroup
gmane.comp.python.general at news.gmane.o
On 08/26/2015 11:20 PM, Terry Reedy wrote:
On 8/26/2015 12:36 PM, Jean-Michel Pichavant wrote:
[snip]
Are you allowed to use a newsreader or a mail+newsreader (Outlook
Express, Thunderbird, )? If so post through newsgroup
gmane.comp.python.general at news.gmane.org (as I am).
I screwed alread
On Fri, Aug 7, 2015 at 4:07 AM, Terry Reedy wrote:
> Python has an extensive test suite run after each 'batch' of commits on a
> variety of buildbots. However, the Linux buildbots all (AFAIK) run
> 'headless', with gui's disabled. Hence the following
> test_tk test_ttk_guionly test_idle
> (and o
43 matches
Mail list logo