Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A fail-safe circuit will destroy others. -- Klipstein


devel / comp.lang.python / Re: Python Package documentation error

SubjectAuthor
o Re: Python Package documentation errorKrishna

1
Re: Python Package documentation error

<mailman.593.1630647656.4164.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=14936&group=comp.lang.python#14936

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: bvvkris...@gmail.com (Krishna)
Newsgroups: comp.lang.python
Subject: Re: Python Package documentation error
Date: Fri, 3 Sep 2021 10:43:03 +0530
Lines: 35
Message-ID: <mailman.593.1630647656.4164.python-list@python.org>
References: <CAKv2dyvQjdHQmNkZE+C_wvnqi6SrGscj4OSwmtmNjXb7y8NRrw@mail.gmail.com>
<CAKv2dysnSYrVLFjie8TZvHEqXcTA1oVbZ0qvNDuPTONFNtaukw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de m1UAJNHvM0+2njhanPporwp8Vl55luhWWh3BDO+rI1Ug==
Return-Path: <bvvkrishna@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=W6jc6cQv;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.015
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'containing': 0.05;
'subject:error': 0.07; 'url:modules': 0.07; 'subject:Python':
0.12; '3.x': 0.16; 'directories': 0.16; 'mandatory': 0.16;
'packages.': 0.16; 'url:tutorial': 0.16; 'wrote:': 0.16; 'python':
0.16; 'version': 0.22; 'fri,': 0.23; 'to:no real name:2**1': 0.23;
'to:addr:python-list': 0.23; 'it.\xc2\xa0': 0.27; 'wrong': 0.27;
'version.': 0.28; 'think': 0.31; 'sfxlen:2': 0.31; 'subject:skip:d
10': 0.31; 'thanks,': 0.31; 'sep': 0.32; 'message-
id:@mail.gmail.com': 0.33; 'header:In-Reply-To:1': 0.33; 'files':
0.33; 'received:google.com': 0.34; '"the': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.38;
'received:209.85.210': 0.38; 'file': 0.38; 'though': 0.38;
'received:209': 0.38; 'to:2**1': 0.38; 'url-ip:151.101.36.223/32':
0.38; 'url-ip:151.101.36/24': 0.38; 'valid': 0.40; 'to:addr:docs':
0.64; 'required': 0.66; '[1]': 0.68; 'treat': 0.77; '2021': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=TRCCHfZT/I+sDznOKfrSuBppaCBo53q4EhquwU2TSRE=;
b=W6jc6cQvxiAU5kHbbiBPJtoYbb/DEbY0/0++b1ZIVzpJtQ+rGmv2eA0GIUQajP8pT7
ldhavp1irpW9bkK8LpdRf8Qs5ERv9lUsdk3B+t4jo9P3aSLVl0uiOEuyt9pf5yQM4LWD
qbF6Zwmo34OJUgqXsjUhl8UvG1D2/VvVHTjCf1KgVuGKHpsKWIuei/bAoV9lVirJo/TQ
onVBGBBn03lF3xMquvtpqfnaXTFgFr23YKgwrQjLtuCO4F9p4G4X1CEEQFRM+oA65XJl
ASNspiQdFdZNv3NER1q3pif9JJCjBuI4skVc/3gTqfJAP3nMVwYpcLlfb3UjYGIV+Dr+
BT6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=TRCCHfZT/I+sDznOKfrSuBppaCBo53q4EhquwU2TSRE=;
b=aZJOQyr2O6oVQF9bhHAWHu2EtcQrgxMIexGdJ2C07I5uOqdoauII8xOLQma2g3Rhjo
HNq4Gwjyk7Qy+k7vnjhwUKtMgu4jb1oeQ5ONef8ufuYBNwcn/dm4b1w3Djz0Be/rQvRA
A/ofaO8GTHOsgM/LNdztRsWvhocSMhyZDBsP4dgY67vleuBCEPU29c6vemAH56w2lZi0
64tg0LWqjYVan6tGTpftlRGyDXB6U/jgUTYe99Y8xuyyEN+gUm4TAPnwJzGdXJvD3VU6
+2e65qUd7+o8DqYuQq1doLPvqQJZDA1h9oomcnw2LmspmsZKL6wpF6Vc1Ay/Sh6U8jAq
zX1g==
X-Gm-Message-State: AOAM530yy54h5Idr7IZoUnaWj2G8K13serNHI6Eao3Z8Dl0JVkHm60yA
2qC2eCqW74+6JsBFRBrJ/WRuV+UjzEg6E3eBwC8Ccsx3ZzkeHw==
X-Google-Smtp-Source: ABdhPJz+BqY4cwMDiEzXAg/5+kd3f88euLBf3LaXMtoxDxnFANPRaqlWiTN79jajoBdSX8YxDNmCTANvv7ewhe1AZT8=
X-Received: by 2002:a63:35cc:: with SMTP id c195mr1571032pga.373.1630645994574;
Thu, 02 Sep 2021 22:13:14 -0700 (PDT)
In-Reply-To: <CAKv2dyvQjdHQmNkZE+C_wvnqi6SrGscj4OSwmtmNjXb7y8NRrw@mail.gmail.com>
X-Mailman-Approved-At: Fri, 03 Sep 2021 01:40:55 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAKv2dysnSYrVLFjie8TZvHEqXcTA1oVbZ0qvNDuPTONFNtaukw@mail.gmail.com>
X-Mailman-Original-References: <CAKv2dyvQjdHQmNkZE+C_wvnqi6SrGscj4OSwmtmNjXb7y8NRrw@mail.gmail.com>
 by: Krishna - Fri, 3 Sep 2021 05:13 UTC

Hi Python Team,
I think the statement "The __init__.py files are required to make Python
treat directories containing the file as packages" is wrong in the
documentation[1] because it is valid only for Python 2.x version not Python
3.x version.

Even though it is good practice to have this file, it is not mandatory to
have in Python 3x. to treat directories as packages. So I think we should
correct it.

[1]
https://docs.python.org/3/tutorial/modules.html?highlight=packages#packages

Thanks,
Krishna

On Fri, Sep 3, 2021 at 10:13 AM Krishna <bvvkrishna@gmail.com> wrote:

> Hi Python Team,
> I think the statement "The __init__.py files are required to make Python
> treat directories containing the file as packages" is wrong in the
> documentation[1] because it is valid only for Python 2.x version not Python
> 3.x version.
>
> Even though it is good practice to have this file, it is not mandatory to
> have in Python 3x. to treat directories as packages. So I think we should
> correct it.
>
> [1]
> https://docs.python.org/3/tutorial/modules.html?highlight=packages#packages
>
> Thanks,
> Krishna
>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor