New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
I was hoping that I could use a list/tuple of separators for the split method:
abcde.split([b, d])
vs.
import re
re.split(b|d, abcde)
That's one extra LOC, and (worse still) forces me to learn regexp.
Does
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
components: +Interpreter Core -Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11162
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
If I happen to not have the directory, $PREFIX/python3.3/site-packages, I get
an erroneous message telling me that I don't write permissions.
--
assignee: tarek
components: Distutils2
files: create-dir-if-nonexistent.diff
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
It's not indicated where one should run the command 'make html' in the
Building the documentation page, so when it failed for me when running it
from the cpython distribution root, I was left a little puzzled, searching
where
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Fri, 2011-06-03 at 16:18 +, Éric Araujo wrote:
Éric Araujo mer...@netwok.org added the comment:
Ah, I understand; I have a $srcdir/Lib/site-packages directory, but packaging
wants to install into $prefix/site-packages, which
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Fri, 2011-06-03 at 15:47 +, Éric Araujo wrote:
Éric Araujo mer...@netwok.org added the comment:
Your patch adds the cd before running make, but other examples and filenames
(for example :file:`tools/sphinx`) are also
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13472
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13440
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12907
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12296
___
___
Python-bugs
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
I struggled to find how to contribute to the devguide. I even struggled to find
where the VCS is. I think it would be kool if there was a section for this info
(it's not always fun to search the intertubes).
--
components
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13124
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12409
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13275
___
___
Python-bugs
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
@Araujo bit offtopic, but which XML library have you found most elegant? Is it
available in the stdlib?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13275
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
this line:
commonly abbreviated svn, after the program name
was once changed to:
commonly abbreviated hg, after the program name
and it no longer makes sense
--
components: Devguide
files: rm-obsolete-reference.patch
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
I am wondering what else is outdated in that file. Is it still useful?
--
components: Build
messages: 151052
nosy: tshepang
priority: normal
severity: normal
status: open
title: Misc/build.sh is outdated... talks about svn
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
Lib/lib2to3/Grammar.txt seems like a modified copy of Grammar/Grammar. Can you
state so somewhere, maybe in the beginning of Lib/lib2to3/Grammar.txt (the Note
section).
One problem with the way it is now, is that there are changes
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
I guess I should have looked more carefully. Thanks and sorry for the noise.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13762
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2175
___
___
Python-bugs-list
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12779
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: tshepang
priority: normal
severity: normal
status: open
title: Doc/tools/dailybuild.py available only on 2.7 branch
versions: Python 2.6, Python 3.1, Python 3.2, Python 3.3
___
Python
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Thu, Jan 12, 2012 at 00:12, Sandro Tosi rep...@bugs.python.org wrote:
Sandro Tosi sandro.t...@gmail.com added the comment:
But we may explain what's behind: after the mercury chemical element symbol
- what do you think?
Good
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Ezio Melotti ezio.melo...@gmail.com added the comment:
If 'program' refers to the executable, the sentence is still valid.
Interesting. It didn't appear like that until you mentioned it. It was
far more clear with subversion:svn than
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
New submission from Georg Brandl ge...@python.org:
Why is that a concern? It is not needed for the doc build and intended to be
used on python.org only.
It's mentioned in
http://hg.python.org/devguide/file/5d4a90e568ed
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
ok, the url is http://hg.python.org/devguide/file/5d4a90e568ed/docquality.rst
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13768
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
faq.rst: correct url is http://mail.python.org/mailman/listinfo/tutor
--
components: Devguide
messages: 151488
nosy: ezio.melotti, tshepang
priority: normal
severity: normal
status: open
title: url for Tutor mailing list
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
this is regarding documenting.rst:
The url for checking out Sphinx from svn has been outdated for a while, so I
think it would be better to refer people to Doc/Makefile for the correct urls,
instead of having to keep updating
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
I included both suggestions in the latest patch.
--
Added file: http://bugs.python.org/file24269/rm-obsolete-reference2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16799
___
___
Python-bugs
New submission from Tshepang Lekhonkhobe:
I am running Debian 7, which has sphinx is1.1.3+dfsg-4.
When I run
$ python tools/sphinx-build.py -bhtml . build/
I get a whole bunch of errors:
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created
building
Tshepang Lekhonkhobe added the comment:
It is my preference to be able to build all of CPython with the
already-installed distro packages, instead of pulling in foreign ones.
Any reason why not use later versions? Can't the docs be written such
that they can run on various versions
Tshepang Lekhonkhobe added the comment:
docutils 0.8.1-8
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16805
___
___
Python-bugs-list mailing
Tshepang Lekhonkhobe added the comment:
no-one has done the work of testing, preparation and migration: do you
volunteer? :)
What needs doing exactly? I would volunteer if guided. I normally
build with the Debian-provided tools, and the docs look good, all but
those note directive errors
New submission from Tshepang Lekhonkhobe:
I think it's a good idea to simply list the 'full' path.
--
assignee: docs@python
components: Devguide, Documentation
files: use-paths-relative-to-root.diff
keywords: patch
messages: 178494
nosy: docs@python, ezio.melotti, tshepang
priority
New submission from Tshepang Lekhonkhobe:
This avoids having to run 2 separate commands.
--
components: Devguide
files: make-can-specify-build-directory.diff
keywords: patch
messages: 178495
nosy: ezio.melotti, tshepang
priority: normal
severity: normal
status: open
title: use
Tshepang Lekhonkhobe added the comment:
I like long-form options for documentation purposes since it's clearer
what the option is for.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16814
Tshepang Lekhonkhobe added the comment:
I have tested the attached patch using official tools (make -C Doc html) and
the only differences, between before and after, are:
* The genindex files, where some of the keywords that are duplicated in the
documentation would end up getting randomly
Tshepang Lekhonkhobe added the comment:
The previous patch applies cleanly to 3.3 and 3.4. I am now attaching one that
applies cleanly to 3.2.
--
versions: +Python 3.3
Added file: http://bugs.python.org/file28482/remove-directives-warnings-3.2.diff
Tshepang Lekhonkhobe added the comment:
And this one patch applies to 2.7.
--
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file28483/remove-directives-warnings-2.7.diff
___
Python tracker rep...@bugs.python.org
http
Tshepang Lekhonkhobe added the comment:
Additionally, the whole way we're fetching those tools will be revisited soon.
What are/were your plans ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13810
Tshepang Lekhonkhobe added the comment:
The Linux (and Unix?) equivalent is xdg-open.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16813
Tshepang Lekhonkhobe added the comment:
Nice. Didn't know about that one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16813
___
___
Python
Tshepang Lekhonkhobe added the comment:
This is not a `make' tutorial...
I find the latest patch to be a great compromise though. Many people
would be grateful to learn about the -C option. I am one of them.
--
___
Python tracker rep
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10529
___
___
Python-bugs
New submission from Tshepang Lekhonkhobe:
I would rather not get the 'thanks' I have been getting since this was
published. Rather let that be my website.
--
assignee: docs@python
components: Documentation
files: no-mail.diff
keywords: patch
messages: 179000
nosy: docs@python, tshepang
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
title: replace email address on howto with my home page - replace my email
address on argparse howto with my website
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16857
Tshepang Lekhonkhobe added the comment:
thanks
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16857
___
___
Python-bugs-list mailing list
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16862
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
title: Argparse tutorial outdated - Python 2 error in Argparse tutorial
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16863
Tshepang Lekhonkhobe added the comment:
A quick patch would be 'This tutorial was written for argparse in Python 3. A
few details are different in 2.x.' But feel free to do better.
That really sounds great, especially since it avoids resorting to
things as ugly as ...and this is Python 2
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16931
___
___
Python-bugs
New submission from Tshepang Lekhonkhobe:
This part of the PEP is written as if string exceptions are currently being
removed, which is not the case.
Also, it is probably more accurate to say they are forbidden *and* are
removed, instead of they are forbidden *because* they are are removed
New submission from Tshepang Lekhonkhobe:
There is an outdated statement that the old form of raising exceptions *will*
be removed in Python 3. It's ambiguous in that you don't know if such was ever
in Python 3, and it is also time-sensitive (and now outdated).
--
assignee: docs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file28713/raise-exception.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16950
New submission from Tshepang Lekhonkhobe:
In PEP 8, there is:
Don't write string literals that rely on significant trailing whitespace
It's not clear to me what this means, and therefore likely needs further
explanation, or maybe an example.
--
assignee: docs@python
components
Tshepang Lekhonkhobe added the comment:
I don't think there is a more concise way of putting it in the PEP.
Is it not more important to be clear than to be concise? Can't you put
this info that PEP, or at least a link to this issue?
--
___
Python
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
assignee: docs@python
components: Documentation
files: grammar.diff
keywords: patch
nosy: docs@python, tshepang
priority: normal
severity: normal
status: open
title: fix grammar in 'threading' documentation
versions: Python 2.7
New submission from Tshepang Lekhonkhobe:
Also, sentence starting with Due to the does not flow so nice for me... maybe
a comma is needed after CPython?
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16954
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16965
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17009
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16996
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17003
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17005
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10740
___
___
Python-bugs
Tshepang Lekhonkhobe added the comment:
thanks so much; will play with it soon enough
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14103
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8040
___
___
Python-bugs-list
New submission from Tshepang Lekhonkhobe:
The issue referred to has since been resolved.
--
assignee: docs@python
components: Documentation
files: update.diff
keywords: patch
messages: 181778
nosy: docs@python, tshepang
priority: normal
severity: normal
status: open
title: update PEP
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
title: start the Class tutorial in a more gentle manner - make the Classes
tutorial more gentle
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14219
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17218
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16651
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14266
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9556
___
___
Python-bugs-list
New submission from Tshepang Lekhonkhobe:
Usage of 'W' type is not clear from reading the documentation, specifically how
to specify what day-of-week: Doc/library/logging.handlers.rst:291.
An example http://stackoverflow.com/q/14304954/321731.
--
assignee: docs@python
components
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10224
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17343
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17337
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +pje, tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17349
___
___
Python
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15851
___
___
Python-bugs
New submission from Tshepang Lekhonkhobe:
Looking at the documentation, one would think RobotFileParser does not accept
any argument, but it does -- url.
Documenting this would remove the pain of having to call set_url().
--
assignee: docs@python
components: Documentation
messages
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
___
Python-bugs-list
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15392
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17438
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17462
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17473
___
___
Python-bugs
Tshepang Lekhonkhobe added the comment:
@Antoine OP is interesting in only that file. Why not just add that single line
at the top (at least for 2.7, and 3.3+)?
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17516
___
___
Python-bugs
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
But this part of the code runs only when you want to install a 3rd party module
isn't it? What you are proposing simply adds a delay, for the use will have to
then add that directory manually. Or is there something I'm missing here
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
s/use/user
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
___
___
Python-bugs
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Are there cases where my patch would result in site-packages directory
installed in an unwanted place?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
I've changed the patch to represent what I've since learned. It now just
displays a message, instead of silently creating the missing path.
--
Added file: http://bugs.python.org/file22259/display-warning.diff
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Find attached.
--
Added file: http://bugs.python.org/file22267/display-warning_try2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
Added file: http://bugs.python.org/file22277/display_warning_with_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
On Fri, 2011-06-10 at 16:46 +, Éric Araujo wrote:
Éric Araujo mer...@netwok.org added the comment:
Fixed. Welcome to Misc/ACKS !
loveliness :)
--
___
Python tracker rep
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14814
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14790
___
___
Python-bugs
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14834
___
___
Python-bugs
1 - 100 of 406 matches
Mail list logo