Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-28 Thread Andrew Svetlov
I'm personally +1 for pytz only — dateutil is big enough and... Well, can we just point to pytz in our docs for datetime module? On Thu, Mar 29, 2012 at 12:06 AM, Guido van Rossum wrote: > +1 If pytz is py3k cabable. -1 for dateutIl. > > > On Wednesday, March 28, 2012, And

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-30 Thread Andrew Svetlov
I filed the http://bugs.python.org/issue14448 BTW. On Fri, Mar 30, 2012 at 3:47 PM, R. David Murray wrote: > On Fri, 30 Mar 2012 13:38:13 +0300, Serhiy Storchaka > wrote: >> 28.03.12 23:20, Andrew Svetlov написав(ла): >> > I figured out what pytz and dateutil are not men

Re: [Python-Dev] [Python-checkins] cpython (3.2): Issue #14409: IDLE doesn't not execute commands from shell with default

2012-03-30 Thread Andrew Svetlov
s mailing list > python-check...@python.org > http://mail.python.org/mailman/listinfo/python-checkins -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (3.2): Issue #14409: IDLE doesn't not execute commands from shell with default

2012-03-31 Thread Andrew Svetlov
Updated NEWS as Terry Reedy recommended. Thank you, Terry. On Sat, Mar 31, 2012 at 12:59 AM, Terry Reedy wrote: > On 3/30/2012 2:31 PM, Andrew Svetlov wrote: >> >> Thank you for mentoring. >> >> I will fix NEWS if you help me with better text. > > > I believe

Re: [Python-Dev] datetime module and pytz with dateutil

2012-03-31 Thread Andrew Svetlov
ckage maintainers. In general I'm +0 for adding tz database to stdlib. -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

[Python-Dev] Remove of w9xopen

2012-04-03 Thread Andrew Svetlov
I filed the issue http://bugs.python.org/issue14470 for removing w9xopen from subprocess as python 3.3 has declaration about finishing support of Windows 2000 and Win9x family. But, as I see, VC project for building w9xopen is still present. Should we remove it as well? -- Thanks, Andrew

Re: [Python-Dev] Remove of w9xopen

2012-04-03 Thread Andrew Svetlov
Done. Thanks. On Tue, Apr 3, 2012 at 11:08 PM, Brian Curtin wrote: > On Tue, Apr 3, 2012 at 14:59, Andrew Svetlov wrote: >> I filed the issue http://bugs.python.org/issue14470 for removing >> w9xopen from subprocess as python 3.3 has declaration about finishing >> suppor

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-05 Thread Andrew Svetlov
Thu, 05 Apr 2012 11:41:48 +0200 > andrew.svetlov wrote: >> http://hg.python.org/cpython/rev/774c2afa6665 >> changeset:   76115:774c2afa6665 >> user:        Andrew Svetlov >> date:        Thu Apr 05 12:41:20 2012 +0300 >> summary: >>   Issue #3033: Add displa

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-05 Thread Andrew Svetlov
Thank you, David. Is separate repo clone located at hg.python.org good enough? Or maybe there are better way to do it? On Thu, Apr 5, 2012 at 5:06 PM, R. David Murray wrote: > (reformatted to remove topposting) > > On Thu, 05 Apr 2012 14:52:56 +0300, Andrew Svetlov > wrote: >

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-05 Thread Andrew Svetlov
ll as visible to everyone and write accessible to python committers (I hope you will push updates as well) — I will start to do. -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-07 Thread Andrew Svetlov
Thank you. That works. Is there way to delete unused repo? On Sat, Apr 7, 2012 at 11:20 AM, Senthil Kumaran wrote: > Hi Andrew, > > On Thu, Apr 05, 2012 at 11:16:54PM +0300, Andrew Svetlov wrote: >> I tried to: >> andrew@tiktaalik2 ~/projects> hg clone ssh://h...@hg.pytho

