New submission from Lukasz Mielicki:
marshal.dump yields error when temporary file is given as a second argument.
import tempfile
import marshal
tmpfile = tempfile.TemporaryFile(mode='w+b')
# TypeError: marshal.dump() 2nd arg must be file
marshal.dump({}, tmpfile)
--
components:
Claudiu.Popa added the comment:
Attached new patch, which addresses Ezio's comments on Rietveld.
--
Added file: http://bugs.python.org/file32664/unittest-17457-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17457
Roundup Robot added the comment:
New changeset 4e6aa98bb11c by Christian Heimes in branch '3.3':
Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL
re-seeding
http://hg.python.org/cpython/rev/4e6aa98bb11c
--
___
Python
Roundup Robot added the comment:
New changeset 4e6aa98bb11c by Christian Heimes in branch '3.3':
Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove OpenSSL
re-seeding
http://hg.python.org/cpython/rev/4e6aa98bb11c
--
___
Python
Roundup Robot added the comment:
New changeset f9927dcc85cf by Ned Deily in branch '3.3':
Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.
http://hg.python.org/cpython/rev/f9927dcc85cf
--
___
Python tracker
Berker Peksag added the comment:
[...] but the first bug (accept tuple for classifiers) should be fixed
before or you will get an unexpected behaviour (only send 1
classifier?).
Here is a new patch that accepts tuple for classifiers.
Thanks for the review, Victor.
--
Changes by Berker Peksag berker.pek...@gmail.com:
Added file: http://bugs.python.org/file32665/issue19610.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19610
___
Avichal Dayal added the comment:
On my system Ubuntu 12.04 -64bit
./python -m test -v test_sysconfig
./python -m distutils/tests/test_sysconfig
both run fine
--
nosy: +Avichal.Dayal
___
Python tracker rep...@bugs.python.org
Gregory Salvan added the comment:
I can't reproduce this issue (on linux).
Are you sure you've necessary rights to write to tempdir ?
--
nosy: +Gregory.Salvan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19630
Lukasz Mielicki added the comment:
I'm seeing this on Windows with Python 2.7.6 (amd64). I can write to the
same file with other methods.
On 17 November 2013 18:36, Gregory Salvan rep...@bugs.python.org wrote:
Gregory Salvan added the comment:
I can't reproduce this issue (on linux).
Are
Gregory Salvan added the comment:
Sorry I don't have windows to test.
Try to set the temporary directory to a path you're sure you've rights, either
by setting tempfile.tempdir
(http://docs.python.org/2/library/tempfile.html#tempfile.tempdir) or by adding
the argument dir=C:\\user\path in
Roundup Robot added the comment:
New changeset 981d161a52be by Serhiy Storchaka in branch '3.3':
Issue #19601: Use specific asserts in sqlite3 tests.
http://hg.python.org/cpython/rev/981d161a52be
New changeset d004ccdd6a57 by Serhiy Storchaka in branch '2.7':
Issue #19601: Use specific asserts
Roundup Robot added the comment:
New changeset 9d1309e31491 by Serhiy Storchaka in branch '3.3':
Issue #19602: Use specific asserts in tkinter tests.
http://hg.python.org/cpython/rev/9d1309e31491
New changeset a3ed49cf7c70 by Serhiy Storchaka in branch 'default':
Issue #19602: Use specific
Roundup Robot added the comment:
New changeset f7d8c7a176fb by Serhiy Storchaka in branch '2.7':
Issue #19604: Use specific asserts in array tests.
http://hg.python.org/cpython/rev/f7d8c7a176fb
New changeset 3650790ca33a by Serhiy Storchaka in branch '3.3':
Issue #19604: Use specific asserts in
Tim Golden added the comment:
marshal.c does a check that the 2nd arg is a subclass of the builtin file
class. On non-Posix platforms, TemporaryFile is a wrapper class providing
context manager support for delete-on-close. This fails the subclass test.
The docs for TemporaryFile:
Roundup Robot added the comment:
New changeset d187eae08b8a by Serhiy Storchaka in branch '3.3':
Issue #19607: Use specific asserts in weakref tests.
http://hg.python.org/cpython/rev/d187eae08b8a
New changeset 8deab371850b by Serhiy Storchaka in branch 'default':
Issue #19607: Use specific
Roundup Robot added the comment:
New changeset bc67e8d39164 by Serhiy Storchaka in branch '3.3':
Issue #19605: Use specific asserts in datetime tests
http://hg.python.org/cpython/rev/bc67e8d39164
New changeset 0b7a519cb58f by Serhiy Storchaka in branch 'default':
Issue #19605: Use specific
Roundup Robot added the comment:
New changeset 9444ee6864b3 by Serhiy Storchaka in branch '3.3':
Issue #19606: Use specific asserts in http.cookiejar tests.
http://hg.python.org/cpython/rev/9444ee6864b3
New changeset c1f2b3fc965d by Serhiy Storchaka in branch 'default':
Issue #19606: Use
Claudiu.Popa added the comment:
Hello! Here's a preliminary implementation, with tests for collections ABC. It
doesn't have any docs yet, though. I chose the name verify_full_api, but I'm ok
with check_methods as well.
--
keywords: +patch
nosy: +Claudiu.Popa
versions: +Python 3.4
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19606
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19605
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19607
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19604
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19601
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19602
Serhiy Storchaka added the comment:
Try to regenerate the patch for Rietveld.
--
Added file: http://bugs.python.org/file32667/test_descr_asserts_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19603
Lukasz Mielicki added the comment:
Thank you for detailed explanation. Too bad tempfile is inherently
non-portable, but I'm fine with marshal.dumps as a w/a in this case.
I marshal to a temporary file to serialize input for Perforce command line
client which is capable of accepting marshaled
Roundup Robot added the comment:
New changeset da10196b94f4 by Richard Oudkerk in branch 'default':
Issue #19565: Prevent warnings at shutdown about pending overlapped ops.
http://hg.python.org/cpython/rev/da10196b94f4
--
nosy: +python-dev
___
Python
New submission from engelbert gruber:
the doc says::
exec_stmt ::= exec or_expr [in expression [, expression]]
imho it should read ::
exec_stmt ::= exec expression [in expression [, expression]]
| exec( expression [ , expression [ , expression ]] )
--
assignee:
Serhiy Storchaka added the comment:
I added more comments on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
___
Christian Heimes added the comment:
Go ahead! Although I'd rather follow upstream as close as possible, this one is
harmless.
--
assignee: christian.heimes - zach.ware
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
I'll work on a PEP for 3.5 that will handle this issue.
--
assignee: - christian.heimes
resolution: - later
status: open - closed
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I added more comments on Rietveld.
Did you forget to publish them?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
Christian Heimes added the comment:
Does anybody want to do a review of the patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19448
___
___
Christian Heimes added the comment:
I don't have enough time to work in this issue before 3.4 beta1.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17405
Changes by Christian Heimes li...@cheimes.de:
--
nosy: -christian.heimes
priority: normal - low
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19438
___
Christian Heimes added the comment:
The feature is not yet production-ready but part of the feature is already in
3.4. It depends on #19448 and #16487, too. What shall I do about it?
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
If it's for #17134, couldn't it remain a private API?
I'm rather uncomfortable about exposing such things unless we make the ssl
module a full-fledged toolbox to handle X509 certificates (and perhaps think a
bit more about the APIs). Are there any common use
Serhiy Storchaka added the comment:
Grr.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Christian Heimes li...@cheimes.de:
--
nosy: -christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19377
___
___
Christian Heimes added the comment:
ping
--
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19420
___
___
Python-bugs-list
Christian Heimes added the comment:
I suggest that we add a red warning box at the top of the SSL module, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19508
___
Christian Heimes added the comment:
LGTM
I'll submit the patch later.
--
assignee: - christian.heimes
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19343
Christian Heimes added the comment:
Python 3.2 hasn't been fixed yet.
Should acquire a CVE for the issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17997
___
Christian Heimes added the comment:
3.4 beta1 will be released next weekend. I'll try to submit a patch in the next
couple of days.
--
assignee: - christian.heimes
stage: - patch review
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
ping :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17006
___
___
Python-bugs-list mailing list
Christian Heimes added the comment:
I'll remove the offending lines later.
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17791
___
Antoine Pitrou added the comment:
Something like the following?
--
keywords: +patch
Added file: http://bugs.python.org/file32668/sslsec.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19508
Christian Heimes added the comment:
Raymond: Good idea!
to all: Do we need more discussion about the ABC, e.g. on the pycrypto mailing
list?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18742
Christian Heimes added the comment:
I'll commit the patch later.
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17276
___
Christian Heimes added the comment:
The feature won't be ready for 3.4. I'll work on a PEP for 3.5
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18369
Changes by Christian Heimes li...@cheimes.de:
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18775
___
___
Changes by Christian Heimes li...@cheimes.de:
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18550
___
___
Christian Heimes added the comment:
The patch hasn't been committed to 3.2 yet.
--
assignee: - georg.brandl
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18709
___
Changes by Christian Heimes li...@cheimes.de:
--
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16296
___
___
Christian Heimes added the comment:
The patch has been languishing for some time. Commit or close?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18528
___
Christian Heimes added the comment:
Yes, you are right. OpenSSL uses the same API to load certs and CRLs. CRL
checks must be enabled, though.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8813
Antoine Pitrou added the comment:
Some comments:
- AbstractCryptoHashFunction should be called CryptoHashBase or something (but
does it warrant being public? I don't think so)
- having Function in a class name is a bit confusing to me. Why not simply
CryptoHash?
- you don't need to add a
Antoine Pitrou added the comment:
If none of use really understands the problem Coverity is trying to warn us
about, I'd say let languish or close.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18528
Christian Heimes added the comment:
I think it would be better to provide a dedicated implementation of bcrypt.
Most operating systems do not provide bcrypt (Linux, Windows).
--
status: open - pending
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
The patch won't be ready for 3.4 beta1 next weekend. Deferring to 3.5
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15464
Christian Heimes added the comment:
Donald, could you please provide a doc update that explains the problem?
--
assignee: - docs@python
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18617
Antoine Pitrou added the comment:
I'm afraid downloading certs on the fly would open a whole new can of worms, so
I'd rather have it documented indeed :)
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18617
Georg Brandl added the comment:
Sounds good.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19508
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
In updated patch fixed warning/errors when ran with -b or -bb options.
--
Added file: http://bugs.python.org/file32669/glob_recursive_4.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset f86fdaf529ea by Antoine Pitrou in branch '3.3':
Issue #19508: direct the user to read the security considerations for the ssl
module
http://hg.python.org/cpython/rev/f86fdaf529ea
New changeset 18d95780100e by Antoine Pitrou in branch 'default':
Serhiy Storchaka added the comment:
Could anyone please review the patch before feature freeze?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8402
___
New submission from Antoine Pitrou:
This is on 2.7:
reading sources... [100%] whatsnew/index
/home/antoine/cpython/27/Doc/library/functions.rst:1186: WARNING: duplicate
object
Christian Heimes added the comment:
I may address the issue in my PEP for Python 3.5. Python 3.4 beta 1 will be
released next week and no new features are allowed in beta and RC phase.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker
Roundup Robot added the comment:
New changeset a197b3c3b2c9 by Antoine Pitrou in branch '2.7':
Issue #19508: warn that ssl doesn't validate certificates by default
http://hg.python.org/cpython/rev/a197b3c3b2c9
--
___
Python tracker
Christian Heimes added the comment:
Do you want to work on a patch for 3.4? You have about five days until 3.4 is
going into feature freeze.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18391
Christian Heimes added the comment:
I no longer see the crashs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16632
___
___
Python-bugs-list
Antoine Pitrou added the comment:
I've added a different warning to 2.7, as the ssl docs there don't have the
security considerations section.
--
resolution: - fixed
stage: needs patch - committed/rejected
versions: -Python 2.7, Python 3.2
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1763
___
___
Christian Heimes added the comment:
@Alex: ping
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19336
___
___
Python-bugs-list mailing list
Christian Heimes added the comment:
I'd rather return a list or tuple of X509 objects but #18369 won't be ready for
3.4. Ideas?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18233
___
Christian Heimes added the comment:
Are you satisfied with my patch? I'd like to commit it before beta 1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18379
___
Antoine Pitrou added the comment:
@Dustin
My two-cents is to leave it a tuple (why not?).
Because tuples are more used for struct-like data. Here we are returning an
unknown number of homogenous objects, which generally calls for a list.
@Christian
I'd rather return a list or tuple of
Christian Heimes added the comment:
It's just nice to have for debugging and extended verification.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18233
fhahn added the comment:
I've updated the patch to apply to the current tip.
But this patch breaks *-unpacking, I'll try to take a closer look during the
next week.
--
nosy: +fhahn
Added file: http://bugs.python.org/file32670/starunpack2.diff
___
Changes by Christian Heimes li...@cheimes.de:
--
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1684
___
___
Changes by Christian Heimes li...@cheimes.de:
--
nosy: -christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue979658
___
___
Changes by Christian Heimes li...@cheimes.de:
--
assignee: tarek -
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1299
___
Christian Heimes added the comment:
Closing as duplicate
--
stage: patch review - committed/rejected
status: open - closed
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1744456
Changes by Christian Heimes li...@cheimes.de:
--
nosy: -christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2213
___
___
Changes by Christian Heimes li...@cheimes.de:
--
status: open - languishing
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1625576
___
Changes by Tim Golden m...@timgolden.me.uk:
--
resolution: - wont fix
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19630
___
irdb added the comment:
Well, if there is no other way around this, I think it's better to apply
Martin's patch. At least then we will be able to enter any valid utf-8
character in IDLE (although print statement won't print correctly unless the
string is decoded first).
(As a Windows user,
Serhiy Storchaka added the comment:
Here is a patch with a hack which corrects a line number in displayed
traceback. It doesn't solve a problem totally, but perhaps it is a good enough
approximation.
--
Added file: http://bugs.python.org/file32671/idle_compile_coding_3.patch
Changes by Michele OrrĂ¹ maker...@gmail.com:
--
nosy: -maker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8402
___
___
Python-bugs-list mailing
Christian Heimes added the comment:
OK, I'm rejecting it.
--
resolution: - rejected
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18528
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15809
___
___
Serhiy Storchaka added the comment:
The pathlib module is not in the stdlib yet, while a patch for splitpath()
waits for review almost a year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11344
Christian Heimes added the comment:
* Cryptographic Hash Function is the correct technical term for algorithms
like SHA-1. http://en.wikipedia.org/wiki/Cryptographic_hash_function
* PEP 452 is going to suggest that 3rd party libraries register their hash
function as subclasses of the ABC.
*
Antoine Pitrou added the comment:
* Cryptographic Hash Function is the correct technical term for
algorithms like SHA-1.
Sure, but in a programming context, it's confusing when the function
is implemented by a class with additional properties and methods.
Why not simply CryptoHash? It sounds
Christian Heimes added the comment:
OK, let's keep it as private API for now and maybe make it public in 3.5. I'm
going to rename ASN1Object to _ASN1Object, remove the docs and adjust the
tests. Agreed?
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
OK, let's keep it as private API for now and maybe make it public in
3.5. I'm going to rename ASN1Object to _ASN1Object, remove the docs
and adjust the tests. Agreed?
Yup.
--
___
Python tracker
Changes by Christian Heimes li...@cheimes.de:
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19448
___
___
Christian Heimes added the comment:
It seems the name of the ABC needs more discussion. I'll address it in PEP 452
for Python 3.5.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18742
Roundup Robot added the comment:
New changeset 7aabbe919f55 by Richard Oudkerk in branch '2.7':
Issue 16998: Clarify that += on a shared value is not atomic.
http://hg.python.org/cpython/rev/7aabbe919f55
New changeset 11cafbe6519f by Richard Oudkerk in branch '3.3':
Issue 16998: Clarify that +=
1 - 100 of 155 matches
Mail list logo