Georg Brandl added the comment:
Why are __flags__, __basicsize__, __itemsize__, __dictoffset__, and
__weakrefoffset__ interesting?
I haven't said they are, but on the other hand I don't see why consistency is a
bad thing.
--
___
Python tracker
Georg Brandl added the comment:
These are unknown attributes after a key=value pair. What this issue is about
is accepting attributes *before* any key=value pair.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22796
Georg Brandl added the comment:
Missing keyword argument support is not the norm, it's the exception that is
only due to implementation details in C code. Eventually, we'd like every C
function to support keyword arguments.
Converting everything is tedious work, though, and still makes things
Georg Brandl added the comment:
Nice! How do you plan to organize its setup?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22650
___
___
Python
Georg Brandl added the comment:
You add a label before that section and then reference it with :ref:.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22780
Georg Brandl added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22775
___
___
Python-bugs-list mailing list
Unsubscribe
Georg Brandl added the comment:
That seems like the best course of action.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22758
___
___
Python
Georg Brandl added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22695
___
___
Python-bugs-list mailing list
Unsubscribe
Georg Brandl added the comment:
Couldn't reproduce in 3.4.2.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22539
New submission from Georg Brandl:
It seems like verbose should be passed to the archival function, but it isn't.
--
components: Library (Lib)
messages: 230324
nosy: georg.brandl
priority: normal
severity: normal
status: open
title: shutil.make_archive() doesn't use its verbose argument
Georg Brandl added the comment:
All remaining points have been fixed.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22613
Georg Brandl added the comment:
That makes sense.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22771
___
___
Python-bugs-list mailing list
Georg Brandl added the comment:
IMO the snowman should be a Unicode string in the second example for Python 2.7.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22767
Georg Brandl added the comment:
in the second example
or even, in both examples.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22767
Georg Brandl added the comment:
OK, so there are two root issues here:
* Django uses __init__(str()) roundtripping, which is not explicitly supported
by the library, and worked by accident with previous versions. That it works
again with 3.3+ is another accident, and a bug.
(The change
Georg Brandl added the comment:
The fourth parameter is not flags, but count, the max. number of
substitutions. flags is the fifth parameter, or give it as a keyword
argument.
--
nosy: +georg.brandl
resolution: - not a bug
status: open - closed
Georg Brandl added the comment:
os.path.exists() ignores *all* OSErrors from stat. This is probably too broad,
but only ignoring ENOENT is probably too narrow.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Georg Brandl added the comment:
Thanks, this is indeed a regression.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22758
___
___
Python-bugs
Georg Brandl added the comment:
Correct, there are no PyString_ functions in 3.x.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22748
Georg Brandl added the comment:
LGTM.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22749
___
___
Python-bugs-list mailing
Georg Brandl added the comment:
rdm: your suggestion sounds good. Note that the argument name is iterable in
Py3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
Georg Brandl added the comment:
I agree, the see also box is better off near the bottom, probably before the
examples.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22736
Changes by Georg Brandl ge...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22305
___
___
Python-bugs-list
Georg Brandl added the comment:
next() is quite unlike match() and search(), as you almost never use next() on
iterators directly. Rather, the iterator is iterated by constructs like a for
loop or a comprehension, or another function that consumes it (list, map, ...)
--
nosy
Changes by Georg Brandl ge...@python.org:
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22740
Georg Brandl added the comment:
OK, a hopefully complete overview of the network-using tests and the services
they use, checked by tracing connect() calls during a test run:
* test_codecencodings_*, test_normalization, test_ucn: some Unicode-related
data files from
unicode.org:80
icu
Georg Brandl added the comment:
I felt the problem was self evident with sequence must be a sequence.
The two words are not used in the same sense: the first names the argument of
the function, the second is one of several possible object types you can pass
for that argument
Changes by Georg Brandl ge...@python.org:
--
nosy: -georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
___
___
Python-bugs-list
Georg Brandl added the comment:
LGTM.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22727
___
___
Python-bugs-list mailing
Georg Brandl added the comment:
Sounds good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22723
___
___
Python-bugs-list mailing list
Georg Brandl added the comment:
This is as expected; the new global name print overrides the builtin name
print.
(What you could also have done to remove your binding is del print, which
removes the global binding.)
--
nosy: +georg.brandl
resolution: - not a bug
status: open
Georg Brandl added the comment:
And the first quote is wrong.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13918
___
___
Python-bugs-list
Georg Brandl added the comment:
HasAttr would just call GetAttr and discard the exception.
@ OP: what objects are you pickling? You can give them a __module__ attribute
to save the lookup in sys.modules.
--
nosy: +georg.brandl
___
Python tracker
Georg Brandl added the comment:
Attached patch addresses the repeated __repr__ calling and gives a 4x speedup
here.
--
keywords: +patch
Added file: http://bugs.python.org/file36985/whichmodule_speedup.diff
___
Python tracker rep...@bugs.python.org
Georg Brandl added the comment:
I didn't have numpy anyway, I tested on a function with __module__ set to None
manually. But I see the same speedup for Ellipsis.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22676
Georg Brandl added the comment:
Is it possible to determine the range of signal numbers? Otherwise it would be
a guessing game where to stop querying when filling up the dictionary.
A problem is also that if the signal number is not valid, the return value of
strsignal() is unspecified
Georg Brandl added the comment:
Yes, but those are no longer maintained. It's not a critical bug :)
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22675
Georg Brandl added the comment:
Nice. However, strsignal() returns not just SIGINT, but Interrupted etc.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22674
Georg Brandl added the comment:
It seems that you should give SCRIPTDIR=/usr/lib64 to the make install
step, not the make step. Are you sure the slackbuild instructions are
missing that?
--
nosy: +georg.brandl
resolution: - third party
status: open - closed
Georg Brandl added the comment:
What's actually curious is Getting the list of files that have been
added/changed ... 448 files. What does hg status say? Why are there 448
changed files?
This is of course still a bug in patchcheck.py, it shouldn't touch non-RST
files
Changes by Georg Brandl ge...@python.org:
--
Removed message: http://bugs.python.org/msg229654
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22648
Georg Brandl added the comment:
Removed the message containing the log. It is making it very clumsy to view
this issue. Please resubmit as a file attachment.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22648
Changes by Georg Brandl ge...@python.org:
--
Removed message: http://bugs.python.org/msg229655
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22648
Georg Brandl added the comment:
This is not a crash, but an abort, so it's not a security issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22653
Changes by Georg Brandl ge...@python.org:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22644
___
___
Python
Changes by Georg Brandl ge...@python.org:
--
nosy: +benjamin.peterson, larry
versions: +Python 2.7, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22644
Georg Brandl added the comment:
Is this still a problem? If yes, I would contact the PyPI team directly, this
tracker is not the right place for PyPI bugs.
(It is unlikely to be a distutils bug.)
--
nosy: +georg.brandl
resolution: - third party
status: open - pending
Georg Brandl added the comment:
OK, thanks for the feedback.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21298
Georg Brandl added the comment:
This is a somewhat unfortunate difference between the major C libs and Python's
new IO, but probably too late to change.
What's left to do is to document the behavior properly.
--
assignee: - docs@python
components: +Documentation -IO, Windows
nosy
Georg Brandl added the comment:
`path = str(path)` is minimal, but has the side effect of accepting almost any
object, which is definitely not what you'd like (where did that file named
'type object at ...' come from?!)
--
___
Python tracker rep
Georg Brandl added the comment:
Making old functions support `Path` sounds trivial to me
We're looking forward to trivial patches that enable Path handling consistently
throughout the stdlib.
Fine, so you add an `if isinstance...` in front of it and you're done.
Easier said than done in C
Georg Brandl added the comment:
Can you describe a bit more in detail at which step of the installer the error
occurs?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22648
New submission from Georg Brandl:
Our test suite currently contacts a range of hosts for different online
tests, including python.org hosts. This has led to sudden breakages in the
past, e.g. when www.python.org changed URLs or switched to https by default.
It would probably a good idea
Georg Brandl added the comment:
PyId_sort is not a function, it's a somewhat complicated way of getting a
Python string sort (in this case, for looking up a method using
PyObject_GetAttrId). The string object is cached, with is faster than
constructing one every time
Georg Brandl added the comment:
I guess a redirect could be added again.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22632
Georg Brandl added the comment:
This appears to be caused by the update to libffi version 3.1 in 3.4.2.
--
keywords: +3.4regression
nosy: +doko, georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22634
Georg Brandl added the comment:
While I can feel your pain regarding the use case you describe, I don't think
this has enough general value to add to CPython. It is not really related to
PYTHONHASHSEED, since we never made guarantees about hash values being stable
across platforms and Python
Changes by Georg Brandl ge...@python.org:
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9311
Georg Brandl added the comment:
Would your decision be more favorable if you received a patch implementing
this feature?
I'll keep this on pending for other devs to weigh in with opinions.
In general, we are not keen on keeping text representations stable, as they do
not form part
Georg Brandl added the comment:
currently more bugfree and intended to replace re
The first part is spreading FUD if not explained in more detail. The second is
probably never going to happend :(
--
nosy: +georg.brandl
___
Python tracker rep
Georg Brandl added the comment:
You're right, this can be avoided (although you will also have to patch the
extension module build, which uses the just-built python executable).
This problem occurs twice in the build process, once for pgen and once for
_freeze_importlib. The problem
Georg Brandl added the comment:
Indeed, that is an issue :(
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22625
___
___
Python-bugs
Changes by Georg Brandl ge...@python.org:
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22617
Changes by Georg Brandl ge...@python.org:
--
title: Jobs Opportunities in France/Canada - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22617
Changes by Georg Brandl ge...@python.org:
--
Removed message: http://bugs.python.org/msg229142
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22617
Georg Brandl added the comment:
I don't think this feature is generally useful enough to be included.
* Since you need to modify the test code anyway (adding the try-except), it is
probably just as much work to do the selection there.
* Why only add selection of subtests, and not of all
Georg Brandl added the comment:
I requested the feature because I regulary need bisect (once a month, or
maybe two months).
Always within subtests?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22607
Georg Brandl added the comment:
Thanks!
--
nosy: +georg.brandl
resolution: fixed -
stage: resolved - needs patch
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15569
Georg Brandl added the comment:
Thanks for the patch.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18959
___
___
Python
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15569
Georg Brandl added the comment:
Ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21189
___
___
Python-bugs-list mailing list
Unsubscribe
Georg Brandl added the comment:
You seem to be confusing the feature itself with the implementation.
The fact that there is an acceptable implementation is another matter
(and subtest_in_range.diff is not an implementation).
You yourself were calling it a solution.
A feature proposal
Georg Brandl added the comment:
Sorry for not being more explicit and for being lazy doing a copy paste from
msg 229022:
I see, this was split off another issue (which was already closed). I agree
that a bit more verbosity in the initial description would have prevented
confusion
Georg Brandl added the comment:
UTIME_TO_UTIMBUF actually still looks dodgy and UTIME_TO_TIME_T is completely
broken.
* There should be only one utimbuf structure, because it already contains
both times (see man 2 utime).
* UTIME_TO_TIME_T uses a type called struct timet which I don't think
Georg Brandl added the comment:
The not allowed should be clarified. What is meant is that if
allow_fragments is false, a fragment is parsed as part of the path.
This doesn't make a difference for urljoin if the fragment is part of the
second part. It does make a difference for the first
Georg Brandl added the comment:
Jeffrey: I did not mean to devalue your patch, I just wanted to bring even more
issues to Victor's attention.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22568
Georg Brandl added the comment:
I'm sure you've improved the code. Without looking at the hg history, you've
likely just inherited the broken C code from the previous version and made it
prettier :)
Since this breakage has not been reported so far, the last two #elses appear
Georg Brandl added the comment:
There is also
#if !defined(__QNX__)
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) ||
defined(__DJGPP__)
#define SEP L'\\'
#define ALTSEP L'/'
#define MAXPATHLEN 256
#define DELIM L';'
#endif
#endif
in Include/osdefs.h
--
nosy
Georg Brandl added the comment:
Patch LGTM.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22568
___
___
Python-bugs-list
Georg Brandl added the comment:
This is indeed intended. I'll update the docs.
--
nosy: +georg.brandl
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22507
Georg Brandl added the comment:
I don't think this can go somewhere useful.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9417
Georg Brandl added the comment:
asdl.py is fixed to work with 2.7 as of 3b2af26f4638.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21480
Georg Brandl added the comment:
A more complete patch that also fixes up pyexpat's frame trickery is tracked in
#22462.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - Modules/pyexpat.c violates PEP 384
Georg Brandl added the comment:
Not sure how this can violate PEP 384, as it doesn't make it mandatory for
builtin extensions to use the stable ABI.
The other concerns seem valid, although I don't like how the patch includes an
unrelated change to ctypes.
--
nosy: +georg.brandl
Georg Brandl added the comment:
I seem to recall that this was rejected into the realm of linters in a
python-dev discussion.
If there is a chance of false positives, having Python emit the warning would
be annoying because there is no convenient way of telling it to shut up about
Georg Brandl added the comment:
Please open a new issue for those.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16518
Georg Brandl added the comment:
I agree, closing.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21784
Georg Brandl added the comment:
pydoc.gui() no longer exists in supported versions.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13101
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21072
Georg Brandl added the comment:
Since we're unlikely to ever change all the places, I'd say it's better to be
consistent. I'd rather write str(path) all over the place than having to look
up in the docs each time if that specific API happens to support passing Paths
directly.
However
Georg Brandl added the comment:
Done in 8a98ee6baa1e. Thanks!
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17078
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17078
Georg Brandl added the comment:
Thanks!
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16155
___
___
Python-bugs-list
Georg Brandl added the comment:
I was about to suggest deriving your own Path class from Path and str, but got
a base class layout conflict because Path objects define lots of __slots__ :(
--
___
Python tracker rep...@bugs.python.org
http
Georg Brandl added the comment:
That would be a rather horrible solution.
I know :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22570
Georg Brandl added the comment:
Agreed, closing.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10583
Georg Brandl added the comment:
I think it is unreasonable to expect authors of 3rd party modules to respect
PEP 384 if the standard library does not.
I don't understand why you think that. PEP 384 is intended to provide the
means to maintain binary compatibility of extension modules so
Georg Brandl added the comment:
Not a Python issue.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20997
___
___
Python
Georg Brandl added the comment:
I'm wondering what regs is supposed to stand for. It might be for regions,
but that term is used nowhere else. It should really be named spans to be
consistent.
--
nosy: +georg.brandl
___
Python tracker rep
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22540
201 - 300 of 5083 matches
Mail list logo