7;ve been using this for a while for the
"authoritative" branches. So it's a distributed workflow otherwise,
but at the end of the life cycle of a branch, we merge and commit to a
bound branch pretty much like committing a change to Subversion.
--
Gustavo Niemeyer
http://niemeyer.
if these patches
carried history information which allowed them to be merged
considering context, and carried logs, authorship information, and
incremental history.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
ht
ue that Bazaar performance was much worse in the past, and it is
true that it's being improved, and will continue to improve. In case
Bazaar is a good deal for Python nowadays, it should only get better
over time.
--
Gustavo Niemeyer
http://niemeyer.net
___
;s a real world situation, not something I'm making up to
favor bzr. I'm pretty sure hg should have something similar too (and
git does for sure).
> As for the "via mail" feature, I use Gmail so it doesn't mean anything to me.
> =)
Please ask Tim to teach you how
talking about history-carrying diffs which can be attached and
sent via mail, not about viewing plain diffs, which every VCS tool in
the world can do since version 0.0.
Anyway, I guess you already have what you want. Good luck picking the
right choice!
--
Gustav
ovide his changes in the bug or in a mail without having
to set up any infrastructure/accounts/whatever at all to provide his
branch.
That's it for now. If I can think of any other use cases from our
routine that might serve as things to explore in such a comparison,
I'll let you know.
--
> i thought about this thing.
(...)
+1!
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-
] http://opensource.nokia.com/projects/pythonfors60/
[2] http://pymaemo.sf.net
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/o
thout enlarging
> the dict API.
Yeah, this looks good. I don't think I've ever used it like this.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
U
Hey guys,
After trying to use it a few times with no success :-), I'd like
to include a new method, dict.discard, mirroring set.discard:
>>> print set.discard.__doc__
Remove an element from a set if it is a member.
If the element is not a member, do nothing.
Comments
removed the one expecting
sys.stdout to be a "normal" file.
Sorry for the trouble,
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
related to stdout/stderr handling, and I'm
having trouble making buildbot happy while keeping the new tests
in place.
I apologise for any inconvenience this may cause.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@
> Did you still want this addressed? Anthony and I made some comments
> on the bug/patch, but nothing has been updated.
I was waiting because I got unassigned from the bug, so I thought
the maintainer was stepping up. I'll commit a fix for it today.
Thanks for pinging me,
--
Gusta
fix should be trivial. I can commit a fix tonight, if the subprocess
module author/maintainer is unavailable to check it out.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listi
be possible to use cvs2svn itself, creating a dump file,
and loading that dump file into an existing repository with
'svnadmin load --parent-dir'.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
> You ought to have predefined classes for the standard OSes. Expecting
> people to know the values for sep and extsep seems unhelpful.
(...)
Why not something as simple as having path.sep == None meaning the
default for the platform, and a defined value for otherwise?
--
Gustavo Niemeye
on't agree. "isdir" is an attribute of the filesystem, not of
the path object. I'd never expect that e.g. a network operation
could result from accessing an attribute in Python, and that could
certainly happen if the path is referencing a network filesystem.
--
Gustavo Niemeyer
e system.
--
Gustavo Niemeyer
http://niemeyer.net
___
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
> Consider it dead. =)
RIP. ;)
--
Gustavo Niemeyer
http://niemeyer.net
___
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%40m
l the metaclass
support that Python took so long to maturate. Otherwise, a new
optional extension could be included as well: "Removing the 'class'
statement".
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Pyth
ime someone figures
out it's a nice idea. Have a look for the subject "Extending tuple unpacking"
in the mailing list for a recent discussion on the topic.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-De
pt UnicodeError:
self.stream.write(fs % msg.encode("UTF-8"))
self.flush()
+except KeyboardInterrupt:
+raise
except:
self.handleError(record)
Anyone against the change?
--
Gustavo Niemeyer
http://niemeyer.net
_
uivalent to f(1,) even though (1) is an int but
> (1,) is a tuple.
"Extended *tuple* unpacking" was a wrong subject indeed. This is
general unpacking, since it's supposed to work with any sequence.
--
Gustavo Niemeyer
http://niemeyer.net
__
other contexts.
What do you think?
--
Gustavo Niemeyer
http://niemeyer.net
___
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
.system("yes | head -1")
y
0
>>> os.system("yes | read any")
0
Out of curiosity, many of the google results for
"yes: standard output: Broken pipe" are from
Python programs. :-)
Regards,
--
Gustavo Niemeyer
http://niemeyer.net
___
egards,
--
Gustavo Niemeyer
http://niemeyer.net
___
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
line;
> selective commit of only some of the changed files is also not
> supported. bzr diff cannot show the changes between two revisions,
The development version has all of those features implemented already.
> and cannot show revisions across branches.
I'm not sure about this one
ugh I strongly dislike the idea ;-),
decide it and get just half of the complaints, rather than
getting all of them and spreading FUD.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.
until someone mentions the right place to deliver the message".
Adding that address to the PyPI page itself would be valueable, and
will probably save python-dev from further misinformed reporters.
Thanks for forwarding it this time,
--
Gustavo Niemeyer
http://niemeyer.net
ERROR: could not extend relation "releases":
No space left on device
HINT: Check free disk space.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Uns
ses, doing so in the standard library would spread fear
and "python is so untrustful" feelings.
That's something a good police, reflecting practices that we learn
"by osmose" while living in that environment (python-dev) for a while,
could try to handle. Enforcing it i
x27;s two
days before EuroPython, and many people might be moving to
the conference at that time.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
rom locking(myLock):
# Do something
And also, this would require a break necessarily:
while (foo, bar) from locking():
# Pass
> This will require a new keyword/operator 'from' to use in a 'from'
> expression:
quot;new" way of thinking
> could be and what drawbacks it might have.
Your target seems to be a new kind of regular expressions indeed.
In that case, I'm not sure if "re2" is the right name for it, given
that you haven't written an improved SRE, but a completely new
k
meaning, and would allow interleaving
hierarchical/non-hierarchical groups.
I offer myself to integrate the change once we decide on the right
way to implement it, and achieve consensus on its adoption.
Best regards,
--
Gustavo Niemeyer
http://niemeyer.net
__
ng
function.
Have a look at the bug at http://python.org/sf/1072259 for more
information and for a patch fixing the problem.
Thanks for the report,
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python
-bugs-list. Mentioning it
in http://www.python.org/community/lists.html might be a good
idea.
Additional suggestions still accepted.
Thanks!
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/m
r, is there any way to follow all new bugs
posted? Or even, what's the easiest way to avoid that problem
by being notified of bugs as soon as possible?
Thank you, and I'm sorry.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing li
g to find a solution for. Otherwise, Python
would already be in trouble for using this scheme in the print
statement. Can you show an example of the print statement not
working?
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
[EMAI
he various wrappers in the codecs module make this
> rather easy.
Thanks for the suggestion!
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
> Gustavo Niemeyer wrote:
> >Given the fact that files have an 'encoding' parameter, and that
> >any unicode strings with characters not in the 0-127 range will
> >raise an exception if being written to files, isn't it reasonable
> >to respect the '
27;bar' encoding? What about
> ascii encoded source documents that use escape sequences to represent
> non-ascii characters? What you want doesn't make any sense so long as
> python strings and file objects deal in bytes not characters :)
Please, take a long breath, and re
a to a
file?
The workaround for that problem is to either use the evil-considered
sys.setdefaultencoding(), or to wrap sys.stdout. IMO, both options
seem unreasonable for such a common idiom.
--
Gustavo Niemeyer
http://niemeyer.net
___
Python-Dev mail
43 matches
Mail list logo