Re: [Python-Dev] Surely "nullable" is a reasonable name?

2014-08-04 Thread Oleg Broytman
ot;noneable". I, > in turn, find their surprise surprising; "nullable" is a term long > associated with exactly this concept. It's used in C# and SQL, and > the term even has its own Wikipedia page: > > http://en.wikipedia.org/wiki/Nullable_type In my

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-18 Thread Oleg Broytman
On Mon, Aug 18, 2014 at 04:12:22PM -0400, Terry Reedy wrote: > Firefox does not want to connect to https:bugs.python.org. Works for me (FF 31). Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-08-18 Thread Oleg Broytman
security certificate. The certificate > is not trusted because no issuer chain was provided. (Error code: > sec_error_unknown_issuer) Aha, I see now -- the signing certificate is CAcert, which I've installed manually. Oleg. -- Oleg Broytmanhttp://phdru.name/

Re: [Python-Dev] Bytes path support

2014-08-21 Thread Oleg Broytman
me UNIX fanboy.) > > Cheers, > Cameron Simpson +1 from another Unix fanboy. Like an old wine, Unix becomes better with years! ;-) Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. _

Re: [Python-Dev] Bytes path support

2014-08-21 Thread Oleg Broytman
ing of file's content? Certainly yes. As a locale encoding? Definitely no. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mai

Re: [Python-Dev] Bytes path support

2014-08-21 Thread Oleg Broytman
my way I'd rather switch to a different tools. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
Hi! On Sat, Aug 23, 2014 at 01:19:14AM +1000, Steven D'Aprano wrote: > On Fri, Aug 22, 2014 at 04:42:29AM +0200, Oleg Broytman wrote: > > On Thu, Aug 21, 2014 at 05:30:14PM -0700, Chris Barker - NOAA Federal > > wrote: > > > This brings up the other key probl

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
On Fri, Aug 22, 2014 at 09:37:13AM -0700, Glenn Linderman wrote: > On 8/22/2014 8:51 AM, Oleg Broytman wrote: > >What encoding does have a text file (an HTML, to be precise) with > >text in utf-8, ads in cp1251 (ad blocks were included from different > >files) a

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
On Fri, Aug 22, 2014 at 10:09:21AM -0700, Glenn Linderman wrote: > On 8/22/2014 9:52 AM, Oleg Broytman wrote: > >On Fri, Aug 22, 2014 at 09:37:13AM -0700, Glenn Linderman > > wrote: > >>On 8/22/2014 8:51 AM, Oleg Broytman wrote: > >>>What encoding d

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
On Fri, Aug 22, 2014 at 01:17:44PM -0700, Glenn Linderman wrote: > >in cp1251 of utf-8 encoding > > "cp1251 of utf-8 encoding" is non-sensical. Either it is cp1251 or > it is utf-8, but it is not both. Maybe you meant "or" instead of > "of".

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
uck with Python2 for many years and I haven't tried Python3. May be I should try a small personal project, but certainly not this year. May be the next one... Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name

Re: [Python-Dev] Bytes path support

2014-08-22 Thread Oleg Broytman
, I think. The second popular encoding is cp866 (Russian DOS); it's used by Windows as OEM encoding. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. __

Re: [Python-Dev] Bytes path support

2014-08-23 Thread Oleg Broytman
roken". Better yet, to persuade them it's not. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] Bytes path support

2014-08-23 Thread Oleg Broytman
On Sat, Aug 23, 2014 at 07:14:47PM +0900, "Stephen J. Turnbull" wrote: > I cannot believe you are going to find a better environment for > dealing with these issues than Python 3. Well, that's may be. Oleg. -- Oleg Broytmanhttp://phdru.name/

Re: [Python-Dev] Bytes path support

2014-08-23 Thread Oleg Broytman
Hi! On Sat, Aug 23, 2014 at 06:40:37PM +0100, Paul Moore wrote: > On 23 August 2014 16:15, Oleg Broytman wrote: > > On Sat, Aug 23, 2014 at 06:02:06PM +0900, "Stephen J. Turnbull" > > wrote: > >> And that's the big problem with Oleg's complaint, to