Re: [Python-Dev] cpython: Issue #3033: Add displayof parameter to tkinter font.

2012-04-07 Thread Andrew Svetlov
On Sat, Apr 7, 2012 at 5:06 PM, Serhiy Storchaka wrote: > Andrew, when you prepare the tkinter documentation, I advise you to include > a link to www.tkdocs.com -- probably the best resource in this way (at least > it was very useful for me). > Done in sanbox/tkdoc repo. -- Th

Re: [Python-Dev] Removing surplus fields from the frame object and not adding any new ones.

2012-04-09 Thread Andrew Svetlov
n-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-

Re: [Python-Dev] Removing surplus fields from the frame object and not adding any new ones.

2012-04-09 Thread Andrew Svetlov
So it's really no difference between three separate fields in frame and embedded struct with those fields. On Mon, Apr 9, 2012 at 1:51 PM, Mark Shannon wrote: > Andrew Svetlov wrote: >> >> Do you want to create `frame` and `f_namespaces` every function call >> instead

Re: [Python-Dev] Removing surplus fields from the frame object and not adding any new ones.

2012-04-09 Thread Andrew Svetlov
While I agree with keeping data structures simple and clean I think conserving them forever is bad idea in general. Let's look on every particular case before making decision. On Mon, Apr 9, 2012 at 3:46 PM, Andrew Svetlov wrote: > So it's really no difference between three separ

Re: [Python-Dev] Require loaders set __package__ and __loader__

2012-04-17 Thread Andrew Svetlov
; to suggest people use importlib.util.module_for_loader and only use the >> other two decorators for backwards-compatibility. > > > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listin

[Python-Dev] venv scripts for fish and csh shells

2012-07-19 Thread Andrew Svetlov
virtualenv has virtualenv.csh and virtualenv.fish files. Is there any reason for restricting venv to bash/zsh only? -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] cpython: Issue #15168: Move importlb.test to test.test_importlib.

2012-07-20 Thread Andrew Svetlov
orts (e.g. "from test import support"). > > Agreed. I don't see that there is any reason to use relative > imports in the stdlib. > > --David > ___ > Python-Dev mailing list > Python-Dev@python.

Re: [Python-Dev] venv scripts for fish and csh shells

2012-07-21 Thread Andrew Svetlov
I created http://bugs.python.org/issue15417 with required activation scripts. If there are no objections I like to commit it after, say, three days. On Thu, Jul 19, 2012 at 7:31 PM, Carl Meyer wrote: > On 07/19/2012 10:26 AM, Andrew Svetlov wrote: >> virtualenv has virtualen

Re: [Python-Dev] venv scripts for fish and csh shells

2012-07-22 Thread Andrew Svetlov
eleased. > > Georg > > On 07/22/2012 02:12 AM, Andrew Svetlov wrote: >> I created http://bugs.python.org/issue15417 with required activation scripts. >> If there are no objections I like to commit it after, say, three days. >> >> On Thu, Jul 19, 2012 at 7:31 PM,

Re: [Python-Dev] venv scripts for fish and csh shells

2012-07-22 Thread Andrew Svetlov
randl wrote: > On 07/22/2012 06:10 PM, Andrew Svetlov wrote: >> Georg, sorry, I've committed it before you answered. > > After you wrote that you'd wait three days... anyway, I can't find the > commit in the repository, so that's fine. > >> If you w

Re: [Python-Dev] venv scripts for fish and csh shells

2012-07-23 Thread Andrew Svetlov
I thought my proposition is minor change, but if it's too late for 3.3 — I'm ok. On Sun, Jul 22, 2012 at 8:54 PM, Antoine Pitrou wrote: > On Sun, 22 Jul 2012 20:39:15 +0300 > Andrew Svetlov wrote: >> Ok. >> Sorry for my mistake — there are really no commits f

Re: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.

2012-07-30 Thread Andrew Svetlov
efault=0): pass or something like that? -- Thanks, Andrew Svetlov ___ 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/archive%

