ethod would be similar to
>> "%(foo)s %(bar)s" % d, where d is a dict (or rather any mapping object),
>> but of course would use str.format syntax: "{foo}
>> {bar}".format_from_mapping(d).
>
> I must be missing something, but what's the dif
2010/10/31 Glenn Linderman :
> On 10/31/2010 2:02 PM, Benjamin Peterson wrote:
>
> 2010/10/31 Antoine Pitrou :
>
>> On Sun, 31 Oct 2010 16:39:44 -0400
>> Eric Smith wrote:
>>
>
>>> What are your thoughts on adding a str.format_from_mapping (or similar
2010/10/31 Glenn Linderman :
> On 10/31/2010 3:32 PM, Eric Smith wrote:
>
> On 10/31/2010 6:28 PM, Glenn Linderman wrote:
>
> On 10/31/2010 2:02 PM, Benjamin Peterson wrote:
>
> 2010/10/31 Antoine Pitrou:
>
>> On Sun, 31 Oct 2010 16:39:44 -0400
>> Eric S
e was documented or announced.
> This is in contrast to the logging module which does have a
> clean separation of components and where it isn't unusual
> to import just part of the package.
See http://docs.python.org/whatsnew/2.7.html#updated-module-unittest
--
Regards,
Benjamin
c_path() is only used to run a
> subprocess: os.exec*() and subprocess.Popen() (only the POSIX implementation).
> I suppose that a top level "import warnings" would augment the memory
> footprint.
Warnings is loaded every time anyway.
--
Regards,
Benjamin
__
2010/11/3 Nick Coghlan :
> On Wed, Nov 3, 2010 at 10:19 PM, Benjamin Peterson
> wrote:
>>
>> Warnings is loaded every time anyway.
>
> I would have agreed with you, but the contents of sys.modules in a
> just-started interactive interpreter suggests that isn't tru
o had a few discrepancies:
> scripts/2to3.py: /usr/bin/env python (necessary, I think - I believe
> 2to3 is a 2.x only program)
No, I believe distutils is supposed to patch that up, though.
--
Regards,
Benjamin
___
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
nraisable and THEN the "C API unavailable" warning, but it is not
> showing the warning.
>
> I don't know why.
Are you passing -3 -Wall?
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyth
s can always be reported to:
http://bugs.python.org
Enjoy!
--
Benjamin Peterson
Release Manager
benjamin at python.org
(on behalf of the entire python-dev team and 3.1.3's contributors)
___
Python-Dev mailing list
Python-Dev@pytho
find, so they can be
fixed in the final release. The bug tracker is at:
http://bugs.python.org/
Enjoy!
--
Benjamin Peterson
Release Manager
benjamin at python.org
(on behalf of the entire python-dev team and 2.7.1's contributors)
___
rmation disappeared from those nodes. Is there a particular
>> reason for that ? In python2.x, the "args" nodes were just "Name" nodes,
>> and as for now we keep them as "AssName" nodes in astng/pylint and would
>> l
he
>> people who stated that they can't wait for the migration to happen
>> would work on solving some of the remaining problems.
>
> Do we have a exhaustive list of mercurial "to do" things?.
http://hg.python.org/pymigr/file/1576eb34ec9f/tasks.txt
--
Rega
2010/11/19 "Martin v. Löwis" :
>> Maybe I misremembered Martin's suggestion, and he was only talking about
>> security releases.
>
> Technically, I was only talking about 2.5. For each branch, the
> respective release manager should make a decision. For 2.5 an
)
> + return ZipExtFile(zef_file, mode, zinfo, zd,
> close_fileobj=should_close)
>
> def extract(self, member, path=None, pwd=None):
> """Extract a member from the archive to the current working directory,
> ___
2010/11/22 Łukasz Langa :
> Wiadomość napisana przez Benjamin Peterson w dniu 2010-11-23, o godz. 00:47:
>
> No test?
>
>
> The tests were there already, raising ResourceWarnings. After this change,
> they stopped doing that. You may say: now they pass for the first time
2010/11/23 Antoine Pitrou :
> On Mon, 22 Nov 2010 22:00:08 -0600
> Benjamin Peterson wrote:
>> 2010/11/22 Łukasz Langa :
>> > Wiadomość napisana przez Benjamin Peterson w dniu 2010-11-23, o godz.
>> > 00:47:
>> >
>> > No test?
>> >
>>
27;t understand why people insist on calling that an "enum". enum is
> a C legacy and it doesn't bring anything useful as I can tell. Instead,
> just assign the values explicitly.
The concept of a "enumeration" of values is still useful outside its
stunted C incarnat
gt;
> What I expect is that Constant.a should return 1, and Constant.a=2 should
> raise TypeError, but what I get is a normal class __dict__.
The construction namespace can be customized, but class.__dict__ must
always be a real dict.
--
Regards,
Benjamin
___
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
n can be found at:
http://docs.python.org/2.7/
This is a production release. Please report any bugs you find to the bug
tracker:
http://bugs.python.org/
Enjoy!
--
Benjamin Peterson
Release Manager
benjamin at python.org
(on behalf of the entire python-dev team and 2.7.1's co
n.org/download/releases/3.1.3/
A list of changes in 3.1.3 can be found here:
http://svn.python.org/projects/python/tags/r313/Misc/NEWS
The 3.1 documentation can be found at:
http://docs.python.org/3.1
Bugs can always be reported to:
http://bugs.python.org
Enjoy!
--
Benjamin Pet
r should be discarded.
That's different. Python doesn't assign any semantic meaning to the
characters in identifiers. The non-latin support for numerals, though,
could change the meaning of a program dramatically and needs to be
well-specified. Whether int() should do this is debatable. I, for one,
think this kind of support belongs in the locale module.
--
Regards,
Benjamin
___
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
At the same time, I'm skeptical -- IIRC, ICU is a large amount of C++
> code. I don't know how easy it will be to integrate this into our
> build processes for various platforms, nor how "Pythonic" the
> resulting APIs will look to the experienced Python user.
There's
Hi,
Since discussion has trailed off without any blocking objections, I'm
accepting PEP 384. Martin, you may mark the PEP accepted and proceed
with merging the implementation for the beta on Saturday.
--
Regards,
Benjamin
___
Python-Dev mailing
l
> creating Makefile
> ./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
> /usr/bin/env: python: No such file or directory
> make: *** [Include/Python-ast.h] Error 127
>
> I think this is the same problem that I saw on the FreeBSD VM.
You have to touch Include/Python-ast.h and Python
2010/12/8 Kirk McDonald :
> What is the status of PEP 3143? It appears to be aimed at 3.2, but there
> does not appear to be a resolution on it.
It's after beta freeze now, so definitely not 3.2. AFAIK, though, it's
never been discussed here.
--
R
2010/12/8 Ben Finney :
> Benjamin Peterson writes:
>
>> 2010/12/8 Kirk McDonald :
>> > What is the status of PEP 3143? It appears to be aimed at 3.2, but
>> > there does not appear to be a resolution on it.
>
> I am the PEP 3143 author and champion. It hasn
s the grammar
> more than it's worth. Also, the moratorium applies here, given that Py3.1
> does not implement this.
>
> Comments?
There's a issue and a patch for this somewhere. I personally don't
care; it's not too painful to write two lines.
--
Regards,
Benja
argument Stephan already made)
>
> Another +1 for the same reasons. Also, since global does not allow
> assignment, neither should nonlocal.
Note that the PEP stated that global would also be extended.
--
Regards,
Benjamin
___
Python-Dev m
expr.sub(repl, x.group(3)))
>> + return "(%s if %s else %s)" % (x.group(2), x.group(1),
>> + expr.sub(repl, x.group(3)))
>
> Please update the comment as well.
Done.
--
Regards,
Benjamin
is that an attribute includes the
expression from which the attribute is being taken. This is consistent
with subscripts and calls, which both have the lineno and col_offset
of their source expressions.
--
Regards,
Benjamin
___
Python-Dev mailing li
RN_VALUE
>
> Can't we optimize the LOAD_FAST in lines 19 and 25 to a single load
> and put the reference twice on the stack?
Yes. Would it be useful? Unlikely.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http:/
lines." be deleted? What else could it mean other than use of
> '\r' or '\r\n'?
$ ./python
Python 3.2b2 (py3k:87559, Dec 28 2010, 17:39:51)
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more informati
ers).
>
> IIUC this is not about merges, this is about transplants (or
> cherry-picking). It would be unannoying to lose svnmerge's relative
> convenience in that matter.
I assume you meant "annoying"?
--
Regards,
Benjamin
___
Pyth
right?
>>
>> Oh, I wrote the above assuming 3.2->3.3 merging. For the other direction
>> you need cherry-picking, yes.
>
> I have the impression that Benjamin plans to continue 3.1 bug maintenance
> for months after 3.2 final rather than issue the last bug fix the
pported, and I'm ignorant?
> Is the usage considered 'unPythonic'?
> Can you point me to any existing discussion of the issue (it must have come up
> before?)?
See python-ideas.
--
Regards,
Benjamin
___
Python-Dev mailing list
Py
2011/1/17 Ron Adam :
>
> Is this on purpose?
Of course: instances don't have names.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.
ly across a wider range of version control systems.
>
> The revert works with svn, hg and bzr. Using patch is not going to work on
> Windoze unless cygwin has been installed.
I thought you were supposed to use some variant of "update
themselves.
I prefer lib2to3 tests to stay in lib2to3/.
--
Regards,
Benjamin
___
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
like in this approach in a constructive
> manner?
As I understand it, there used to be patc...@python.org. I'm not sure
why this was discontinued, so perhaps someone more senior should chime
in. :)
--
Regards,
Benjamin
___
Python-Dev mailing
#x27;s not a bug or a feature request, why does it need to change?
--
Regards,
Benjamin
___
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
; not only be a lot easier, it will also be less of a moving target.
>
> And will produce what kind of results? How many extension libraries work
> with this subset?
Probably none because it hasn't been released. That's the goal.
--
Regards,
Benjamin
_
bothers me.
If they can be justified, what is the process lacking?
--
Regards,
Benjamin
___
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
g? Are some functions useless?
> Reducing the number of API functions is not a goal in itself.
I think he's referring to deprecations and removals in general.
--
Regards,
Benjamin
___
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
gt;>
>>
>> I propose that in Python 3.3 we rename asyncore to barrel_of_monkeys.
>
> Would that be a Mapping or a Sequence?
Actually, probably Laughable.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http:/
e outage shouldn't be longer than an hour.
>
> It's time to move to Mercurial! :-)
And doubtless there will be times when Mercurial must be upgraded, too...
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http:
py
>
> -sys.exit(main("lib2to3.fixes"))
> +runpy.run_module('lib2to3', run_name='__main__', alter_sys=True)
> ___
> Python-checkins mailing list
> python-check...@python.org
> http://mail.python.org/mailman/listinfo/python-che
!
>
> Maybe it was a subconscious thing :)
Or you realized later how nice it would be, grabbed the time machine,
and fixed 10 release blockers on the 19th. :)
--
Regards,
Benjamin
___
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
2011/2/23 Brett Cannon :
> I assume you are having me do this because you still plan to cut separate
> releases. Is there a minimum Python version that needs to be supported?
2.5 but that's only for benchmarking purposes IIRC.
--
Regard
2011/2/23 Brett Cannon :
> Does the benchmarking use the 2to3 script? I'm asking because package
> execution is not supported that far back.
Correct. But I suppose, it wouldn't really be harmful to add __main__.
Just a no-op.
--
R
/*
> - __version__ 82160.
> + __version__ .
Ah, this reminds me. Figuring out what to do with the AST version
should probably be a hg roadmap topic.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.o
referenced in the _enclosed_
> scope, not the _enclosing_ scope. Is there a typo in the documentation
> or am I missing something?
Actually you can do that now 3.2+. I've now removed that sentence;.
--
Regards,
Benjamin
___
Python-Dev
gt; Is there a rational for this? It seems inconsistent -- if you can
> assign to names in outer scopes, you should be able to del them
> as well.
Notice that it's now been changed...
--
Regards,
Benjamin
___
Python-Dev mailing list
gt;> merriam-webster.com ;-).
>
> There are some Google hits, though... Not sure if they are of people
> making the same mistakes as I do ;)
Endly, perhaps it will be adopted. Did you mean "superfluous" though?
--
Regards,
Benjamin
___
2011/2/28 Antoine Pitrou :
> Le lundi 28 février 2011 à 13:56 -0600, Benjamin Peterson a écrit :
>> 2011/2/28 Antoine Pitrou :
>> > On Mon, 28 Feb 2011 13:36:11 -0500
>> > Terry Reedy wrote:
>> >>
>> >> > + an existing branch. The pus
simply got
> overlooked, or if there's no need at all.
How do you determine past developers?
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:/
2011/3/1 Antoine Pitrou :
> On Tue, 1 Mar 2011 16:23:42 -0600
> Benjamin Peterson wrote:
>> 2011/3/1 Antoine Pitrou :
>> >
>> > Hello,
>> >
>> > In
>> > http://mail.python.org/pipermail/python-committers/2011-February/001340.html,
>>
eed a consistent examples of
> usage of Python C API, especially on Python 3.2.
I'm not sure why what C-API is used in Python's extension modules
needs to be anyway to you.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@pyth
ary, what should
> other Python implementations do about implementing it?
Ignore it as they're free to ignore any other implementation detail.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
I wonder if we couldn't kill the "cpython" repo name in the commit
mails. I find it wastes space for the commit message in the subject
line, and it's pretty obvious it's the cpython repo from the branch
name.
--
Regards,
Benjamin
_
2011/3/6 Barry Scott :
> I see that PyCObject_AsVoidPtr has been removed from python 3.2.
> The 3.2 docs do not seem to explain this has happened and what
> to replace it with.
It's replaced with PyCapsule.
--
Regards,
Benjamin
2011/3/8 Antoine Pitrou :
>
> Well, after a couple of days with the "cpython" prefix stripped, I have
> to say that I find it much less practical than it was before. Any other
> opinions?
"cpy" maybe?
--
Regards,
Benjamin
___
oday's
> committer did not accept my advice to be very conservative with changes to
> it and to strongly prefer AST transformations instead. Please consider
> reverting this change.
--
Regards,
Benjamin
___
Python-Dev mailing list
Pytho
at-coherent.html
>>
>> Wrt. the remark that other implementations should be referenced more
>> prominently: I added them to
>>
>> http://www.python.org/download/
>
> Cool. Would you mind mentioning JIT for PyPy in description?
Done.
--
Regards,
Benjam
> If someone wants to split their work into several changesets, a patch
> series using mq could also be the recommended way (that's how
> mercurial-devel works).
--
Regards,
Benjamin
___
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
2011/3/13 Antoine Pitrou :
> On Sun, 13 Mar 2011 01:34:21 +0100
> benjamin.peterson wrote:
>> http://hg.python.org/cpython/rev/52940f7f3726
>> changeset: 68416:52940f7f3726
>> user: Benjamin Peterson
>> date: Sat Mar 12 18:35:23 2011 -0600
>
ppears in all
> * Otherwise, include it if it doesn't begin with an underscore
>
> There doesn't seem to be an obvious way to get around these rules for
> named tuples... am I overlooking something?
No, probably we should add some sort of __yes
ld be submitted upstream.
It really doesn't matter if there's typos in 3rd party libraries which
we distribute.
>
> Is that status and the restriction on changes indicated in the file?
No, because that would make updating it annoying, too. :)
--
Regards,
Benjamin
_
t; after stepping over a lot of toes.
>
> For instance, merging between branches (in which direction) is
> established here, but not in the devguide.
What are you talking about?
http://docs.python.org/devguide/committing.html#forward-porting
--
Regards,
Benjamin
___
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
ere
>> is not much chance that you can write "close #12345" without
>> actually meaning to close the issue :)
>
> Sorry to bother you. What would be the exact wording?. What "variants"
> means?.
Matching this re. :) (?:\b(?Pclose[sd]?|closing|)\s+)?
--
Rega
able to contribute anymore (I have not even started to
> learn mercurial yet). Plus I'm still using 2.6 or even 2.5 with my own
> Python projects.
Thank you very much for you work. We'd always be happy to have you back.
--
Regards,
Benjamin
t; in personal projects for a couple months and it is
> remarkably easy, taking only minutes to learn.
> It also works with Hg right out of the box; no need
> for extensions, customizations, or a slew of advanced Hg
> features.
Python, though, is not your run-of-the-mill pet pro
It's also a slippery slope. Maybe we should add parameters
for open() and io functions? What about sys and os? Those often need
to be mocked.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/
#x27;red green blue')
> + globals().pop('NTColor', None) # remove artifacts from
> other tests
> + self.assertNotIn('NTColor', globals())
Shouldn't these other tests cleanup after themselves?
--
Regards,
Benjamin
_
The main cpython repo.
2011/3/25 anatoly techtonik :
> Hi, Benjamin,
>
> Is your repository for 2to3 is still actual?
> http://svn.python.org/view/sandbox/trunk/2to3/
>
> Which should I use to start hacking on 2to3?
>
> --
> anatoly t.
>
>
>
> On Wed, Mar
ead can die about now. Honestly, if we spent
half the energy we spend worrying about mailing list details on actual
work
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubsc
it because these buildbots are dead (oops, sorry!).
>>
>> Most buildbots are red because a regression in test_logging (since 2
>> days): I disabled temporary the test (issue #11557), I hope that the
>> situation will be better in a few hours.
>>
>> Thank you Antoine
I'm rather sick of seeing this warnings on all compiles, so I propose
we enable the -Wno-unused-results option. I judge that most of the
cases where this occurs are error reporting functions, where not much
with return code can be done.
--
Regards,
Ben
r amateur web page designers, it would be
> better to follow proven models. All of the following have the comment box
> at the top and the messages in reverse chronological order:
Please no reverse chronological order! Every bug tracker I know which
isn't underconfigured roundu
2011/3/31 Victor Stinner :
> Le 01/04/2011 01:11, Benjamin Peterson a écrit :
>>
>> I'm rather sick of seeing this warnings on all compiles, so I propose
>> we enable the -Wno-unused-results option. I judge that most of the
>> cases where this occurs are error rep
.org/mirror/cpython/src/3558eecd84f0/Modules/faulthandler.c
>
>
> That's *way* better:
> https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Lib/linecache.py
> Why can't we have that for our primary source viewer.
Because it's closed source.
--
Regards,
*** [test] Error 1"
>
> The Result? When I type python on Linux, i get the older version 2.7.1
> instead of the version that i just installed (python 3.2).
Actually, it's because Python 3 is installed as python3.
--
Regards,
Benjamin
leanups I'd like to happen, too, such as unifying
TryExcept and TryFinally into a single node.
--
Regards,
Benjamin
___
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
2011/4/6 anatoly techtonik :
> Is it a good idea to have code highlighting in tracker?
Why would we need it?
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
h
2011/4/7 anatoly techtonik :
> On Thu, Apr 7, 2011 at 7:01 AM, Benjamin Peterson wrote:
>> 2011/4/6 anatoly techtonik :
>>> Is it a good idea to have code highlighting in tracker?
>>
>> Why would we need it?
>
> Because tracker is ugly.
So we should add
as the author of PyPy's AST implementation, there are even
some changes I'd like to make it easier!
--
Regards,
Benjamin
___
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
lyze development until the stdlib gets 100% coverage in the tests
> suite.
Presumably this only applies to new code, though, which I would hope
would have comprehensive test coverage regardless of this PEP.
--
Regards,
Benjamin
___
Python-Dev mailing
structure, pushing super calls and
> popping until the stack was empty, couldn't this restriction be
> removed?
No. See line 2 of the Zen of Python.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://
ldly radical? Maybe the guarantees made about
> whether an API will be available in future versions of Python (ostensibly
> what "public" vs "private" is for) should not be tightly coupled to the
> decision about whether to bother to explain what an API does?
With w
2011/4/20 R. David Murray :
> On Wed, 20 Apr 2011 08:11:48 -0500, Benjamin Peterson
> wrote:
>> 2011/4/20 :
>> > On 08:20 am, victor.stin...@haypocalc.com wrote:
>> >>
>> >> Hi,
>> >>
>> >> Le mardi 19 avril 2011 à
atory key: 'name', name of
> the thread implementation (nt, os2, pthread or solaris for CPython 3.3).
How about using a structseq ala sys.float_info or sys.long_info? (In
fact, we might want to put this in sys.)
--
Regards,
Benjamin
___
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
2011/4/20 Victor Stinner :
> Le mercredi 20 avril 2011 à 11:57 -0500, Benjamin Peterson a écrit :
>> How about using a structseq ala sys.float_info or sys.long_info? (In
>> fact, we might want to put this in sys.)
>
> Would you prefer something like the following example?
&
ocumentation at least.
http://docs.python.org/dev/library/stdtypes
--
Regards,
Benjamin
___
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
o_asserts
:)
--
Regards,
Benjamin
___
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
particular, I find the syntax of
> tree matchers the most unclear part.
I think you can learn a lot by reading through the current fixers in
lib2to3/fixers/.
--
Regards,
Benjamin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pytho
means switching to Django templates will make Roundup design
> plumbing work 47.256% more attractive for potential contributors.
Perhaps some of those eager contributors would like to volunteer for the task.
--
Regards,
Benjamin
___
Python-Dev maili
gt;
>>> I'm just guessing here, but I'd say 47.256 %.
>>
>> That means switching to Django templates will make Roundup design
>> plumbing work 47.256% more attractive for potential contributors.
>
> That's not true actually.
>
> It
.py
> @@ -114,7 +114,7 @@
> if version == 2:
> if isinstance(a, (str, bytes, bytearray)):
> if isinstance(a, str):
> - a = a.encode("utf8")
> + a = a.encode()
--
Regards,
Benjamin
___
, some are short-circuited in C code while
> others require codec lookup implemented in python.
Isn't it cached after the first run? If this is the reasoning, I find
it hard to believe that seed() is a large bottleneck in random.
--
Regards,
Benjamin
__
by merging.
It seems like something that should be solved by tools like a display
visual graph indicating what is merged. (like Bazaar)
--
Regards,
Benjamin
___
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
2011/5/9 R. David Murray :
> On Mon, 09 May 2011 09:08:53 -0500, Benjamin Peterson
> wrote:
>> I thought the whole point of merging was that you brought a changeset
>> from one branch to another. This why I just write "merge" because
>> otherwise you're t
901 - 1000 of 1550 matches
Mail list logo