Re: [Python-Dev] Bytes path support

2014-08-25 Thread Oleg Broytman
Hi! Thank you very much, Nick, for long and detailed explanation! On Sun, Aug 24, 2014 at 01:27:55PM +1000, Nick Coghlan wrote: > On 24 August 2014 04:37, Oleg Broytman wrote: > > On Sat, Aug 23, 2014 at 06:40:37PM +0100, Paul Moore > > wrote: > >> Generally, it seems

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-09-01 Thread Oleg Broytman
e if there is an ETA. The signing certificate is still CAcert. One can install their root certificate from http://www.cacert.org/index.php?id=3 Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don&

Re: [Python-Dev] https:bugs.python.org -- Untrusted Connection (Firefox)

2014-09-02 Thread Oleg Broytman
On Tue, Sep 02, 2014 at 04:14:25PM -0400, Terry Reedy wrote: > On 9/2/2014 1:49 AM, Oleg Broytman wrote: > >On Mon, Sep 01, 2014 at 08:32:27PM -0500, Skip Montanaro > > wrote: > >>I got the same in Chrome on my Mac. > >> > >>Skip > >>On Sep 1

Re: [Python-Dev] https://docs.python.org/3/using/index.html not linking correctly

2014-10-20 Thread Oleg Broytman
and clicking am entry brings up the corresponding page almost > immediately. > > -- > Terry Jan Reedy Works for me. I clicked "2. Using Python on Unix platforms" and got to https://docs.python.org/3/using/unix.html without any problem. Oleg. -- Oleg Broytma

Re: [Python-Dev] https://docs.python.org/3/using/index.html not linking correctly

2014-10-20 Thread Oleg Broytman
> > I also get 'Connecting' indefinitely. > > So I tested the link here: > > http://www.downforeveryoneorjustme.com/ > > It said: "It's not just you! http://https looks down from here." I think this is a limitation of isup.me: it doesn't

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-01 Thread Oleg Broytman
ch URI do we assign to this artifact? There are already pages https://wiki.python.org/moin/Git and https://wiki.python.org/moin/Mercurial . You can create an additional page and reference it on that pages. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name

Re: [Python-Dev] PEP 481 - Migrate Some Supporting Repositories to Git and Github

2014-12-01 Thread Oleg Broytman
uses. Let's see... https://wiki.python.org/moin/?action=raw Seems like reST. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. __

Re: [Python-Dev] Google search labels Python 2.7 docs as Python 3.4

2015-01-01 Thread Oleg Broytman
7;d rather recommend http://goog-sitemapgen.sourceforge.net/ Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Py

Re: [Python-Dev] Unicode literals in Python 2.7

2015-04-29 Thread Oleg Broytman
can be an OEM codepage. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mail

Re: [Python-Dev] No tags in semi-official github mirror of cpython repository.

2015-05-16 Thread Oleg Broytman
he latter to be much better. See https://github.com/felipec/git-remote-hg and https://github.com/felipec/git/wiki/Comparison-of-git-remote-hg-alternatives > Thanks > -- > INADA Naoki Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Pr

Re: [Python-Dev] PEP 559 - built-in noop()

2017-09-09 Thread Oleg Broytman
l: > print(well) > --- > > Output: > --- > nope > nope > nope > nope > --- > > IHMO the real question is if we need a Noop.nope() method? Yep. It must return self so one can chain as many calls as she wants. > Victor Oleg. -- Oleg Broytman

Re: [Python-Dev] Scrapy Question

2017-10-13 Thread Oleg Broytman
Experts, > > Could someone guide me how to use the code in below question(Link). > https://stackoverflow.com/questions/46711909/extract-urls-recursively-from-website-archives-in-scrapy > > Thanks, > KK. Oleg. -- Oleg Broytmanhttp://phdru.name/

Re: [Python-Dev] PEP 561: Distributing and Packaging Type Information

2017-10-26 Thread Oleg Broytman
org/pipermail/python-ideas/2017-September/047083.html > This PEP adds a new item to the > ``*.distinfo/METADATA`` file *.dist-info/ Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB

Re: [Python-Dev] PEP 561: Distributing and Packaging Type Information

2017-10-26 Thread Oleg Broytman
's was added in 2003: https://hg.python.org/peps/annotate/96614829c145/pep-0001.txt https://github.com/python/peps/commit/0a690292ffe2cdc547dbad3bdbdb46672012b536 I don't remember if python-ideas has already been created. ;-) > So, no ? I'm not so sure. :-) &g

Re: [Python-Dev] PEP 561: Distributing and Packaging Type Information

2017-10-26 Thread Oleg Broytman
> Mariatta Wijaya > > On Thu, Oct 26, 2017 at 5:03 PM, Guido van Rossum > wrote: > > > I think python-ideas does count here. Many PEPs evolve mostly there. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don'

Re: [Python-Dev] Convert Sqlite Function from cx_Oracle

2017-10-30 Thread Oleg Broytman
lp me ? > > > import cx_Oracle > con = cx_Oracle.connect('/@xxx/xxx') > > cur = con.cursor() > cur.execute("select * from test") > > desc = [d[0] for d in cur.description] > > result = [dict(zip(dec,line))for line in cur]

Re: [Python-Dev] Proposal: go back to enabling DeprecationWarning by default

2017-11-05 Thread Oleg Broytman
uld do with the warnings? > Yury Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org https://m

Re: [Python-Dev] Deprecate PEP 370 Per user site-packages directory?

2018-01-13 Thread Oleg Broytman
propose to deprecate the feature and remove it in Python 4.0. > > Regards, > Christian > > [1] https://www.python.org/dev/peps/pep-0370/ Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB wit

Re: [Python-Dev] Deprecate PEP 370 Per user site-packages directory?

2018-01-13 Thread Oleg Broytman
env path; path/bin/pip > install package". I've learned virtual envs and use them every day. I also use ``pip install --user``. Different use cases. Virtual envs are for development, ``pip install --user`` for deployment. > Christian Oleg. -- Oleg Broytmanhtt

Re: [Python-Dev] Deprecate PEP 370 Per user site-packages directory?

2018-01-13 Thread Oleg Broytman
On Sat, Jan 13, 2018 at 09:00:07PM +0100, Christian Heimes wrote: > On 2018-01-13 20:08, Oleg Broytman wrote: > > Hi! > > > > On Sat, Jan 13, 2018 at 06:06:16PM +0100, Christian Heimes > > wrote: > >> Hi, > >> > >> PEP 370 [1] was my

Re: [Python-Dev] Python 3.7: Require OpenSSL >=1.0.2 / LibreSSL >= 2.5.3

2018-01-13 Thread Oleg Broytman
mpiled from sources. > -Brett Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org https://mail.pyth

Re: [Python-Dev] Positional-only parameters in Python

2018-01-17 Thread Oleg Broytman
y. Is there syntax to combine def some_func(a, b, /, *, the_other): ??? May be def some_func(a, b, /*, the_other): ??? > And slash is > certainly no uglier than star. ;) I tend to agree. Both are absolutely but equally ugly. :-( > -- > ~Ethan~ Oleg. -- Ol

Re: [Python-Dev] Positional-only parameters in Python

2018-01-21 Thread Oleg Broytman
behavior is declared. Also, as the `\` \ -> / Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Slipping Python 3.5.5rc1 and 3.4.8rc1 because of a Travis CI issue--can someone make Travis CI happy?

2018-01-22 Thread Oleg Broytman
ps://github.com/travis-ci/travis-ci/issues/8363#issuecomment-354857845 which python3.5 || (pyenv install 3.5.4 && pyenv use system 3.5.4) > //arry/ Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don'

Re: [Python-Dev] Guido's Python 1.0.0 Announcement from 27 Jan 1994

2018-01-27 Thread Oleg Broytman
Guido and everyone contributing to Python. > > Thanks, > Senthil Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list

Re: [Python-Dev] Guido's Python 1.0.0 Announcement from 27 Jan 1994

2018-01-27 Thread Oleg Broytman
On Sat, Jan 27, 2018 at 10:28:52PM +0200, Simon Cross wrote: > We need a PPP! Playful Python Party?! Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB withou

Re: [Python-Dev] How is the GitHub workflow working for people?

2018-02-23 Thread Oleg Broytman
On Fri, Feb 23, 2018 at 08:12:13AM -0500, Wes Turner wrote: > A pre-commit hook with flake8 The problem now is not how to configure git with flake8 (et al) but how to configure flake8 (and other tools) to minimize the noise with the current codebase. Oleg. -- Oleg Broyt

Re: [Python-Dev] Better support for consuming vendored packages

2018-03-22 Thread Oleg Broytman
Freeze, py2exe (+ installer like NSIS or InnoSetup), py2app, etc... Most of them pack a copy of Python interpreter and necessary parts of stdlib, so there is no problem with `sys.path` and wrong imports. > Gregory Oleg. -- Oleg Broytmanhttp://phdru.name/p...@p

Re: [Python-Dev] Better support for consuming vendored packages

2018-03-22 Thread Oleg Broytman
ter than vendoring. > Cheers, > -Barry Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] PEP 572: Assignment Expressions

2018-04-18 Thread Oleg Broytman
flict markers look like. ;) Sorry for being pedantic, but git conflict markers are 7 in length. > -gps Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Python startup time - daemon

2018-05-11 Thread Oleg Broytman
ct stdio to/from the daemon; c) need to redirect signals and exceptions; d) have problems with elevated privileges (how do you elevate the daemon if the client was started with `sudo -H`?); e) not portable (there is a popular GUI that cannot fork). > -CHB > Sent from my iPhone Oleg. --

Re: [Python-Dev] Python startup time

2018-05-14 Thread Oleg Broytman
26-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GO

Re: [Python-Dev] The history of PyXML

2018-05-28 Thread Oleg Broytman
know whether PyXML used any VCS served by SourceForge, or just > published tarballs. They had been using CVS: https://web.archive.org/web/20151113082010/http://sourceforge.net/p/pyxml/code/ CVS repo web viewer shows some subdirectories but it seems there is no sources. I also failed to rsyn

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
On Sat, Sep 12, 2015 at 03:54:51PM +0200, Oleg Broytman wrote: > PEP: XXX > Title: Collecting information about git HTMLized version: http://phdru.name/Software/Python/PEPs/pep-git.html git repo: http://git.phdru.name/?p=pep-git.git;a=summary Oleg. -- Oleg Broytman

[Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
PEP: XXX Title: Collecting information about git Version: $Revision$ Last-Modified: $Date$ Author: Oleg Broytman Status: Draft Type: Informational Content-Type: text/x-rst Created: 01-Jun-2015 Post-History: 12-Sep-2015 Abstract This Informational PEP collects information about git

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
rett Cannon wrote: > I have not had a chance to read Oleg's PEP, but the devguide has the > reverse docs at https://docs.python.org/devguide/gitdevs.html so we have > the VCS docs down pat. :) > > On Sat, Sep 12, 2015, 06:59 Oleg Broytman wrote: > > PEP: XXX > > Ti

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
> > reverse docs at https://docs.python.org/devguide/gitdevs.html so we have > > the VCS docs down pat. :) > > > > On Sat, Sep 12, 2015, 06:59 Oleg Broytman wrote: > > > >> PEP: XXX > >> Title: Collecting information about git Oleg. -- Ol

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
On Sat, Sep 12, 2015 at 02:02:15PM -0400, PJ Eby wrote: > On Sat, Sep 12, 2015 at 9:54 AM, Oleg Broytman wrote: > > The plan is to extend the PEP in the future collecting information > > about equivalence of Mercurial and git scenarios to help migrating > > Python developm

Re: [Python-Dev] PEP: Collecting information about git

2015-09-12 Thread Oleg Broytman
Hi! On Sun, Sep 13, 2015 at 09:14:58AM +1000, Tim Delaney wrote: > On 13 September 2015 at 04:42, Oleg Broytman wrote: > > >There are too many things that I personally can do with git but can't > > do with hg. Because of that I switched all my development from

Re: [Python-Dev] PEP: Collecting information about git

2015-09-13 Thread Oleg Broytman
creating and managing mainline branches, topic branches and bugfix branches. To support the flow at the software level the author implemented ``git flow`` extension: https://github.com/nvie/gitflow See an example at http://alblue.bandlem.com/2011/11/git-tip-of-week-git-flow.html Oleg. -

Re: [Python-Dev] peps: Move 13 -> 103

2015-09-15 Thread Oleg Broytman
3.rst > > Is it due to superstition? It's because I suggested the PEP doesn't deserve to be listed among the top Process PEPs. Mine PEP is just Informational, so a number like 103 seems to suits it better. Barry agreed. Oleg. -- Oleg Broytman

Re: [Python-Dev] PEP: Collecting information about git

2015-09-15 Thread Oleg Broytman
Hello! On Sat, Sep 12, 2015 at 03:54:51PM +0200, Oleg Broytman wrote: > Title: Collecting information about git The PEP is assigned number 103: https://www.python.org/dev/peps/pep-0103/ I added a section "Branching models". Oleg. -- Oleg Broytmanhttp

Re: [Python-Dev] PEP: Collecting information about git

2015-09-15 Thread Oleg Broytman
cause the core team doesn't use git the information doesn't belong to the current revision of Developer's Guide. > On Sat, Sep 12, 2015, at 06:56, Oleg Broytman wrote: > > On Sat, Sep 12, 2015 at 03:54:51PM +0200, Oleg Broytman > > wrote: > > > PEP: 103 > >

Re: [Python-Dev] PEP: Collecting information about git

2015-09-15 Thread Oleg Broytman
t; > GitHub. > > > > On Tue, Sep 15, 2015 at 11:19 AM, Georg Brandl > <mailto:g.bra...@gmx.net>> wrote: > > > > On 09/15/2015 08:02 PM, Oleg Broytman wrote: > > > On Tue, Sep 15, 2015 at 09:46:55AM -0700, Benjamin Peterson > > ma

Re: [Python-Dev] PEP: Collecting information about git

2015-09-15 Thread Oleg Broytman
wrote: > >For one, because *I* have been a (moderate) advocate for switching > >to git and GitHub. > > > >On Tue, Sep 15, 2015 at 11:19 AM, Georg Brandl ><mailto:g.bra...@gmx.net>> wrote: > > > >On 09/15/2015 08:02 PM, Oleg Broytman wro

Re: [Python-Dev] PEP: Collecting information about git

2015-09-16 Thread Oleg Broytman
tool over another. Common ones are > familiarity, simplicity, and power. Add here documentation, speed, availability of extensions and 3rd-party tools, hosting options (both locally installable and web services). > Oleg Broytman phdru.name> writes: > > With git we can have > >

Re: [Python-Dev] PEP: Collecting information about git

2015-09-16 Thread Oleg Broytman
On Wed, Sep 16, 2015 at 07:27:12PM +1000, Chris Angelico wrote: > On Wed, Sep 16, 2015 at 7:20 PM, Oleg Broytman wrote: > >Thanks. I think upstream remote-tracking branches in git are rather > > similar. If one's afraid of rewriting published history she should never &

Re: [Python-Dev] Very old git mirror under github user "python-git"

2016-02-15 Thread Oleg Broytman
po from his cold dead fingers. Well, I hope prying can be done without striking first. ;-) > -- > Greg Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. __

Re: [Python-Dev] Defining a path protocol

2016-04-06 Thread Oleg Broytman
t; > Maybe __os_path__ then? I would rather be explicit about the type of path > we are dealing with -- who knows if we won't have __url_path__ in the future > (besides Guido, of course ;) __pathstr__? __urlstr__? Oleg. --

Re: [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)

2016-04-10 Thread Oleg Broytman
ive seconds to > > forcibly shut the computer down. > > > I think this might improve matters: > > http://bugs.python.org/issue26351 > > although I must admit I don't understand why the entire OS is effected. Memory exhaustion?

Re: [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)

2016-04-10 Thread Oleg Broytman
On Mon, Apr 11, 2016 at 12:42:47AM -0500, Wes Turner wrote: > On Sun, Apr 10, 2016 at 10:50 PM, Oleg Broytman wrote: > > > On Mon, Apr 11, 2016 at 01:09:19PM +1000, Steven D'Aprano < > > st...@pearwood.info> wrote: > > > On Sun, Apr 10, 2016 at

Re: [Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited)

2016-04-11 Thread Oleg Broytman
On Mon, Apr 11, 2016 at 08:06:34AM +0200, Oleg Broytman wrote: > On Mon, Apr 11, 2016 at 12:42:47AM -0500, Wes Turner > wrote: > > On Sun, Apr 10, 2016 at 10:50 PM, Oleg Broytman wrote: > > > > > On Mon, Apr 11, 2016 at 01:09:19PM +1000, Steven D'Aprano &l

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue #XXXXX: Fix test_idle so that idlelib test cases are actually run

2013-11-04 Thread Oleg Broytman
Hi! On Mon, Nov 04, 2013 at 03:56:25AM -0500, Terry Reedy wrote: > The one > thing I tried but could not do was to directly change status 'A' > back to '?'. hg forget file Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name

Re: [Python-Dev] .clinic.c vs .c.clinic

2014-01-20 Thread Oleg Broytman
Or may be "aclinic-output"? Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org https://ma

Re: [Python-Dev] python 3 niggle: None < 1 raises TypeError

2014-02-14 Thread Oleg Broytman
On Fri, Feb 14, 2014 at 09:54:35PM +1100, Chris Angelico wrote: > So definitely SQL's handling of NULL should not be any sort of guide > as regards Python's treatment of None. Why not? Just make the order different for CPython and PyPy, Cython and Jython. ;-) Oleg. --

Re: [Python-Dev] Python 4: don't remove anything, don't break backward compatibility

2014-03-10 Thread Oleg Broytman
y problem, and don't see any need to jump from 3.9 to 4.0. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Python 4: don't remove anything, don't break backward compatibility

2014-03-10 Thread Oleg Broytman
-term more non-Python 2 > code will be written than not. There's no rush on Python 4 since there are > no plans to try and tweak something as drastic as str/bytes. Well, the entire discussion is about "please don't do major changes -- we've got enough already". Oleg

Re: [Python-Dev] Python 4: don't remove anything, don't break backward compatibility

2014-03-10 Thread Oleg Broytman
On Mon, Mar 10, 2014 at 09:47:32PM +0200, Serhiy Storchaka wrote: > 10.03.14 19:44, Oleg Broytman написав(ла): > >There is one minor annoyance with double digits: > > > >$ ls -l > >total 16 > >drwx-- 2 phd phd 4096 Mar 10 21:42 3.1 > >drwx-- 2

Re: [Python-Dev] [Python-checkins] cpython: fix #21076: turn signal module constants into enums

2014-04-04 Thread Oleg Broytman
On Fri, Apr 04, 2014 at 05:08:37PM +0200, Giampaolo Rodola' wrote: > Sorry for the troubles. :( > I committed this because it worked on my local copy of Python 3.5 but after > I tried a brand new "hg clone" it didnt. make distclean was not enough? Oleg

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-09 Thread Oleg Broytman
ay name) > > my enum backport is called enum34 (blah) > > my dbf package is called dbf (lucky lucky lucky!) For many reasons I avoid github/gitorious/bitbucket, but there is one thing they do right -- two-levels namespaces. "Namespaces are one honking great

Re: [Python-Dev] Python 2.7 patch levels turning two digit

2014-06-21 Thread Oleg Broytman
On Sun, Jun 22, 2014 at 06:34:23AM +1000, Chris Angelico wrote: > Do you know where this problematic code is? In many places: https://encrypted.google.com/search?q=%22sys.version[%3A3]%22 https://encrypted.google.com/search?q=%22sys.version[%3A5]%22 Oleg. -- Oleg Broyt

Re: [Python-Dev] Finding Guido's replacement

2018-07-23 Thread Oleg Broytman
nderstand. > Yury > -- > Yury Oleg. -- Oleg Broytmanhttps://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org htt

Re: [Python-Dev] Finding Guido's replacement

2018-07-23 Thread Oleg Broytman
On Mon, Jul 23, 2018 at 08:37:05PM +1000, Chris Angelico wrote: > On Mon, Jul 23, 2018 at 7:07 PM, Oleg Broytman wrote: > > I also didn't get initially that it was a joke, it took me > > a few minutes to understand. > > If the reference to PEP 401 didn't tip

Re: [Python-Dev] Problem in importing python packages under python 3.6 environment

2018-08-09 Thread Oleg Broytman
ask such a question you'd better prepare a simple exmaple that doesn't work -- just a few small files and directories. Learn about Python modules/packagaes at https://docs.python.org/3/tutorial/modules.html especially paying attention to The Module Search Path: https://docs.p

Re: [Python-Dev] pyOpengl text render

2018-09-03 Thread Oleg Broytman
red text using python and opengl? please help https://www.google.com/search?hl=en&pws=0&q=python+opengl+render+text https://stackoverflow.com/search?q=%5Bpython%5D+%5Bopengl%5D+render+text Oleg. -- Oleg Broytmanhttps://phdru.name/p...@phdru.name

Re: [Python-Dev] Inclusion of lz4 bindings in stdlib?

2018-11-29 Thread Oleg Broytman
On Thu, Nov 29, 2018 at 09:36:51AM -0500, Benjamin Peterson wrote: > - stdlib modules become a permanent maintenance burden to CPython core > developers. Add ditributions maintainers here. Oleg. -- Oleg Broytmanhttps://phdru.name/p...@phdr

Re: [Python-Dev] Add more SyntaxWarnings?

2019-01-30 Thread Oleg Broytman
Compare how ``help()`` works at the python REPL, ``pydoc name`` at the command line, and ``pydoc -p`` + a browser. > Stefan Oleg. -- Oleg Broytmanhttps://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN.

Re: [Python-Dev] PEP 594: Removing dead batteries from the standard library

2019-05-21 Thread Oleg Broytman
; > http.server less easily usable. > > > > Further, it doesn't directly support https:, and browsers are > > removing/reducing support for http:. > > > > I can't speak to xmlrpc or logging configuration. > -- > --Guido van Rossum (pyth

[Python-Dev] Re: why is not 64-bit installer the default download link for Windows?

2019-06-18 Thread Oleg Broytman
On Tue, Jun 18, 2019 at 10:09:59AM -, smartmanoj42...@gmail.com wrote: > Why don't we check the architecture using js and provide the appropriate > version? Because the downloading computer is not necessary the installation target. Oleg. -- Oleg Broytman

[Python-Dev] Re: In what tense should the changelog be written?

2021-04-30 Thread Oleg Broytman
ail.python.org/archives/list/python-dev@python.org/thread/C342Y73LALVFLI2ACFB3SH6ZDT2YTGPC/ > . > > I always use "fixed", "removed", "added" when describe changes following > the rule formulated by Oleg Broytman: > > > I use past tense to describe what

[Python-Dev] Re: Windows buildbots may be broken

2021-08-03 Thread Oleg Broytman
ectory recursively starting from the root of the repository". ``-r`` means recursive; ``:/`` is a "magic" git-specific path "root of the repo". The second command checks out everything from the HEAD commit back to the filesystem. > -- > Senthil Oleg. -- Oleg

Re: [Python-Dev] Built with VS2012 Express for desktop

2013-02-19 Thread Oleg Broytman
st suite that I can run to verify that the build is working > fine? http://docs.python.org/3.3/library/test.html Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSU

Re: [Python-Dev] Built with VS2012 Express for desktop

2013-02-20 Thread Oleg Broytman
On Wed, Feb 20, 2013 at 08:23:19AM +0100, Antoine Pitrou wrote: > On Tue, 19 Feb 2013 20:37:36 -0800 > Eli Bendersky wrote: > > On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman wrote: > > Oleg, lately I have the feeling you're getting too automatic with this > > tem

Re: [Python-Dev] Built with VS2012 Express for desktop

2013-02-20 Thread Oleg Broytman
On Wed, Feb 20, 2013 at 10:54:06AM +0100, Antoine Pitrou wrote: > Le Wed, 20 Feb 2013 13:09:13 +0400, > Oleg Broytman a ??crit : > > On Wed, Feb 20, 2013 at 08:23:19AM +0100, Antoine Pitrou > > wrote: > > > On Tue, 19 Feb 2013 20:37:36 -0800 > > > Eli Bend

Re: [Python-Dev] IDLE in the stdlib

2013-03-21 Thread Oleg Broytman
hacker at all -- I hate black backgrounds. My windows are always black-on-lightgrey, sometimes on dark grey, never black. I have been spending 16 hours a day at the screen for last 25 years -- and never understood black background. Oleg. -- Oleg Broytmanhttp://phdru.nam

Re: [Python-Dev] casefolding in pathlib (PEP 428)

2013-04-11 Thread Oleg Broytman
On Thu, Apr 11, 2013 at 02:11:21PM -0700, Guido van Rossum wrote: > - the case-folding algorithm on some filesystems is burned into the > disk when the disk is formatted Into the partition, I guess, not the physical disc? Oleg. -- Oleg Broytmanhttp://phdr

Re: [Python-Dev] casefolding in pathlib (PEP 428)

2013-04-11 Thread Oleg Broytman
On Fri, Apr 12, 2013 at 09:29:44AM +1200, Robert Collins wrote: > On 12 April 2013 09:18, Oleg Broytman wrote: > > On Thu, Apr 11, 2013 at 02:11:21PM -0700, Guido van Rossum > > wrote: > >> - the case-folding algorithm on some filesystems is burned into the &g

Re: [Python-Dev] Why can't I encode/decode base64 without importing a module?

2013-04-22 Thread Oleg Broytman
ng) returns bytes, bytes.decode(encoding) returns unicode, and neither unicode.decode() nor bytes.encode() exist. Transformations like base64 and bz2 are nor encoding/decoding -- they are bytes/bytes or unicode/unicode transformations. Oleg. -- Oleg Broytmanhttp://phdru.n

Re: [Python-Dev] Problem with pydoc script in PEP 405 venvs

2013-06-17 Thread Oleg Broytman
3 %4 %5 %6 %7 %8 %9 Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] End of the mystery "@README.txt Mercurial bug"

2013-06-26 Thread Oleg Broytman
ame '*.bak' ')' \ > -exec rm -f {} ';' > > Will find files beginning with '@' inside subdirectories of $(srcdir)/.hg. > > Just this week I saw someone use the logical equivalent of: > > find $(srcdir)/* ... > &g

Re: [Python-Dev] End of the mystery "@README.txt Mercurial bug"

2013-06-26 Thread Oleg Broytman
... > > I'm torn. Yours is more obvious, but we'd likely need to add .svn, .git, How many of those dot-files/directories are there beside .*ignore? > etc. Maybe find $(srcdir)/[a-zA-Z]* ... would be good enough to ignore > all dot directories/files? On the other h

Re: [Python-Dev] Add function to signal module for getting main thread id

2013-08-30 Thread Oleg Broytman
ad().__class__ is threading._MainThread or threading.current_thread().ident == threading._MainThread.ident > My proposition is to add function like get_mainthread_id() -> int > which return ident for main thread threading._MainThread.ident ? Oleg. -- Oleg Broytman

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
On Thu, Sep 05, 2013 at 02:16:29PM -0400, Donald Stufft wrote: > > On Sep 5, 2013, at 2:12 PM, Oleg Broytman wrote: > > I used to use myOpenID and became my own provider using poit[1]. > > These days I seldom use OpenID -- there are too few sites that allow > >

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
D. The future lies in OAuth 2.0. 1. http://yangman.ca/poit/ Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
On Thu, Sep 05, 2013 at 02:35:16PM -0400, Donald Stufft wrote: > Persona is the logical successor to OpenID. OpenID lived a short life and died a quiet death. I'm afraid Persona wouldn't live even that much. Dead-born idea, in my so humble opinion. Oleg. --

  1   2   3   >