New submission from Andy Buckley a...@insectnation.org:
If you attempt to call python setup.py install --prefix=/foo, and
/foo/lib/pythonX.Y/site-packages does not exist, the installation will
fail, requiring that the directory be made by hand.
Since there is no easy way to know in advance
New submission from Andy Buckley a...@insectnation.org:
At present, distutils exits with an error return code if the directory
that modules are being installed into is not in PYTHONPATH. Since the
install path is not easily obtained (it at least requires running Python
to work out the version
Andy Buckley a...@insectnation.org added the comment:
Thanks for the rapid feedback: yes, I am using setuptools and didn't
realise it would be responsible for this override. Is setuptools
feedback done completely independently from this tracker?
___
Python
New submission from Andy Buckley a...@insectnation.org:
When using distutils to build an extension module using SWIG, it makes
most sense to use the built-in SWIG support. However, the distutils seem
to vet the options passed via the Extension.swig_opts attr/arg:
[...]
ext_modules=[Extension
New submission from Andy Buckley a...@insectnation.org:
It would make package maintenance easier, as well as integration with
other build systems e.g. autotools (necessary for projects where not
everything is Python), if the distutils supported an uninstallation
command, e.g.
python setup.py
Andy Buckley a...@insectnation.org added the comment:
This works in my current version of distutils (Python 2.5.2, from Ubuntu
Intrepid). Maybe it was fixed and no-one noticed that this bug was
relevant ;)
--
nosy: +andybuckley
___
Python tracker rep
Andy [EMAIL PROTECTED] added the comment:
Martin:
Looking at it I agree with you 100% - the patch is too complicated for
what it is intending to resolve. It simply does not need another
accessor function to muddy the waters when making the symbol public as
done in #4288 resolves the issue
Andy [EMAIL PROTECTED] added the comment:
bah I *am* a idiot, #4288 and Christian's comments point out that I
can't use 'find' 'xargs' properly :-(
Will modify patch to use the correct grammar file c.
(and maybe one day I might actually say something sensible to do with
Python development
Changes by Andy [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11960/parsermodule_fix.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4279
Andy [EMAIL PROTECTED] added the comment:
a new patch that will use the grammar definition from Python/graminit.c
- it is as of yet untested for Cygwin (can't get to that machine right
now). It follows the same pattern as the previous, i.e. it makes us of
an accessor function to get the grammar
Andy [EMAIL PROTECTED] added the comment:
looks like it might be a similar root issue to the one I raised in #4279.
Looks like this patch breaks the data hiding that I think has been
attempted :-( though it doesn't mess with setup.py in the way mine does :-)
Don't know how Christian's comment
Andy [EMAIL PROTECTED] added the comment:
Christian: sorry my 'find' kung fu is weak :-( :-$ I see why.
Will work on a better patch.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4288
Andy [EMAIL PROTECTED] added the comment:
Christian:
Cool, thanks for the feedback d00d - it took longer than i though to get
what I predicted :-) No worries on the whole core target platform
thing - I understand it perfectly, had the same issue for work related
things: too many platform
New submission from Andy Buckley [EMAIL PROTECTED]:
optparse is a great option parser, but one thing that would make it even
greater would be if it provided a standard option (cf. --help) which
lists all the available options in a parseable form. Something prefixed
with --help, e.g. --help
New submission from Andy [EMAIL PROTECTED]:
Checked out the PY3K branch and built. Received a warning
about characters after #ifdef ignored from Objects/stringlib/find.h
the line in question is:
#ifdef STRINGLIB_WANT_CONTAINS_OBJ !defined(FROM_BYTEARRAY)
Which is likely to mean
Andy [EMAIL PROTECTED] added the comment:
patch for issue attached.
gcc -v = gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
tests:
./runtests.sh =
0 BAD
297 GOOD
27 SKIPPED
324 total
--
keywords: +patch
Added file: http://bugs.python.org/file11291/issue3713.patch
New submission from Andy Kilpatrick [EMAIL PROTECTED]:
cookielib doesn't handle URLs like http://server/script?
err=/base/error.htmlok=/base/ok.html, as
CookieJar::_cookie_from_cookie_tuple uses rfind(/) to strip off the
end of the URL, returning http://server/script?
err=/base/error.htmlokc
New submission from Andy Harrington [EMAIL PROTECTED]:
When you enter help(.find)
you get
...
such that sub is contained within s[start,end]
...
s[start, end] makes no sense. It should be s[start:end].
--
assignee: georg.brandl
components: Documentation
messages: 71240
nosy
Andy [EMAIL PROTECTED] added the comment:
Did that and it builds fine.
So my test procedure was:
- checkout clean source
- apply patch as per guidelines
- remove the file Psrser/tokenizer.h (*)
- ./configure
- make
- ./python setup.py install
Build platform: Ubuntu , gcc 4.2.3
All
Andy [EMAIL PROTECTED] added the comment:
Sorry for the terribly dumb question about this.
Are you meaning that, at this stage, all that is required is:
1. the application of the PyAPI_FUNC macro
2. move the file to the Include directory
3. update Makefile.pre.in to point to the new
New submission from Andy [EMAIL PROTECTED]:
Suggest clarification on behaviour of the __slots__ attribute when
inheriting from classes that don't have __slots__ defined. Obviously the
superclass automatically creates __dict__, and it seems the subclass
inherits this. I presume this is expected
New submission from Andy Novocin [EMAIL PROTECTED]:
I installed python 2.5.2 on my SUSE 10.3 system which came with 2.4.4
and when you type
import readline
it returns No module named readline.
When installing I just unzipped, ./configure, make, sudo make install.
Im brand new to Linux
Andy Harrington [EMAIL PROTECTED] added the comment:
Alexander,
I have no idea why your patch languished. On the one hand I might have
skipped this if I realized that before. On the other hand, I did add
something extra, and I might not have had an open mind if I had looked
at yours. Plus
Changes by Andy Harrington [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9823/pydoc.PATCH
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1038909
Andy Harrington [EMAIL PROTECTED] added the comment:
HM, before writing my patch I tested pydoc to see the issue was still
there. I did not look at the 2004 patch from aschmolck since it was so
old and was clearly not implemented, and brett just listed this issue as
one to deal with in 2008
Andy Harrington [EMAIL PROTECTED] added the comment:
Several points:
Additional note in pydoc output:
I thought that 'inherited' docs should be marked, so I chose to add to
the note for any function that gets docs displayed from an inherited
function:
', docs from inherited inherited class
Andy Harrington [EMAIL PROTECTED] added the comment:
After going to the sprint Monday, I am working on this as my first patch.
There is no test file for pydoc. ??
--
nosy: +andyharrington
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org
New submission from Andy Balaam [EMAIL PROTECTED]:
Running test_errno on my 32-bit Ubuntu Gutsy machine gives me this:
$ ./python Lib/test/test_errno.py
test_for_improper_attributes (__main__.ErrnoAttributeTests) ... FAIL
test_using_errorcode (__main__.ErrnoAttributeTests) ... ok
Andy Balaam [EMAIL PROTECTED] added the comment:
Adding Brett Cannon since it looks like his checkin created the test
which fails on my machine. Apologies if this is very bad etiquette. I
couldn't find any guidelines about this in the developers' docs, but
probably that's because I am
Andy Balaam [EMAIL PROTECTED] added the comment:
Woah! fast response, and what looks like a much more sensible fix.
Thanks Brett.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2398
New submission from Andy Schumann:
On Windows a path can contain spaces (e.g. C:\Program Files\python22
\python.exe). If using popenx each component in a command line has
therefore to be double quoted as well as the whole command string.
The method run_cgi() of the class CGIHTTPRequestHandler
301 - 331 of 331 matches
Mail list logo