Christian Theune added the comment:
Not being an export on tar at all, but I tried getting anything working without
tell() and seek() but couldn't.
The code reads as if its supposed to support some tar formats that do not
require seeking, but that would be rather hard to predict on a
New submission from Armin Ronacher:
Is there a specific reason why hashlib.pbkdf2_hmac now has a completely
inconsistent API with the rest of the stdlib? So far the concept in both
hashlib and hmac has been to accept hash constructors as parameters.
As such you would expect the API to look
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
___
Python-bugs-list mailing
Armin Ronacher added the comment:
This commit shows why the API is problematic:
https://github.com/mitsuhiko/werkzeug/commit/c527dcbfb0ee621e9faa0a3a2873118438965800
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
João Bernardo added the comment:
ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18159
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20309
___
___
Python-bugs-list
aaugustin added the comment:
Hey -- maintainer of Django's transaction support here.
This ticket was brought to my attention again today. As I know a few things
about this issue and I see Python core devs asking for input, I'll give my
$0.02.
The core of this issue is that, **by default**,
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
___
Python-bugs-list
Donald Stufft added the comment:
I agree that this change makes a lot of sense.
--
nosy: +dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
Chris Monsanto added the comment:
Unfortunately, I don't have backwards-compatible proposal to fix this. Trying
to account for a bit more syntax will help in the short term but not fix the
underlying issue.
aaugustin -- the patch by torsen made 3 years ago is backwards compatible. It
adds
Alex Lord added the comment:
Patch that fixes Issue16864. Follows Jim Minters suggestion.
Unit test will reproduce the issue without the c modifications. C modifications
fix the issue.
--
keywords: +patch
Added file: http://bugs.python.org/file34953/Issue16864_py35.patch
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +yselivanov
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
Matthias Klose added the comment:
Victor pointer out the Solaris issue is unrelated. See #13552. Closing.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21285
New submission from Dave Sawyer:
With Python 3.5, some refactoring of the documentation structure has been done.
Building the documentation targets directly works, but using the supplied
make.bat fails, not finding the sphinx python file.
--
assignee: docs@python
components:
Changes by Dave Sawyer dsaw...@box.com:
--
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21289
___
___
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +christian.heimes, gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
Changes by Ned Deily n...@acm.org:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21287
___
___
Python-bugs-list mailing list
aaugustin added the comment:
That patch solves the problem, at the cost of introducing an unwieldy API,
operation_needs_transaction_callback.
I'm very skeptical of the other API, in_transaction. Other database backends
usually provide an autocommit attribute.
autocommit is the opposite of
Changes by Dave Sawyer dsaw...@box.com:
--
keywords: +patch
Added file: http://bugs.python.org/file34954/mywork.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21289
___
Dave Sawyer added the comment:
Removed the use of python in the make, calling the sphinx-build executable.
Also the Doc directory was called Docs in the readme.txt
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21289
Antoine Pitrou added the comment:
What is the callback thing for? The only value that's ever passed in the tests
is `lambda operation: True`.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10740
Christian Heimes added the comment:
A callable wouldn't work for the OpenSSL back end of PBKDF2. The function takes
a digest pointer. I have to think about a solution...
Sorry for the brevity, I still don't have proper internet at home.
On 17. April 2014 22:20:36 MESZ, Yury Selivanov
Antoine Pitrou added the comment:
The problem is not in the import, but when displaying the traceback of the
exception. In other words, if you catch the exception, no attempt to open
stdin happens:
$ strace -e open ./python
[...]
Python 3.5.0a0 (default:3417a95df7e2, Apr 16 2014, 17:57:12)
Antoine Pitrou added the comment:
Also, by construction it will only happen if the import happens under the
interpreter prompt (hence the stdin filename).
I honestly don't think this deserves introducing some complication, only to
avoid a couple filesystem accesses.
--
Zachary Ware added the comment:
I left a review on Rietveld, which should have sent you an email.
Thanks for the report and patch! If you plan on submitting anything more than
the most trivial of patches, could you please sign the contributor
agreement[1][2]? Thanks!
[1]The form:
Ezio Melotti added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
stage: committed/rejected - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Yury Selivanov added the comment:
On 2014-04-17, 5:02 PM, Christian Heimes wrote:
Christian Heimes added the comment:
A callable wouldn't work for the OpenSSL back end of PBKDF2. The function
takes a digest pointer. I have to think about a solution...
Sorry for the brevity, I still don't
Armin Ronacher added the comment:
We can accept only hashlib functions, and continue passing their names
to the OpenSSL backend. A bit ugly and limited solution (no user-defined
hash functions) for a better looking API.
What I'm doing at the code for my employer is something similar. There
Armin Ronacher added the comment:
I should add that we still support non OpenSSL hashers, but we go a different
path.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
Ezio Melotti added the comment:
mail pong
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21282
Yury Selivanov added the comment:
Armin, FWIW, I don't think it's possible to push this API change in 3.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21288
___
Arfrever Frehtes Taifersar Arahesis added the comment:
Maybe distutils.sysconfig could become a small wrapper around sysconfig?
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21272
Armin Ronacher added the comment:
I understand that, but given that this API might be backported to 2.7 I think
it should get further review. Also, this would only be a change to the error
case. Non string arguments are currently being responded to with a TypeError.
I am not proposing to
New submission from Aaron Briel:
I see an error when attempting to import the email package on a mac running
Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) . This does
not occur on another system running Python 2.7.3 (default, Mar 25 2013,
15:56:58)
[GCC 4.4.7 20120313
Éric Araujo added the comment:
Sure. The API is slightly different, but the data should be the same, so this
can be done.
--
components: +Distutils -Library (Lib)
title: use _sysconfigdata.py in distutils.sysconfig to initialize
distutils.sysconfig - use _sysconfigdata to itinialize
Dave Sawyer added the comment:
http://bugs.python.org/issue1669539 has been partially fixed. On Windows
os.path.join('foo', 'a:bar') gives 'a:bar' not 'foo\\a:bar'. However
os.path.isabs('a:bar') returns False yet it causes a reset in the join like an
absolute path.
'\foo' is considered an
Éric Araujo added the comment:
doko’s patch is actually conservative, not changing the query functions of
distutils.sysconfig but only the _init_posix function, which just defines a
global dict. It looks quite safe to me.
--
___
Python tracker
R. David Murray added the comment:
There is no file 'email.py' in the Python standard library. You must have such
a file in your python path somewhere, so when you import email it actually
imports that file instead of the email package. You will note that 'email.py'
in the traceback does
New submission from Gregory P. Smith:
Executing the supplied test code you either get:
sys.version = 3.4.0+ (3.4:635817da596d, Apr 17 2014, 14:30:34)
[GCC 4.6.3]
Results with class 'subprocess.Popen':
r0= None, expected None
r1= None, expected None
ri0 = None,
Antoine Pitrou added the comment:
Is that under Windows?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21292
___
___
New submission from Steve:
Although not a bug, it annoys me enough that it is a bug in my head!
The problem is that trying to compile an application in debug that embeds
Python fails.
Case in point; we canned the idea of embedding Python (went with Lua) for that
reason only. We did not have
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21109
___
paul j3 added the comment:
The idea of nesting a mutually_exclusive_group in a titled argument_group is
already present in `test_argparse.py`.
class TestMutuallyExclusiveInGroup(MEMixin, TestCase):
def get_parser(self, required=None):
parser =
Roundup Robot added the comment:
New changeset 8c12d3e0f1de by Benjamin Peterson in branch '3.4':
fix ref count annotations on sphinx = 1.2.1 (closes #21286)
http://hg.python.org/cpython/rev/8c12d3e0f1de
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open
Changes by Dave Sawyer dsaw...@box.com:
--
keywords: +patch
Added file: http://bugs.python.org/file34956/joindoc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15414
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20309
___
Changes by Dave Sawyer dsaw...@box.com:
--
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15414
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10740
___
___
Python-bugs-list
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18304
___
___
Python-bugs-list
paul j3 added the comment:
oops - one more glitch (revealed by TestMutuallyExclusiveInGroup):
'add_mutually_exclusive_group' accepts a 'required' argument, but
'add_argument_group' does not. So 'add_titled_mutually_exclusive_group' needs
to be changed to temporarily remove that argument (if
R. David Murray added the comment:
OK, it is great having a test that makes this at least mostly reproducible :)
Having reloaded my brain on this thing, I'm thinking that the best solution may
be indeed to switch to ordered dicts. If we then reorder the hardcoded lists
to be in preferred
Changes by Dave Sawyer dsaw...@box.com:
Added file: http://bugs.python.org/file34957/mywork.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21289
___
Dave Sawyer added the comment:
Thanks Zach! The bug tracker was nice enough to prompt me to go look in my
email for the agreement too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21289
New submission from Larry Hastings:
I noticed this code in Objects/object.c today:
/* Hack to force loading of pycapsule.o */
PyTypeObject *_PyCapsule_hack = PyCapsule_Type;
What is this doing? Note that PyCapsule_Type is referred to inside
_Py_ReadyTypes(), so there's already a
Martin Panter added the comment:
Looking at Issue 430706 and revision 27f36f4bf525, there is concious support
for HTTP 1.1 persistent connections. Apparently the 1.0 default is just for
backwards compatibility.
--
nosy: +vadmium
___
Python tracker
Raymond Hettinger added the comment:
FWIW, I would like to have a way to ignore namespaces.
For many day-to-day problems (parsing Microsoft Excel
files saved in an XML format or parsing RSS feeds),
this would be a nice simplification.
I teach Python for a living and have found that it is
Christian Hudon added the comment:
Here is the (first?) complete version of the patch. All tests pass. Note that I
had to remove a test that was checking that the object returned from
staticmethod was not callable.
Let me know if I should add more tests, or if there are any other problems
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21257
___
___
Python-bugs-list
Gregory P. Smith added the comment:
Attaching a proposed fix for this issue. It should make the wait() and poll()
methods thread safe. I need to turn the reproducer code into an actual test
case and add more test cases for coverage of all code paths being touched.
I haven't examined the
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16285
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21202
___
___
Python-bugs-list mailing list
New submission from Vedran Čačić:
From recently, help(len) gives the wrong signature of len.
Help on built-in function len in module builtins:
len(...)
len(module, object)
Return the number of items of a sequence or mapping.
I tried to track it down, I think it
Changes by Igor Pashev pashev.i...@gmail.com:
Added file: http://bugs.python.org/file34961/dyson-socketmodule-ifindex.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21287
___
Changes by Ned Deily n...@acm.org:
--
nosy: +larry
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21294
___
___
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +ncoghlan, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21294
___
___
Georg Brandl added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21286
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset 679319e3f42b by Benjamin Peterson in branch '3.4':
correct len signature in docstring (closes #21294)
http://hg.python.org/cpython/rev/679319e3f42b
--
nosy: +python-dev
resolution: - fixed
stage: needs patch - committed/rejected
status:
Stefan Behnel added the comment:
You can already use iterparse for this.
it = ET.iterparse('somefile.xml')
for _, el in it:
el.tag = el.tag.split('}', 1)[1] # strip all namespaces
root = it.root
As I said, this would be a little friendlier with support in the QName class,
Vedran Čačić added the comment:
1. Was it really _that_ easy? I mean, there obviously was a reason for previous
change... someone wouldn't add a parameter to documentation out of thin air. As
far as I can see, it was because automatic argument inspection didn't work in
some cases...
2. If it
Larry Hastings added the comment:
It's really that easy, it was a stupid bug that is probably my fault, the fix
will be in 3.4.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21294
___
101 - 173 of 173 matches
Mail list logo