[Python-Dev] Pushing issue #12288

2012-07-30 Thread Andrew Svetlov
Is there ok to push http://bugs.python.org/issue12288 in 3.3? It looks very easy and straightforward. If now is too alte — I'm ok. Georg Brandl, what's your decision? -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] Pushing issue #12288

2012-07-30 Thread Andrew Svetlov
Pushed. Thank you. On Mon, Jul 30, 2012 at 7:19 PM, Georg Brandl wrote: > Am 30.07.2012 12:21, schrieb Andrew Svetlov: >> Is there ok to push http://bugs.python.org/issue12288 in 3.3? >> It looks very easy and straightforward. >> If now is too alte — I'm ok. >&

Re: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.

2012-07-30 Thread Andrew Svetlov
-- > Thanks > Iftikhan Nazeem > LinkedIn : http://ae.linkedin.com/in/ifthikhan > > > On Mon, Jul 30, 2012 at 11:23 AM, Andrew Svetlov > wrote: >> >> On Mon, Jul 30, 2012 at 4:10 AM, alex.gaynor >> wrote: >> >> > +In addition, a new funct

Re: [Python-Dev] [Python-checkins] cpython (3.2): zip() returns an iterator, make a list() of it; thanks to Martin from docs@

2012-08-12 Thread Andrew Svetlov
of regrtest (e.g. via DocFileSuite), or is that > something we just haven't gotten around to doing? > > --Chris > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailma

Re: [Python-Dev] [Python-checkins] cpython (3.2): zip() returns an iterator, make a list() of it; thanks to Martin from docs@

2012-08-12 Thread Andrew Svetlov
Sounds good. On Sun, Aug 12, 2012 at 4:37 PM, Nick Coghlan wrote: > On Sun, Aug 12, 2012 at 11:00 PM, Andrew Svetlov > wrote: >> I doubt if we will convert all docs to pass doctests, at least quickly. >> Also making docs doctest-safe sometimes requires less clean and worse &g

Re: [Python-Dev] [Python-checkins] cpython: Review of signature docs.

2012-08-14 Thread Andrew Svetlov
; + :attr:`arguments` attribute. > > .. attribute:: BoundArguments.kwargs > > - Dict of keyword arguments values. Dynamically computed > - from the :attr:`arguments` attribute. > + A dict of keyword arguments values. Dynamically computed from the > + :attr:`arguments` attribute. >

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): #11062: Fix adding a message from file to Babyl mailbox

2012-08-15 Thread Andrew Svetlov
sue #11062: Fix adding a message from file to Babyl mailbox. > + > - Issue #15646: Prevent equivalent of a fork bomb when using >multiprocessing on Windows without the "if __name__ == '__main__'" >idiom. > > -- > Repository URL: http://hg.python.org/cpython > > ___ > Python-checkins mailing list > python-check...@python.org > http://mail.python.org/mailman/listinfo/python-checkins > -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] cpython: Add yet another test for subprocess.Popen.communicate

2012-08-16 Thread Andrew Svetlov
> > You should use self.assertStderrEqual() instead. > > Regards > > Antoine. > > > -- > Software development and contracting: http://pro.pitrou.net > > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://

Re: [Python-Dev] Why no venv in existing directory?

2012-08-24 Thread Andrew Svetlov
ailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-de

[Python-Dev] Tru64 support

2012-09-04 Thread Andrew Svetlov
we already does it for, say, VMS? -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] Tru64 support

2012-09-04 Thread Andrew Svetlov
On Tue, Sep 4, 2012 at 3:11 PM, Antoine Pitrou wrote: > I don't think so. If some hypothetical Tru64 user cares, they can > probably open a bug on the tracker. > Thanks. -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@p

Re: [Python-Dev] Tru64 support

2012-09-04 Thread Andrew Svetlov
Aha, ./Doc/whatsnew/3.0.rst declares dropping support for Tru64. Several files in repo mention it, though. On Tue, Sep 4, 2012 at 3:19 PM, Andrew Svetlov wrote: > On Tue, Sep 4, 2012 at 3:11 PM, Antoine Pitrou wrote: >> I don't think so. If some hypothetical Tru64 user c

Re: [Python-Dev] Tru64 support

2012-09-05 Thread Andrew Svetlov
ng existing code sounds like a good idea. > The world wouldn't end if the test broke on Tru64, though. > That's ok. Chris Jerdonek is working on tuning docs for subprocess. He wrote tests to make sure him changes are correct. We can update documentati

Re: [Python-Dev] Split unicodeobject.c into subfiles?

2012-10-04 Thread Andrew Svetlov
thon.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython: Issue #14446: Remove deprecated tkinter functions: Delete an unused function to

2012-10-05 Thread Andrew Svetlov
} > -Py_DECREF(v); > -return PyBytes_AsString(v); > -} > -} > - > - > > #define ARGSZ 64 > > > -- > Repository URL: http://hg.python.org/cpython > > _______ > Python-checkins mailing

Re: [Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Merge issue #15936: Add link from os.urandom to random.SystemRandom

2012-10-16 Thread Andrew Svetlov
dom`. > > Is it just my non-native speaker ears, or should there be an “an” before > “easy”? > ___ > Python-checkins mailing list > python-check...@python.org > http://mail.python.org/mailman/listinfo/p

Re: [Python-Dev] [Python-checkins] cpython (merge 3.3 -> default): Merge issue #15936: Add link from os.urandom to random.SystemRandom

2012-10-16 Thread Andrew Svetlov
___ > 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/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov _

Re: [Python-Dev] cpython (3.3): Tweak the threaded example in concurrent.futures

2012-10-17 Thread Andrew Svetlov
after implementing PEP 412 (Key-Sharing Dictionary). > > > > ___ > 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] Cut/Copy/Paste items in IDLE right click context menu

2012-11-02 Thread Andrew Svetlov
only. If you look on discussion for issue (http://bugs.python.org/issue1207589) you can see we cannot make decision, votes are split. I want to raise the question on this mailing list (as Terry Reedy suggested) to ask for community opinion. Thanks, Andr

Re: [Python-Dev] Summary of Python tracker Issues

2012-11-02 Thread Andrew Svetlov
__ > 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/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov _

Re: [Python-Dev] More compact dictionaries with faster iteration

2012-12-10 Thread Andrew Svetlov
n order in the face of deletions, use an explicit ordereddict. > > Tim Delaney > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mai

Re: [Python-Dev] [Python-checkins] cpython: Following issue #13390, fix compilation --without-pymalloc, and make

2012-12-18 Thread Andrew Svetlov
gt; #endif /* WITH_PYMALLOC */ > > #ifdef PYMALLOC_DEBUG > > -- > Repository URL: http://hg.python.org/cpython > > ___ > Python-checkins mailing list > python-check...@python.org > http://mail.python.org/mailman/listinfo/python-checkins > -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] More compact dictionaries with faster iteration

2012-12-18 Thread Andrew Svetlov
entries are stored in regular Python lists > and inherit their over-allocation characteristics (about > 12.5% overallocated for large lists). There are many > other possible allocation strategies with their own > respective speed/space trade-offs. > > > __

Re: [Python-Dev] [Python-checkins] cpython: Mention OSError instead of IOError in the docs.

2012-12-19 Thread Andrew Svetlov
Done in #e5958a4e52ef On Wed, Dec 19, 2012 at 9:24 AM, Nick Coghlan wrote: > On Wed, Dec 19, 2012 at 7:16 AM, andrew.svetlov > wrote: >> >> http://hg.python.org/cpython/rev/a6ea6f803017 >> changeset: 80934:a6ea6f803017 >> user:Andrew Svetlov >> d

Re: [Python-Dev] [Python-checkins] cpython: Mention OSError instead of IOError in the docs.

2012-12-20 Thread Andrew Svetlov
; > > ___ > Python-checkins mailing list > python-check...@python.org > http://mail.python.org/mailman/listinfo/python-checkins -- Thanks, Andrew Svetlov ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] [Python-checkins] cpython: Fix #14470. Remove w9xpopen per PEP 11.

2012-12-24 Thread Andrew Svetlov
uration)|$(Platform)'=='Debug|Win32'"> > - > - Disabled > - EnableFastChecks > - MultiThreadedDebug > - > - > - Console > - > - > - Condition="'$(Configuration)|$(Platform)'=='Debug|x

Re: [Python-Dev] [Python-checkins] cpython: Use OESeeror instead of os.error (#16720)

2012-12-24 Thread Andrew Svetlov
,7 @@ >> while head and tail: >> try: >> rmdir(head) >> -except error: >> +except OSrror: >> break >> head, tail = path.split(head) >> > > Shouldn't that be OSError? -- Thanks, An

[Python-Dev] Raising OSError concrete classes from errno code

2012-12-25 Thread Andrew Svetlov
but I cannot raise concrete exception from given errno code. -- Thanks, Andrew Svetlov ___ 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/ar

Re: [Python-Dev] Raising OSError concrete classes from errno code

2012-12-25 Thread Andrew Svetlov
static method is better than new builtin function, agree. On Wed, Dec 26, 2012 at 12:03 AM, Benjamin Peterson wrote: > 2012/12/25 Andrew Svetlov : >> Currently we have exception tree of classes inherited from OSError >> When we use C API we can call PyErr_S

Re: [Python-Dev] Raising OSError concrete classes from errno code

2012-12-26 Thread Andrew Svetlov
On Wed, Dec 26, 2012 at 12:16 PM, Nick Coghlan wrote: > On Wed, Dec 26, 2012 at 6:50 PM, Serhiy Storchaka wrote: >> On 25.12.12 23:55, Andrew Svetlov wrote: >>> >>> Currently we have exception tree of classes inherited from OSError >>> When we use C AP

Re: [Python-Dev] push changesets hooks failing

2012-12-26 Thread Andrew Svetlov
CBbQ7 > 5cd8Ynqihxw= > =xUEy > -END PGP SIGNATURE- > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/optio

Re: [Python-Dev] Raising OSError concrete classes from errno code

2012-12-26 Thread Andrew Svetlov
Thanks for the elaboration! On Wed, Dec 26, 2012 at 6:42 PM, Antoine Pitrou wrote: > On Wed, 26 Dec 2012 13:37:13 +0200 > Andrew Svetlov wrote: >> > >> > As Serhiy's example shows, this mapping of error numbers to subclasses >> > is implemented directly i

Re: [Python-Dev] push changesets hooks failing

2012-12-26 Thread Andrew Svetlov
Thanks On Wed, Dec 26, 2012 at 7:50 PM, Georg Brandl wrote: > Should now be fixed. I updated the daemon behind the hook to the newest > version, and hope it will be more stable now. > > Georg > > On 12/26/2012 05:07 PM, Andrew Svetlov wrote: >> Looks like IRC bot is br

Re: [Python-Dev] test___all__ polluting sys.modules?

2012-12-29 Thread Andrew Svetlov
__ > 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/andrew.svetlov%40gmail.com > -- Thanks, Andrew Svetlov ___

[Python-Dev] Force to use Py_CLEAR and Py_VISIT in example for Python extending

2013-02-09 Thread Andrew Svetlov
x Any objections? -- Thanks, Andrew Svetlov ___ 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/archive%40mail-archive.com

Re: [Python-Dev] what is a dict_keys and where can I import it from?

2013-02-12 Thread Andrew Svetlov
> 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/andrew.svetlov%40gmail.com -- Thanks, Andrew Svetlov ___

<    1   2