Éric Araujo added the comment:
This may help:
http://blog.codekills.net/2013/04/13/strftime--table-of-locale-aware-formatters-in-different-locales/
--
nosy: +wolever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5904
Georg Brandl added the comment:
LGTM without having tested it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21240
___
___
Python-bugs-list
David Wolever added the comment:
It may also be worth noting that the strftime formatters table now includes
examples from different locales:
https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
This change was introduced about a year ago.
--
Vivek Jain added the comment:
No reply from Apple yet, so I'm guessing at this stage they won't be
responding. Does anyone have any contacts at Apple they could nudge to have a
look at this? :) The other option is to recreate something that looks like
Apple's folder icon but isn't. There is a
Martin Panter added the comment:
I don’t think these ones could be so easily fixed, but on my computer “pydoc”
references:
* library/importlib.machinery.html (ideally should be
library/importlib.html#module-importlib.machinery)
* library/tkinter.font.html (not in Python documentation at all
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1191964
___
___
Python-bugs-list
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21108
___
___
Python-bugs-list
Charles-François Natali added the comment:
I was expecting to see such a report :-)
I'm al for the st_ino+st_dev check, it can't hurt.
But everybody must keep in mind that if another thread messes with the
FD between the check and the read, there's nothing we can do...
--
Josiah Carlson added the comment:
Victor, I addressed the majority of your comments except for a couple stylistic
pieces. Your annoyance with the short poll time for Windows made me re-read the
docs from MS, which made me realize that my interpretation was wrong. It also
made me confirm
Alex Lord added the comment:
Have a unit test that replicates this bug. Working on the C code to fix it
right now.
--
nosy: +Alex.Lord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16864
Nitika Agarwal added the comment:
But then I have submitted another patch issue4744_3 with the corrections.Please
review my patch issue4744_3.patch
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4744
Charles-François Natali added the comment:
Do you have benchmarks?
(I'm not looking for an improvement, just no regression.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21233
___
Richard Oudkerk added the comment:
If you use the short timeouts to make the wait interruptible then you can
use waitformultipleobjects (which automatically waits on an extra event
object) instead of waitforsingleobject.
--
___
Python tracker
Martin v. Löwis added the comment:
I see. I read the tutorial as actually giving permission to use these very
shapes and forms for an icon. So if the resulting icon is (or could be) the
result of following these steps, my layman's interpretation is that we have
permission to use it.
However,
Changes by Christoph Gohlke cgoh...@uci.edu:
--
nosy: +cgohlke
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17213
___
___
Python-bugs-list
Julian Taylor added the comment:
won't replacing _PyObject_GC_Malloc with a calloc cause Var objects
(PyObject_NewVar) to be completely zeroed which I think they didn't before?
Some numeric programs stuff a lot of data into var objects and could care about
python suddenly setting them to zero
New submission from Martin Panter:
from shutil import make_archive; make_archive(a, tar)
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python3.4/shutil.py, line 783, in make_archive
filename = func(base_name, base_dir, **kwargs)
File
Ned Deily added the comment:
The code needs to be updated for Python 3 and it needs a test. I'm deassigning
it in the hopes that someone will feel free to pick it up.
--
assignee: ned.deily -
stage: commit review - patch review
versions: +Python 3.5 -Python 3.2
Giampaolo Rodola' added the comment:
Interesting, I wasn't aware of this FTP(S) feature.
Unfortunately RFC-4217 really doesn't say much about how this should be done
but it definitively looks like something worth having.
AFAIU this looks like something which should be implemented by servers
Martin Panter added the comment:
Seems like shutil._unpack_tarfile() is affected. I guess it could at least do
with one of those warnings in the documentation for make_archive().
The patch for this bug looks a bit over enthusiastic, for example
skip_prefixes(blaua../stuff) would incorrectly
eryksun added the comment:
classmethod_descriptor instances such as vars(dict)['fromkeys'] are callable.
The first argument has to be a subclass of __objclass__:
vars(dict)['fromkeys'].__objclass__
class 'dict'
Calling the descriptor creates a bound built-in method; slices the args
New submission from Sebastian Jylanki:
When debugging with some of the other very popular tools like GDB all the
threads are halted when a breakpoint is hit on any of the threads. Then threads
can be switched and analyzed separately at the current state of execution.
When debugging with PDB
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20198
___
___
Python-bugs-list
Terry J. Reedy added the comment:
I use rstrip routinely when editing idlelib files, before committing, so it has
been useful for that purpose.
I do not happen to know what reindent.py does that the current format options
do not.
#18704 was about integrating the pep8 style checker. That was
Antoine Pitrou added the comment:
Yuck. Is there a public FTP server available somewhere with this feature?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19500
___
Antoine Pitrou added the comment:
The RFC is unhelpfully lousy. It's not enough to process a 522 error, since
that can be triggered for different reasons. You also somehow have to interpret
the error text to detect that session reuse is indeed mandated by the server.
Regardless, to progress
Josh Rosenberg added the comment:
Julian: No. See the diff:
http://bugs.python.org/review/21233/diff/11644/Objects/typeobject.c
The original GC_Malloc was explicitly memset-ing after confirming that it
received a non-NULL pointer from the underlying malloc call; that memset is
removed in
Josh Rosenberg added the comment:
Well, to be more specific, PyType_GenericAlloc was originally calling one of
two methods that didn't zero the memory (one of which was GC_Malloc), then
memset-ing. Just realized you're talking about something else; not sure if
you're correct about this now,
Josh Rosenberg added the comment:
For the record, I have intentionally used bytes.maketrans to make translation
table for str.translate for precisely this reason; it's much faster to look up
a ordinal in a bytes object than in a dictionary. Before the recent (partial)
patch for str.translate
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8106
___
___
Antoine Pitrou added the comment:
Ok, I propose the following plan:
- add a new opaque type allowing to wrap a SSL_SESSION
- add a get_session() method to SSLSocket, returning the current session
- add an optional session=... parameter to SSLContext.wrap_socket, allowing
to specify a session
New submission from Lukas Vacek:
Hey,
Currently when a module builds successfully during cpython build but it can't
be imported (import check around line 330 in setup.py) the module shows in
Failed to build these modules: which can be misleading.
Especially when linking against libraries in
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21281
___
___
Python-bugs-list
Julian Taylor added the comment:
I just tested it, PyObject_NewVar seems to use RawMalloc not the GC malloc so
its probably fine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21233
___
New submission from Tito Bouzout:
Hello!
I got a report that the character \ was removed from a string using the
following code
\\server\path\to.strip(r'\'')
At first insight, looks like a bug, because I don't expect the use of the
escape character at all. Then I noticed, that our mistake
Matthew Barnett added the comment:
The argument isn't a regex, it's a raw string literal consisting of the
characters (quote), \ (backslash), ' (apostrophe), (less than) and
(greater than).
--
___
Python tracker rep...@bugs.python.org
Petr Dlouhý added the comment:
For anyone stuck on Python 2.x, here is an workaround (maybe it could find it's
way to documentation also):
def fix_grouping(bytestring):
try:
return unicode(bytestring)
except UnicodeDecodeError:
return bytestring.decode(utf-8)
Christian Theune added the comment:
So, in addition to +/ and -_ there are quite a few base64 variants. Worst
thing: there are the two ambigious variants -_ and _-, even though _-
supposedly is non-standard for its use.
See http://en.wikipedia.org/wiki/Base64
The shortest fix I can see would
Benjamin Peterson added the comment:
I'm not sure this is a good idea. In general, we expose whatever libc defines,
and let it give ENOSYS (or similar) errors if the underlying system doesn't
actually support the behavior. Presumably, the Hurd might implement
SO_REUSEPORT at some point.
Josiah Carlson added the comment:
Richard: short timeouts are no longer an issue. Nothing to worry about :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1191964
___
Changes by Christian Theune c...@gocept.com:
--
hgrepos: +239
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12489
___
Changes by Christian Theune c...@gocept.com:
--
hgrepos: +240
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12489
___
___
Python-bugs-list mailing
Antoine Pitrou added the comment:
Indeed, this complicates the conditional defines for no obvious benefit.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21273
___
Eric V. Smith added the comment:
In addition, you probably want \\server\path\to to be a raw string, too. That
way, the backslashes are not given special meaning. Notice the difference in
output between these two:
\\server\path\to.strip(r'\'')
'server\\path\to'
Changes by Christian Theune c...@gocept.com:
Added file: http://bugs.python.org/file34944/732e7d4515c0.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12489
___
Changes by Christian Theune c...@gocept.com:
--
keywords: +patch
Added file: http://bugs.python.org/file34943/62b280b61de7.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12489
___
New submission from Raymond Hettinger:
When a user sets FormatParagraph to anything other than 70,
test_idle.py has 4 failing tests:
test_comment_block (idlelib.idle_test.test_formatparagraph.FormatEventTest) ...
FAIL
test_long_line (idlelib.idle_test.test_formatparagraph.FormatEventTest) ...
Sam Kimbrel added the comment:
Here's a patch that corrects col_offset for binops in both the ast module and
in the compiler proper. I've incorporated Aivar's test into test_ast.py; if
there are test suites for compile.c please let me know and I can add something
there too.
--
Christian Theune added the comment:
I don't think the security risk exists due to this bug. As Python is searching
for various places anyway, an attacker could just symlink one of those places
anyway instead of 'stdin'.
--
nosy: +ctheune
___
Python
Christian Theune added the comment:
I'll update this.
--
nosy: +ctheune
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Berker Peksag added the comment:
This looks like a duplicate of issue 16261.
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21259
___
Matthias Klose added the comment:
updated patch, reviewed by Thomas, checked that rpath is not added, and the the
extensions still build.
--
nosy: +twouters
Added file: http://bugs.python.org/file34946/avoid-rpath.diff
___
Python tracker
Changes by Matthias Klose d...@debian.org:
Removed file: http://bugs.python.org/file26222/rpath.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15234
___
Roundup Robot added the comment:
New changeset 1a00e04a233d by doko in branch '3.4':
- Issue #15234: For BerkelyDB and Sqlite, only add the found library and
http://hg.python.org/cpython/rev/1a00e04a233d
--
nosy: +python-dev
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - needs patch
type: enhancement - behavior
versions: +Python 3.4, Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16864
Matthias Klose added the comment:
fixed
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15234
___
___
Changes by Glenn Jones gl...@millenniumhand.co.uk:
Added file: http://bugs.python.org/file34948/pydoc-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9364
___
Changes by Glenn Jones gl...@millenniumhand.co.uk:
Added file: http://bugs.python.org/file34947/_sitebuiltins-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9364
___
Changes by Matthias Klose d...@debian.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21274
___
___
Python-bugs-list mailing
Changes by Matthias Klose d...@debian.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21275
___
___
Python-bugs-list mailing
Glenn Jones added the comment:
I have added patches that replace the previous ones and apply to head. It
appears that the other changes discussed (crosslinking and improving
documentation) have already been done.
--
nosy: +Glenn.Jones
___
Python
Changes by Christian Theune c...@gocept.com:
--
title: Update urllib to RFC 3986 - Update urllib quoting to RFC 3986
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
Changes by Matthias Klose d...@debian.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21276
___
___
Python-bugs-list mailing
Changes by Matthias Klose d...@debian.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21277
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Python-bugs-list mailing
Changes by Christian Theune c...@gocept.com:
--
hgrepos: +241
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Python-bugs-list mailing
New submission from Matthias Klose:
this refactors the curses configure checks, and fixes the build with ncursesw.
In it's current form the curses feature checks are run without the additional
include path which leads to wrong results if the only the nurses headers are
installed.
--
Changes by Matthias Klose d...@debian.org:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21285
___
___
Python-bugs-list
Changes by Matthias Klose d...@debian.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21285
___
___
Python-bugs-list mailing
Éric Araujo added the comment:
Brett, any opposition to moving the doc about importlib submodules to separate
files?
--
nosy: +brett.cannon
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
R. David Murray added the comment:
The patch looks good. I'd like the comment to say We use urlsafe_b64decode
here because some mailers apparently use the urlsafe b64 alphabet, and
urlsafe_b64decode will correctly decode both the urlsafe and regular alphabets.
Also, the new header parser
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - some problems with the documentation of pydoc
___
Python tracker rep...@bugs.python.org
New submission from Mark Dickinson:
It looks as though the information from refcounts.dat isn't making it into the
online docs for 3.4 and 3.5. See e.g., the documentation for PyList_GetItem.
For 3.3 [2], there's a Return value: Borrowed reference. annotation supplied
by Sphinx's
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21286
___
___
Python-bugs-list
Brett Cannon added the comment:
No, I have no objections.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
___
Python-bugs-list mailing
Mark Dickinson added the comment:
Yay! Thanks, Benjamin.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20904
___
___
Python-bugs-list mailing
Changes by Christian Theune c...@gocept.com:
--
hgrepos: -242
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Python-bugs-list
Changes by Christian Theune c...@gocept.com:
--
hgrepos: +242
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Python-bugs-list mailing
Mark Dickinson added the comment:
N.B. When I build the docs locally on the default branch (using 'make html'
from the Docs directory on a clean checkout), I *do* see the refcounting
annotations in the html output.
--
___
Python tracker
Changes by Christian Theune c...@gocept.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Changes by Christian Theune c...@gocept.com:
--
keywords: +patch
Added file: http://bugs.python.org/file34950/0be3805cade1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
Kristján Valur Jónsson added the comment:
Add comments and explicit (void) on the ignored value from _PyString_Resize as
suggested by Victor
--
Added file: http://bugs.python.org/file34951/string_resize.patch
___
Python tracker
Thomas Wouters added the comment:
You should put the definition closer to the Windows one (right after or before
it) rather than further down the file. Other than that, looks good.
--
___
Python tracker rep...@bugs.python.org
Thomas Wouters added the comment:
Looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21275
___
___
Python-bugs-list mailing list
Thomas Wouters added the comment:
Looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21276
___
___
Python-bugs-list mailing list
Chris Monsanto added the comment:
This issue has been open for 4 years, last update was 2 months ago.
Lack of transactional DDL is a big deal for Python programs that use SQLite
heavily.
We have a patch for Python 3 that applies cleanly and as far as I can tell
works fine. I've been using it
Roundup Robot added the comment:
New changeset ca2edbefca35 by doko in branch '3.4':
Fixes for KFreeBSD and the Hurd:
http://hg.python.org/cpython/rev/ca2edbefca35
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset ca2edbefca35 by doko in branch '3.4':
Fixes for KFreeBSD and the Hurd:
http://hg.python.org/cpython/rev/ca2edbefca35
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Thomas Wouters added the comment:
Good fix. Do remove the 'first curses header check' comment you add, and don't
forget to regenerate configure (and maybe pyconfig.h.in? I don't know if
that'll change.)
--
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21286
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset ca2edbefca35 by doko in branch '3.4':
Fixes for KFreeBSD and the Hurd:
http://hg.python.org/cpython/rev/ca2edbefca35
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
Convert a mapping object or a sequence of two-element tuples, which
may either be a str or a bytes, to a “percent-encoded” string.
Mappings, duple sequences, and duples cannot be str or bytes.
The only thing making sense to me here is that “which” refers to
Roundup Robot added the comment:
New changeset 1bc0a8310b9f by doko in branch '2.7':
- Issue #21285: Refactor and fix curses configure check to always search
http://hg.python.org/cpython/rev/1bc0a8310b9f
New changeset 635817da596d by doko in branch '3.4':
- Issue #21285: Refactor and fix curses
Matthias Klose added the comment:
looks like with this change the curses extension isn't built anymore on Solaris.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21285
___
Changes by Matthias Klose d...@debian.org:
--
title: refactor anfd fix curses configure checks - refactor and fix curses
configure checks
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21285
Matthias Klose added the comment:
fixed
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21275
___
___
Matthias Klose added the comment:
fixed
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21274
___
___
Matthias Klose added the comment:
fixed
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21276
___
___
Christian Theune added the comment:
I don't think this will be solved. File-like objects (in this case IO wrappers
for the socket) may have different capabilities and tarfile is just expecting
too much.
My patch for #15002 relieved the situation somewhat by providing tell() but the
IO stream
New submission from Игорь Пашев:
SIOCGIFINDEX could be defined in illumos (aka OpenSolaris) if BSD_COMP macro
defined. This causes known error: no member ifr_ifindex in struct ifreq.
But OpenSolaris provides newer interface with struct lifreq and SIOCGLIFINDEX.
Attached patch tries to use it.
1 - 100 of 173 matches
Mail list logo