Re: WHAT THE ERROR ON MY CODE???

2022-06-28 Thread נתי שטרן
Sorry but i forgor to delete this token data בתאריך יום שלישי, 28 ביוני 2022, מאת De ongekruisigde < ongekruisi...@news.eternal-september.org>: > On 2022-06-28, Chris Angelico wrote: > > ‪On Wed, 29 Jun 2022 at 01:37, ‫נתי שטרן‬‎ wrote:‬ > >> headers["Authorization"] = "Basic > >>

Re: REPL with multiple function definitions

2022-06-28 Thread Chris Angelico
On Wed, 29 Jun 2022 at 11:00, Rob Cliffe via Python-list wrote: > > On 26/06/2022 23:22, Jon Ribbens via Python-list wrote: > > On 2022-06-26, Rob Cliffe wrote: > >> This 2-line program > >> > >> def f(): pass > >> def g(): pass > >> > >> runs silently (no Exception). But: > >> > >> 23:07:02

Re: REPL with multiple function definitions

2022-06-28 Thread Rob Cliffe via Python-list
On 26/06/2022 23:22, Jon Ribbens via Python-list wrote: On 2022-06-26, Rob Cliffe wrote: This 2-line program def f(): pass def g(): pass runs silently (no Exception).  But: 23:07:02 c:\>python Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)] on win32

Re: WHAT THE ERROR ON MY CODE???

2022-06-28 Thread De ongekruisigde
On 2022-06-28, Chris Angelico wrote: > ‪On Wed, 29 Jun 2022 at 01:37, ‫נתי שטרן‬‎ wrote:‬ >> headers["Authorization"] = "Basic >> YjMwMzcwODY3NTUzNDMwNTg5NzA2MjkyNDFmMDE1YWY6VjNKYTk2Y1F4RTFzeTdYbzRnbkt0a2k1djhscXUyU01oSE5VWUwwRg==" >> > > The error is that you just revealed your credentials to

Re: WHAT THE ERROR ON MY CODE???

2022-06-28 Thread David Lowry-Duda
Please don't use all caps in the subject line. It comes across as if you're yelling at the list --- this doesn't make people want to be more helpful. Instead, use meaningful, specific subject headers. Also, please be precise and informative about what your problem is. It's not clear what you

Re: WHAT THE ERROR ON MY CODE???

2022-06-28 Thread Chris Angelico
‪On Wed, 29 Jun 2022 at 01:37, ‫נתי שטרן‬‎ wrote:‬ > headers["Authorization"] = "Basic > YjMwMzcwODY3NTUzNDMwNTg5NzA2MjkyNDFmMDE1YWY6VjNKYTk2Y1F4RTFzeTdYbzRnbkt0a2k1djhscXUyU01oSE5VWUwwRg==" > The error is that you just revealed your credentials to the whole world. This is a public mailing list.

WHAT THE ERROR ON MY CODE???

2022-06-28 Thread נתי שטרן
import requests from requests.structures import CaseInsensitiveDict url = "https://api.crowdstrike.com/oauth2/token; headers = CaseInsensitiveDict() headers["Content-Type"] = "application/x-www-form-urlencoded" headers["Authorization"] = "Basic

Re: why function throws an error?

2022-06-28 Thread Dennis Lee Bieber
On Tue, 28 Jun 2022 10:57:59 +0300, ??? declaimed the following: >def add_route(self, route): >#""" Add a route object, but do not change the :data:`Route.app` >#attribute.""" >self.routes.append(route) >self.router.add(route.rule,

Re: why function throws an error?

2022-06-28 Thread Lars Liedtke
Hey, Which error does it throw? Could you please send the stacktrace as well? Cheers Lars -- Lars Liedtke Software Entwickler Phone: Fax:+49 721 98993- E-mail: l...@solute.de solute GmbH Zeppelinstraße 15 76185 Karlsruhe

[Python-announce] PyConZA 2022 - Call for Submissions

2022-06-28 Thread Neil Muller
PyConZA 2022 will take place on the 13th & 14th of October, 2022. This year, PyConZA will be a hybrid conference (with in-person and online access) hosted at the Premier Splendid Inn in Umhlanga, Durban. We are looking for the following presentations: - Keynotes (45 minute long talks on a

Re: why function throws an error?

2022-06-28 Thread Mirko via Python-list
Am 28.06.22 um 09:57 schrieb נתי שטרן: def add_route(self, route): #""" Add a route object, but do not change the :data:`Route.app` #attribute.""" self.routes.append(route) self.router.add(route.rule, route.method, route,

why function throws an error?

2022-06-28 Thread נתי שטרן
def add_route(self, route): #""" Add a route object, but do not change the :data:`Route.app` #attribute.""" self.routes.append(route) self.router.add(route.rule, route.method, route, name=route.name ) #if DEBUG: