Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
On Thu, Sep 05, 2013 at 02:50:44PM -0400, Donald Stufft wrote: > On Sep 5, 2013, at 2:43 PM, Oleg Broytman wrote: > > On Thu, Sep 05, 2013 at 02:35:16PM -0400, Donald Stufft > > wrote: > >> Persona is the logical successor to OpenID. > > > > OpenID lived

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
On Thu, Sep 05, 2013 at 04:53:18PM -0400, Barry Warsaw wrote: > On Sep 06, 2013, at 12:36 AM, Oleg Broytman wrote: > > You cannot login using OpenID to most interesting popular sites. > >GMail? No. Twitter? No. Facebook? FriendFeed? identi.ca? No, no, no. > > I'd be

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
They only allow full-featured login if you have already created an account and linked your OpenID URL with that account. You cannot login using OpenID to most interesting popular sites. GMail? No. Twitter? No. Facebook? FriendFeed? identi.ca? No, no, no. Small uninteresting blogs? Ye

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
On Thu, Sep 05, 2013 at 04:58:19PM -0400, Tres Seaver wrote: > On 09/05/2013 04:29 PM, Oleg Broytman wrote: > > I have seen exactly 0 (zero) sites that support Persona. Can you point > > me? > > - From the "Mozilla Identity" blog: > >

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-05 Thread Oleg Broytman
oing to install and manage additional software on my servers -- I don't want to be my own provider, I have enough job already. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-09 Thread Oleg Broytman
ses as IDs) but not for general public to login to pydotorg sites, right? Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-09 Thread Oleg Broytman
On Mon, Sep 09, 2013 at 09:46:58PM +0400, Oleg Broytman wrote: > On Mon, Sep 09, 2013 at 10:39:11AM -0700, Toshio Kuratomi > wrote: > > So OpenID fails as a truly generic SSO method across sites on the > > internet... what have we found it good for then? SSO within our

Re: [Python-Dev] Offtopic: OpenID Providers

2013-09-10 Thread Oleg Broytman
ther show the part nor include it in replies. Mine (mutt) shows it and includes in replies anyway, I always trim it myself. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. __

Re: [Python-Dev] Need testing audio files

2013-09-11 Thread Oleg Broytman
't his name be enough? http://www.python.org/~guido/guido.au Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mai

Re: [Python-Dev] non-US zip archives support in zipfile.py

2013-10-15 Thread Oleg Broytman
code because it's the only encoding I've ever saw. cp866 is the OEM encoding in Windows; ANSI encoding is cp1251. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Making submodules available when importing top one

2013-10-16 Thread Oleg Broytman
This should be fixed? I don't think it should be fixed. To expose submodules automatically top-level modules have to import them. In case one only needs a couple of submodules (and without lazy import) importing all of them would be a waste of time and memory. Module os.path is

Re: [Python-Dev] Smoothing the transition from Python 2 to 3

2016-06-08 Thread Oleg Broytman
> > name if someone can suggest one. Maybe something like Perverted, > > > Debauched or Impure Python. > > Python Two and Three Quarters. QOTW! :-D > -- > Greg Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers d

Re: [Python-Dev] Problem

2016-06-20 Thread Oleg Broytman
ranel wrote: > Hi: > > My daughter and I are trying to update to 8.1.2,but every time we try this > happens As for your question: the command "python -m pip install" must be run from OS command line, not from Python itself. Oleg. -- Oleg Broytmanhttp

Re: [Python-Dev] PEP XXX: Compact ordered dict

2016-06-20 Thread Oleg Broytman
needed at all). If you push it to Github I'm sure they will come with pull requests. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Py

Re: [Python-Dev] New problem accessing tracker with Firefox 50.0

2016-11-18 Thread Oleg Broytman
t, or possibly the > night before. I upgraded to Firefox 50.0 a day ago and can connect to https://bugs.python.org without any problem. > -- > Terry Jan Reedy Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just G

Re: [Python-Dev] Is this a bug or a feature?

2017-02-16 Thread Oleg Broytman
thon. Install zlib and zlib-dev packages and recompile python. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list

Re: [Python-Dev] why multiprocessing use os._exit

2017-03-03 Thread Oleg Broytman
mport Process > > def f(): > global log # prevent gc close the file > log = open("info.log", "w") > log.write("***hello world***\n") > > p = Process(target=f) > p.start() > p.join() > > ``` >

[Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Oleg Broytman
Now I think is the time. I hope revocation of the PEP wouldn't cause any problem? I'm gonna publish it at wiki.p.o. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just

Re: [Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Oleg Broytman
On Wed, Mar 08, 2017 at 10:38:08PM +1000, Nick Coghlan wrote: > On 8 March 2017 at 18:33, Oleg Broytman wrote: > > > Hello! When I was writing PEP 103 I wanted to help to start using git. > > There were a few proponents and a few opponents: people expressed > > conc

Re: [Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Oleg Broytman
the > fiords". > > It's also okay to remove much of the content and just leave a placeholder. > The historical record would of course always be available in the vcs. Thanks! That's what I've planned to do in case we don't remove PEPs. > Cheers, > -Bar

Re: [Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Oleg Broytman
On Thu, Mar 09, 2017 at 07:53:04AM +1100, Steven D'Aprano wrote: > On Wed, Mar 08, 2017 at 04:30:41PM +0100, Oleg Broytman wrote: > > On Wed, Mar 08, 2017 at 09:50:06AM -0500, Barry Warsaw > > wrote: > > > > It's also okay to remove much of the content an

Re: [Python-Dev] Can I revoke PEP 103 (info about git)?

2017-03-08 Thread Oleg Broytman
On Wed, Mar 08, 2017 at 06:18:51PM -0500, Terry Reedy wrote: > On 3/8/2017 4:07 PM, Oleg Broytman wrote: > >On Thu, Mar 09, 2017 at 07:53:04AM +1100, Steven D'Aprano > > wrote: > >>On Wed, Mar 08, 2017 at 04:30:41PM +0100, Oleg Broytman wrote: > >>>On Wed

Re: [Python-Dev] Python 2.7.13

2017-03-14 Thread Oleg Broytman
ve these. These modules are not in the standard library, you have to download and install them separately. I recommend you to learn what is PyPI and how to use `pip install`. > Conrado Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programme

Re: [Python-Dev] Set program name through exec -a

2017-03-18 Thread Oleg Broytman
e it via sys in addition to sys.executable. Something like sys.original_prog_name. Then the OP can do anything application-specific -- set sys.argv[0], call setproctitle, whatever. > Kind regards, > > Frederik Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.na

Re: [Python-Dev] Set program name through exec -a or environment variable

2017-03-18 Thread Oleg Broytman
worse, > > `sys.argv[0]` is also `.prog-wrapped`. Currently we inject some code in > > programs that sets `sys.argv=[0] = "prog" but this is fragile and I would > > prefer to get rid of this. > > > > Kind regar

Re: [Python-Dev] Sorting

2017-04-05 Thread Oleg Broytman
(but complex) programs to Python 3 and was sending thousands curses every day. str=>unicode is the biggest change but not the most painful. The worst was when I spent few days hunting for a subtle bug caused by absent of unbound methods. Painful. :-( > -- > ~Ethan~ Oleg. -- Oleg

Re: [Python-Dev] Unbound methods (was: Sorting)

2017-04-06 Thread Oleg Broytman
Hi! On Thu, Apr 06, 2017 at 12:24:47PM +1000, Steven D'Aprano wrote: > On Thu, Apr 06, 2017 at 02:30:06AM +0200, Oleg Broytman wrote: > > > I spent few days hunting > > for a subtle bug caused by absent of unbound methods. > >Painful. :-( > > I

Re: [Python-Dev] bugs.python.org is down at the moment (503)

2017-06-20 Thread Oleg Broytman
our request due to maintenance > downtime or capacity problems. Please try again later. > Apache/2.2.16 (Debian) Server at bugs.python.org Port 443 > -- > Terry Jan Reedy Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't

Re: [Python-Dev] Helping contributors with chores (do we have to?)

2017-06-25 Thread Oleg Broytman
ar. Both are DVCSes with DAG. The devil is in the details. In a lot of small quite different details. > Paul Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Python startup time

2017-07-19 Thread Oleg Broytman
enders", "guards" and "protectors". :-) This particular link can be excluded from consideration. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN.

Re: [Python-Dev] startup time repeated? why not daemon

2017-07-20 Thread Oleg Broytman
w one. > > Is it too hard to create a daemon server? > Is the communication and context switch slower than a new startup? > Is the pattern just not well-enough advertised? Just yesterday there was a link to such a daemon that caches pyGTK. Eons ago I'd been using ReadyExec: http://

Re: [Python-Dev] dictionaries in Dataframe column

2017-07-24 Thread Oleg Broytman
iling list > Python-Dev@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/phd%40phdru.name Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers do

Re: [Python-Dev] [Python-checkins] bpo-5001: More-informative multiprocessing error messages (#3079)

2017-08-30 Thread Oleg Broytman
> > > +chunksize)) > > > assert chunksize > 1 The error condition was changed from `<= 1` to `< 1` -- was it intentional? > Regards > Antoine. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.nam

Re: [Python-Dev] HTTPS on bugs.python.org

2017-09-01 Thread Oleg Broytman
this link, it will go to the HTTPS version > nevertheless. It doesn't for me. :-( FFox 55.0.1, HTTPS Everywhere 2017.8.15. > Regards > > Antoine. Oleg. -- Oleg Broytmanhttp://phdru.name/p...@phdru.name Programmers don't die, they

Re: [Python-Dev] HTTPS on bugs.python.org

2017-09-01 Thread Oleg Broytman
On Fri, Sep 01, 2017 at 07:06:57PM +0200, Antoine Pitrou wrote: > On Fri, 1 Sep 2017 17:31:00 +0200 > Oleg Broytman wrote: > > > On Fri, Sep 01, 2017 at 05:27:59PM +0200, Antoine Pitrou > > wrote: > > > On Fri, 1 Sep 2017 17:03:59 +0200 > > > Victor Sti

Re: [Python-Dev] HTTPS on bugs.python.org

2017-09-01 Thread Oleg Broytman
On Fri, Sep 01, 2017 at 02:55:40PM -0400, Terry Reedy wrote: > On 9/1/2017 11:31 AM, Oleg Broytman wrote: > >On Fri, Sep 01, 2017 at 05:27:59PM +0200, Antoine Pitrou > > wrote: > >>On Fri, 1 Sep 2017 17:03:59 +0200 > >>Victor Stinner wrote: > >>>

Re: [Python-Dev] pythonhosted.org doc upload no longer works

2017-09-04 Thread Oleg Broytman
on readthedocs. Is that possible? I'm also interested in redirecting or at least removing outdated docs. > Thanks in advance. > > -- > Giampaolo - http://grodola.blogspot.com Oleg. -- Oleg Broytmanhttp://p

[Python-Dev] Re: PEP 448 review

2023-03-29 Thread Oleg Broytman
he proposal. > > > > Overall, your analysis is thoughtful and well-reasoned. It's good to see > > that you are engaging with the proposal in a critical manner and taking > > into account the different perspectives presented in the discussion threa

[Python-Dev] Re: Allow custom headers in `http.server`

2019-10-26 Thread Oleg Broytman
s directly to `http.server`? You can override method ``send_headers`` of the class ``HTTPRequestHandler`` and add your own headers. See an example at https://docs.aws.amazon.com/polly/latest/dg/example-Python-server-code.html > Best, > - Alex Oleg. -- Oleg Broytman

[Python-Dev] Re: Typo (moin) in Wiki Link

2020-01-28 Thread Oleg Broytman
s there to distinguish different sub-sites. I remember https://wiki.python.org/jython . > -- > Terry Jan Reedy Oleg. -- Oleg Broytmanhttps://phdru.name/p...@phdru.name Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Application configuration (was: PEP 389: argparse)

2009-09-28 Thread Oleg Broytman
such a generic configuration *framework* in the Python standard *library*. Applications use different configfile layouts, some programs use w32 registry instead of configfiles... Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers d

Re: [Python-Dev] PEP 389: argparse - new command line parsing module

2009-09-28 Thread Oleg Broytman
he syntax "a:b" is also widely known; people who are often write small shell scripts are certainly accustomed to it (I am). > Clarification: this isn't a vote for preferring getopt, it's a vote for > availability of the sequence-of-letters style. +1 Oleg. -

Re: [Python-Dev] a new setuptools release?

2009-10-07 Thread Oleg Broytman
they can rely on backwards-compatibility Who will pay the price of maintaining that part of stdlib and the price of compatibility? Because there is always a price; should the core developers be burdened? Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru

Re: [Python-Dev] Python Package Management Roadmap in Python Releases

2009-10-22 Thread Oleg Broytman
a new message. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [Python-Dev] Python Package Management Roadmap in Python Releases

2009-10-22 Thread Oleg Broytman
d every time you got exactly this answer - "Create the package management tool and see how many users try it out". Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. __

Re: [Python-Dev] First shot at some_set.get()

2009-10-23 Thread Oleg Broytman
On Fri, Oct 23, 2009 at 12:23:08PM +0200, Willi Richert wrote: > The patch is attached. Patches should be put to the issue tracker. Thank you. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB withou

Re: [Python-Dev] Retrieve an arbitrary element from a set withoutremoving it

2009-10-27 Thread Oleg Broytman
On Tue, Oct 27, 2009 at 02:20:04PM -0400, geremy condra wrote: > On Tue, Oct 27, 2009 at 1:59 PM, Antoine Pitrou wrote: > > Raymond Hettinger rcn.com> writes: > > set.getone() then ? > > ugh- other spellings much preferred. set[] ? (Just kidding, really.) Oleg

Re: [Python-Dev] FYI: LWN article on 2.x, 3.x, and the moratorium

2009-11-12 Thread Oleg Broytman
many articles are published free from the very beginning) I subscribed to it to support the magazine ("Patronize" business model). They say their site is written in Python using Quixote as the web framework; they promised to publish the code but didn't publish it yet - the fact I co

Re: [Python-Dev] PYTHON3PATH

2010-01-13 Thread Oleg Broytman
On Wed, Jan 13, 2010 at 12:57:42PM -0500, sstein...@gmail.com wrote: > Or, how about just removing the antiquated use of environment variables "antiquated"? You are kidding, aren't you?! Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru

Re: [Python-Dev] PYTHON3PATH

2010-01-13 Thread Oleg Broytman
On Wed, Jan 13, 2010 at 08:50:59PM +0100, Lennart Regebro wrote: > What do you need to do in the PYTHONSTARTUP file? > Ten years of Python programming, and I didn't even know it existed. :-) See http://phd.pp.ru/Software/dotfiles/init.py.html for an example. Oleg. -- Ol

Re: [Python-Dev] Enhancing the shutil module

2010-01-18 Thread Oleg Broytman
specifically with cross-archive > APIs and linked from the current archive-specific modules (essentially, just > take the current archive_util, move it to the toplevel of the stdlib and > maybe rename it)? It would also make the module much easier to find when > searching th

Re: [Python-Dev] Proposed downstream change to site.py in Fedora (sys.defaultencoding)

2010-01-24 Thread Oleg Broytman
and to oppose to text IO, and whether he then would > be able to conclude that cat(1) is really about binary IO). Depends on the kind of cat and especially on the ways of using it. If you ask cat to number lines (see manual for GNU cat) - what do "lines" mean for binary IO? Oleg.

Re: [Python-Dev] Search the mail list (was: Google Groups Mirror)

2010-02-14 Thread Oleg Broytman
dn't. It is searchable: http://www.google.com/search?q=python-dev+roundup+tags+site%3Amail.python.org Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. _

Re: [Python-Dev] Building thread-safe sqlite3 with Python 2.6.5rc1

2010-03-08 Thread Oleg Broytman
alse when creating a connection. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] Is Scala better than Python ???

2010-03-18 Thread Oleg Broytman
th languages.  However, it seems as though that Scala is far more able to > support parallel processing than Python ??  Is this true ?? >   > O.R. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't

Re: [Python-Dev] Joel Spolsky on Mercurial

2010-03-19 Thread Oleg Broytman
rg/dev/peps/pep-0374/ http://www.python.org/dev/peps/pep-0385/ Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] right-side binary operations

2010-03-19 Thread Oleg Broytman
s an instance of a class that has an __rsub__() method, y.__rsub__(x) is called if x.__sub__(y) returns NotImplemented." Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.

Re: [Python-Dev] OOP On Web

2010-03-29 Thread Oleg Broytman
> Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/phd%40phd.pp.ru Oleg. -- Oleg Broytman

Re: [Python-Dev] python compiler

2010-04-05 Thread Oleg Broytman
and maybe I saw that made a bad choice. I hear > everyone's opinion respond. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev

Re: [Python-Dev] Very Strange Argument Handling Behavior

2010-04-16 Thread Oleg Broytman
ast): > File "", line 1, in > TypeError: f() keywords must be strings Argument names must be strings. In your example 1 must be at least '1'. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die,

Re: [Python-Dev] array matching

2010-04-29 Thread Oleg Broytman
would appreciate some answers as I am new to > Python. > > I have 2 D array: test = [[A,1],[B,2],[A,3][B,4]] > I want to arrang this array in different arrays so each one will have what is > attached to. For example I want the output: > > A =[1,3] and B=[2,4] > > T

Re: [Python-Dev] Fwd: broken mailing list links in PEP(s?)

2010-05-05 Thread Oleg Broytman
On Wed, May 05, 2010 at 11:43:45AM +0100, Michael Foord wrote: > http://mail.python.org/pipermail/python-list/2000-July/108893.html > > which are broken Pipermail's links aren't stable AFAIU. The numbering is changing over time. Oleg. -- Oleg Broytman

Re: [Python-Dev] vim (was: PEP 7 updated)

2010-05-10 Thread Oleg Broytman
On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote: > Does anyone know of a way to teach vim that C sources in a python checkout > should have 4-space indents without changing the defaults for other C files? BufReadPre /usr/local/src/Python/*/*.c set sts=4 sw=4 Oleg. --

Re: [Python-Dev] Unordered tuples/lists

2010-05-18 Thread Oleg Broytman
return not self.__eq__(other) Do you need more than that? Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list

Re: [Python-Dev] Unordered tuples/lists

2010-05-20 Thread Oleg Broytman
I think yes. How many developers would find it useful?.. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] Access a function

2010-06-28 Thread Oleg Broytman
he Python - python-dev mailing list archive at Nabble.com. > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/phd%40phd.pp.ru Oleg. --

Re: [Python-Dev] [Idle-dev] Removing IDLE from the standard library

2010-07-12 Thread Oleg Broytman
this could be fixed, but > I haven't yet thought of a solution that would be less confusing than the > problem itself. Doesn't absolute import help? Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don&#x

Re: [Python-Dev] Problem with executing python interpretetor on special build of win server 2003

2010-07-13 Thread Oleg Broytman
s, and the error code is 128. > What does mean this code 128? > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/ph

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-15 Thread Oleg Broytman
t blanket but vim implements tabbed windows even in console (text) mode. (-: Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing l

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Oleg Broytman
fference. I understand what the difference is in > Unix/Linux, I just want to see it in the python code. Since python is > checking at run time to see what signals handlers are added, I know there > must be a difference. > > Please can someone just point me in the right direction.

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Oleg Broytman
I am sure there are quite a lot of skilled professionals in the python-list (comp.lang.python). > On Mon, Jul 19, 2010 at 12:27 PM, Oleg Broytman wrote: > > python-list (comp.lang.python) news group/mailing list is the best place. > > See http://www.python.org/community/ for o

Re: [Python-Dev] Python-dev signal-to-noise processing question

2010-07-20 Thread Oleg Broytman
list and found a new quiet one. I don't see any other alternative, do you? Of those three - which one do you prefer? The original question was about using python, that's my understanding. Oleg. -- Oleg Broytmanhttp://phd.p

Re: [Python-Dev] Python-dev signal-to-noise processing question

2010-07-20 Thread Oleg Broytman
On Tue, Jul 20, 2010 at 01:51:07PM -0400, Terry Reedy wrote: > On 7/20/2010 6:59 AM, Oleg Broytman wrote: > 1. I suggested one improvement to the canned response in my previous > post: expand 'using' to 'using or understanding'. I changed wording to "

Re: [Python-Dev] What to do with languishing patches?

2010-07-20 Thread Oleg Broytman
sts I can press a few first letters of the name and the cursor jumps to the country. I often select countries in such lists in web browsers. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB

Re: [Python-Dev] What to do with languishing patches?

2010-07-20 Thread Oleg Broytman
On Tue, Jul 20, 2010 at 03:13:41PM -0400, Alexander Belopolsky wrote: > On Tue, Jul 20, 2010 at 3:05 PM, Oleg Broytman wrote: > .. > >   Well, I have never, because in any of these drop-down lists I can press > > a few first letters of the name and the cursor jumps to the co

Re: [Python-Dev] What to do with languishing patches?

2010-07-20 Thread Oleg Broytman
On Tue, Jul 20, 2010 at 04:27:45PM -0400, Alexander Belopolsky wrote: > On Tue, Jul 20, 2010 at 3:38 PM, Oleg Broytman wrote: > .. > >> Really?  What smartphone are you using?  :-) > > > >   Are you developing an interface for smartphones? Wouldn't it hurt >

Re: [Python-Dev] Python-dev signal-to-noise processing question

2010-07-21 Thread Oleg Broytman
y or two with no response: Ok, I'll wait a bit longer. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Python-De

Re: [Python-Dev] Python-dev signal-to-noise processing question

2010-07-22 Thread Oleg Broytman
On Thu, Jul 22, 2010 at 06:02:33PM +0900, Stephen J. Turnbull wrote: > Oleg Broytman writes: > > On Wed, Jul 21, 2010 at 07:28:24PM -0600, average wrote: > > > As to your question of how best to handle inquiries from the blue or > > > "noisy questions", I

Re: [Python-Dev] Compiling Free Cad on Rhel5

2010-07-28 Thread Oleg Broytman
ed internet for python-devel source code but was unable to find > any such pacage. Please help me to resolve this python error. > > Thanks > > Vikas Mahajan Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they

Re: [Python-Dev] Best practice for new namespace (from C/API)

2010-07-29 Thread Oleg Broytman
s__", PyEval_GetBuiltins()) acts > differently to PyDict_SetItemString(dict, "__builtins__", > PyImport_AddModule("builtins")), using the PyEval_GetBuiltins() dict > adds every member of __builtins__ when running: > print(__import__("__main__").__dict__.keys()), ra

Re: [Python-Dev] unexpected import behaviour

2010-07-29 Thread Oleg Broytman
you run the code as a script it is imported as module __main__; when you import it as 'test' you get the second copy of the module. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___

Re: [Python-Dev] Basic Information about Python

2010-07-30 Thread Oleg Broytman
s application with my > existing setup(assume 10 MB) for windows? > > 3. If Second statement is Yes, What will be the setup size? > > Thank in advance. > > Regards, > Durga. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru

Re: [Python-Dev] unexpected import behaviour

2010-07-30 Thread Oleg Broytman
odules as many times as [s]he wants. Should this be fixed for __main__? I doubt it. Instead of making __main__ a special case follow the rule: don't import the same module under different paths/names. Make your script simply from test import main main() Oleg. -- Oleg Broytman

Re: [Python-Dev] unexpected import behaviour

2010-07-30 Thread Oleg Broytman
problems with two instances of the same module imported after sys.path manipulations. Never had a problem with reimported scripts. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they jus

Re: [Python-Dev] Metadata: charset (was: PEP 376 proposed changes for basic plugins support)

2010-08-01 Thread Oleg Broytman
;csv" module also doesn't provide any clear indication of encoding/charset. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Py

Re: [Python-Dev] Metadata: charset

2010-08-01 Thread Oleg Broytman
On Mon, Aug 02, 2010 at 12:11:06AM +0200, Tarek Ziad? wrote: > On Sun, Aug 1, 2010 at 11:58 PM, Oleg Broytman wrote: > > On Sun, Aug 01, 2010 at 10:37:47PM +0200, Tarek Ziad? wrote: > >> The file is a CSV file > > > >   In what encoding (charset)? I quickly skimmed o

Re: [Python-Dev] w32 drive separator (was: Drive suffix)

2010-08-04 Thread Oleg Broytman
company based in Redmond... sorry, I cannot resist. (-: Because of this (':' being too specific) it's built right into ntpath.py - the module that 'os' module imports when it finds itself running inside that graphic environment. It's used as a character constant all over ntpat

Re: [Python-Dev] OT: PHB (was: Looking after the buildbots)

2010-08-05 Thread Oleg Broytman
On Thu, Aug 05, 2010 at 07:49:31AM -0400, Steve Holden wrote: > I'd have thought a pre-requisite for being a PHB was having hair. Not at all, not at all - being a PHB is a style of thinking, not hairdressing. ;) Oleg. -- Oleg Broytmanhttp://phd.pp.ru/

Re: [Python-Dev] Working on the Python code-base with a VIM-based setup

2010-09-01 Thread Oleg Broytman
You have already seen Misc/Vim directory in Python distribution, have you? Shameless plug: look at my .vimrc and plugins: http://phd.pp.ru/Software/dotfiles/vimrc.html http://phd.pp.ru/Software/dotfiles/vim/ Borrow whatever you find useful. Oleg. -- Oleg Broytmanhttp://ph

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread Oleg Broytman
ews groups/mailing lists/fora. See http://www.python.org/community/ . As for my personal preferences - I would like to see these ported: -- database drivers, especially MySQL-python and psycopg; -- GUI frameworks, especially wxPython. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread Oleg Broytman
y, right? It has been ported AFAIK. Or have I missed something? Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread Oleg Broytman
.2" sounds more stable and complete than "3.0". > Last I checked, there were a number of outstanding issues with email in > 3.x. And as Michael Foord pointed out, there are other standard library > modules in the same state. I see. Thank you for the clarification. I

Re: [Python-Dev] (no subject)

2010-09-23 Thread Oleg Broytman
te.i386 > python-sqlite.i386 > Can anyone tell me where I am going wrong. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev maili

Re: [Python-Dev] question/comment about documentation of relative imports

2010-10-05 Thread Oleg Broytman
ry (entry '.' in the sys.path) and by its full path. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Inconsistencies if locale and filesystem encodings are different

2010-10-07 Thread Oleg Broytman
always koi8-r, but sometimes I work with programs in utf-8 locale. Just an example... Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ___ Python

Re: [Python-Dev] Inconsistencies if locale and filesystem?encodings are different

2010-10-07 Thread Oleg Broytman
On Thu, Oct 07, 2010 at 09:12:13PM +0200, Victor Stinner wrote: > Le jeudi 07 octobre 2010 18:44:19, Oleg Broytman a ?crit : > >My filesystems are always koi8-r, but sometimes I work with programs in > > utf-8 locale. Just an example... > > Are programs able to displa

Re: [Python-Dev] okay to remove argparse.__all__?

2010-11-01 Thread Oleg Broytman
history shows that I > always forget to add them. ;-) Automate: for key, value in globals().items(): if not key.startswith('_'): __all__.append(key) Further filter (by key or value) to your needs. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p

Re: [Python-Dev] python3k vs _ast

2010-11-17 Thread Oleg Broytman
odes were just "Name" nodes, > and as for now we keep them as "AssName" nodes in astng/pylint and would > like to know where it was defined. > > thx for any information > > -- > > Emile Anclin > http://www.logilab.fr/ http://www.logilab.org/ > In

Re: [Python-Dev] python3k vs _ast

2010-11-17 Thread Oleg Broytman
On Wed, Nov 17, 2010 at 09:19:35AM -0500, R. David Murray wrote: > On Wed, 17 Nov 2010 07:36:37 -0600, Benjamin Peterson > wrote: > > 2010/11/17 Oleg Broytman : > > > Seems to be rather a usage question, not a development question > > > (python-dev > > > i

Re: [Python-Dev] Using logging in the stdlib and its unit tests

2010-12-10 Thread Oleg Broytman
u think you need more, > we've got that, too. Read on (you may need more coffee). > """ Better yet (IMHO) would be to split the huge page into "Logging: Simple start" and "Logging: Advanced usage (for the brave of of heart)". Oleg. -- Ole

<    1   2   3   >