Change by Phil Elson :
--
keywords: +patch
pull_requests: +20740
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21602
___
Python tracker
<https://bugs.python.org/issu
New submission from Phil Elson :
The documentation for site.getusersitepackages() states at
https://docs.python.org/3.10/library/site.html#site.getusersitepackages:
Return the path of the user-specific site-packages directory, USER_SITE. If it
is not initialized yet, this function will also
Phil Elson added the comment:
FWIW - this doesn't appear to have been backported to v2.7.x. As a result, the
./Modules/ld_so_aix reference still exists in _sysconfigdata.py in v2.7.8 (and
therefore I was unable to build numpy). The workaround is easy enough, it is
just something that is
Phil Elson added the comment:
I just wanted to say that I am seeing the same issue with similar build flags
for the xlc compiler.
Finding the correct compile flags may well be the problem here.
For the record, since I think this is related to the flags which are being
passed to os.open, I
New submission from Phil Elson:
The example at http://docs.python.org/3.4/howto/descriptor.html#properties does
not run due to the old style "raise AttributeError, message" form.
This patch fixes the problem, and also goes through the docs to remove explicit
sub-classing from &qu
Phil Elson added the comment:
Ok. I think I've done all of the actions from the reviews.
I'm not sure if I should remove the old patches or not?
Thanks,
--
Added file: http://bugs.python.org/file29304/pelson_warnings_fix_4.diff
___
Pyth
Phil Elson added the comment:
> I didn't see a test case relating to the example in his comment, namely
>
> f.format("{0:{}}", 'foo', 5)
>
> Did I miss it?
The example should fail, which it wouldn't have done with the patch previously
propose
Changes by Phil Elson :
Added file: http://bugs.python.org/file28072/pelson_warnings_fix_3.diff
___
Python tracker
<http://bugs.python.org/issue16382>
___
___
Python-bug
Changes by Phil Elson :
Added file: http://bugs.python.org/file28053/pelson_warnings_fix_2.diff
___
Python tracker
<http://bugs.python.org/issue16382>
___
___
Python-bug
New submission from Phil Elson:
When passing an invalid Warning subclasses to the warnings.warn function, a
bare issubclass exception is raised:
>>> import warnings
>>> warnings.warn('hello world', 'not a valid warning type')
Traceback (most recent call l
Phil Elson added the comment:
Ramchandra's fix looks fairly good, although there is at least one remaining
issue (see my last comment). I have attached a patch which addresses (and
tests) this.
I'd be happy to pick this up if there are any remaining issues that need to be
Phil Elson added the comment:
The current patch fails to catch the fact that auto vs manual numbering has
been used in following corner case:
from string import Formatter
print(Formatter().format("{0:{}}", 'foo', 5))
To fix this, without adding state to the formatter
Changes by Phil Elson :
--
nosy: +pelson
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bugs-list mailing list
Unsubscribe:
13 matches
Mail list logo