Vajrasky Kok added the comment:
Is there any possibility this ticket could be committed in Python 3.4? If yes,
it would be good because we would have a good foundation for creating better
error message in Python 3.5.
Anyway, I check Python's competitors' behaviour.
Ruby displays both files.
Marc-Andre Lemburg added the comment:
Closing, since there's nothing much we can do about the problem.
--
resolution: - invalid
status: open - closed
versions: +3rd party -Python 2.7
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
bundlebuild.py is a deprecated legacy tool that has been superseded by the
third-party py2app. AFAIK, its only use in Python 3 is to build
PythonLauncher.app; it is not included in a Python installation. Rather than
refactor it, its use should be eliminated in
Ronald Oussoren added the comment:
I'm working on an update for your patch that addresses these comments:
* I don't like supporting 128 bit integers because Apple's public APIs
don't support those values. That is, the value 'kCFNumberSInt128Type'
is not in a public header for the OSX 10.9
New submission from STINNER Victor:
Example:
$ ./python -c import _csv; _csv.Dialect(escapechar=b'x')
python: Python/ceval.c:4262: call_function: Assertion `(x != ((void *)0)
!PyErr_Occurred()) || (x == ((void *)0) PyErr_Occurred())' failed.
Abandon (core dumped)
Attached patch should fix
Ronald Oussoren added the comment:
The attached patch should fix the open issues:
* Negative integers are supported (based on Serhiy's patch), but without
support for 128-bit integer (as per my previous comment)
* Test updates for this
* Updated version tags in the documentation
*
Serhiy Storchaka added the comment:
* I don't like supporting 128 bit integers because Apple's public APIs
don't support those values. That is, the value 'kCFNumberSInt128Type'
is not in a public header for the OSX 10.9 SDK.
At least we should support integers from -2**63 to 2**64-1
Kristján Valur Jónsson added the comment:
Here it is.
Notice the incredible nesting depth in python 2.7.
The socket itself is found at
response.fp._sock.fp._sock
There are two socket._fileobjects in use!
--
Added file: http://bugs.python.org/file33205/httpleak.py
Vajrasky Kok added the comment:
Bear in the mind, the bug is only reproducible with debug flag (--with-pydebug).
Victor, we have a more complete solution for this problem in #18829.
--
nosy: +vajrasky
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
This is a duplicate of issue18829.
--
resolution: - duplicate
superseder: - csv produces confusing error message when passed a non-string
delimiter
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18829
___
___
Nick Coghlan added the comment:
Please don't emit a deprecation warning for loaders that only implement
load_module - there are still things load_module can do that create/exec can't,
and it's still possible it will remain the long term API for those use cases.
Plus builtins and extensions
Ronald Oussoren added the comment:
Attached a script (using PyObjC) that demonstrates the behavior of Apple's
Foundation framework with large integers. The same behavior should occur when
the script is rewritten in Objective-C.
--
Added file:
Ronald Oussoren added the comment:
Updated patch.
--
Added file: http://bugs.python.org/file33207/negative_int_support-2.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14455
___
Changes by STINNER Victor victor.stin...@gmail.com:
Added file: http://bugs.python.org/file33209/parsermodule.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20024
___
New submission from STINNER Victor:
In Python 3.4, an assertion now checks that no exception is set when arbitrary
Python code is called. Python code may suppress the exception.
When Py_BuildValue() is used to build a tuple and an error when the creation of
an item failed, the function may
STINNER Victor added the comment:
parsermodule.patch: fix usage of Py_BuildValue() in the parser module.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20024
___
New submission from STINNER Victor:
ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() should raise a ValueError, not a
SystemError, if num is negative.
Attached patch fixes that.
--
files: ssl_rand.patch
keywords: patch
messages: 206604
nosy: christian.heimes, haypo, serhiy.storchaka
Christian Heimes added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20025
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset 16bfddf5a091 by Vinay Sajip in branch '2.7':
Issue #19902: Added list of logging levels.
http://hg.python.org/cpython/rev/16bfddf5a091
New changeset e812094d42f9 by Vinay Sajip in branch '3.3':
Issue #19902: Added list of logging levels.
Roundup Robot added the comment:
New changeset 460961e80e31 by Nick Coghlan in branch 'default':
Issue #19946: appropriately skip new multiprocessing tests
http://hg.python.org/cpython/rev/460961e80e31
--
___
Python tracker rep...@bugs.python.org
Thomas Heller added the comment:
I have written a new modulefinder based on importlib. It is not a refactoring
of the old one, so it is no plug-in replacement. Instead it has some new
features:
- Better logging output
- collects dependencies (self._depgraph maps module names to callers)
-
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
keywords: +needs review, patch
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20022
___
Ronald Oussoren added the comment:
Removing bundle builder should be easy enough if it is only used to create the
PythonLauncher application bundle: that bundle does not contain python code at
all and constructing it is just a matter of copying files to the right location.
The attached patch
New submission from STINNER Victor:
The C function pysqlite_connection_init() doesn't check if
pysqlite_connection_set_isolation_level() failed or not.
Attached patch fixes that.
--
files: sqlite.patch
keywords: patch
messages: 206610
nosy: haypo
priority: normal
severity: normal
STINNER Victor added the comment:
$ python
Python 3.4.0b1 (default:298d98486794+, Dec 19 2013, 13:45:07)
[GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux
Type help, copyright, credits or license for more information.
import sqlite3
con=sqlite3.connect(:memory:, isolation_level=3)
python:
Christian Heimes added the comment:
Unless somebody says otherwise I'm going to remove VMS-related code over the
course of the next couple of days.
PEP 11 says:
Name: VMS (issue 16136)
Unsupported in: Python 3.3
Code removed in: Python 3.4
--
___
Roundup Robot added the comment:
New changeset 5ed75e36be8e by Serhiy Storchaka in branch '2.7':
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
http://hg.python.org/cpython/rev/5ed75e36be8e
New changeset 52d03fbdf67a by Serhiy Storchaka in branch '3.3':
Issue #18829:
Serhiy Storchaka added the comment:
Thank you Vajrasky for your patch. I have simplified and fixed (escapechar can
be empty) it. Reverted ValueError back to TypeError because ord() raises
TypeError for non-1-character strings.
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18829
Serhiy Storchaka added the comment:
I can't test on OSX, but I see that Apple's code can write any 128-bit integers
and read signed and unsigned 64-bit integers.
Can Apple's utilities read this file? What is a result?
--
Added file:
gudge added the comment:
1) Can I get a list of failures. The summary of test results which I compare on
my machine.
2)
-
import ssl
ssl.cert_time_to_seconds(May 9 00:00:00 2007 GMT)
gudge added the comment:
Sorry I think I did not read msg205774 (1st comment) correctly.
It clearly says:
cert_time_to_seconds() uses `time.mktime()` [1] to convert utc time tuple to
seconds since epoch. `mktime()` works with local time. It should use
`calendar.timegm()` analog instead.
So
Wes added the comment:
I'll submit this to Continuum Analytics so they know it's their issue.
On Thu, Dec 19, 2013 at 3:06 AM, Marc-Andre Lemburg
rep...@bugs.python.orgwrote:
Marc-Andre Lemburg added the comment:
Closing, since there's nothing much we can do about the problem.
--
Ronald Oussoren added the comment:
Conversion to XML results in:
$ plutil -convert xml1 -o - 18446744073709551615.plist
?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN
http://www.apple.com/DTDs/PropertyList-1.0.dtd;
plist version=1.0
dict
keya/key
Antoine Pitrou added the comment:
So the function cert_time_to_seconds() has to be fixed?
Yes!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19940
___
Serhiy Storchaka added the comment:
LGTM.
--
assignee: - haypo
components: +Library (Lib)
nosy: +serhiy.storchaka
stage: - commit review
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20026
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - haypo
stage: - commit review
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20025
___
Roundup Robot added the comment:
New changeset 11a161cf0e5d by Victor Stinner in branch '3.3':
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
http://hg.python.org/cpython/rev/11a161cf0e5d
New changeset f9b6c8ef55b6 by Victor Stinner in branch 'default':
(Merge
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - pending
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20026
___
Roundup Robot added the comment:
New changeset 572e4b054899 by Victor Stinner in branch '2.7':
Issue #20026: Fix the sqlite module to handle correctly invalid isolation level
http://hg.python.org/cpython/rev/572e4b054899
--
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20023
___
___
Roundup Robot added the comment:
New changeset 68ec8949dbf1 by Victor Stinner in branch '3.3':
Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
http://hg.python.org/cpython/rev/68ec8949dbf1
New changeset c1d2c90ece99 by Victor Stinner in branch 'default':
(Merge 3.3) Issue
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20025
___
STINNER Victor added the comment:
Updated patch to address Guido's comments.
--
Added file: http://bugs.python.org/file33214/asyncio_log_traceback-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19967
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20024
___
___
STINNER Victor added the comment:
init_error.patch: modify Py_Initialize() to exit with exit(1) instead of
abort(), to not call the sytem fault handler (ex: dump a coredump on Linux, or
open a popup on Windows).
The patch calls also initsigs() before initfsencoding(), because
Changes by STINNER Victor victor.stin...@gmail.com:
--
dependencies: +Add unittests for imghdr module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19997
___
Guido van Rossum added the comment:
So the new patch is fine, but I still think it's confusing that the _tb_logger
variable has a different type depending on the Python version. If you really
don't want to fix this, just go ahead and check in, it's not a blocker.
--
Changes by Zachary Ware zachary.w...@gmail.com:
Added file: http://bugs.python.org/file33216/skip_tests_ctypes.v3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19493
___
Zachary Ware added the comment:
Here's a new patch addressing your review comment, Serhiy. It also addresses
some failures on Windows in test_values: Win_ValuesTestCase depends on 'pydll'
being defined in the module toplevel and shadowing ctypes.pydll; this
definition was removed some years
gudge added the comment:
Patch is uploaded.
I will also copy paste it.
I have created the patch with git. Let me know if it is okay with you.
If it is unacceptable I will try and create one for mercury
Patch:
--
diff --combined
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18576
___
___
Python-bugs-list
Eric Snow added the comment:
find_loader() is now deprecated and we're going to support auto-importing
parent modules in find_spec() (see #19944)
--
nosy: +eric.snow
resolution: - duplicate
stage: test needed - committed/rejected
status: open - closed
superseder: - Make
Eric Snow added the comment:
I've closed #16492 in favor of this ticket.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19944
___
___
Zachary Ware added the comment:
The patch looks good to me, but I can't claim to know enough about pickle to
say whether the tests are correct. Alexandre or Antoine?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19648
Roundup Robot added the comment:
New changeset 3d805bee06e2 by Serhiy Storchaka in branch '2.7':
Issue #5815: Fixed support for locales with modifiers. Fixed support for
http://hg.python.org/cpython/rev/3d805bee06e2
New changeset 28883e89f335 by Serhiy Storchaka in branch '3.3':
Issue #5815:
Serhiy Storchaka added the comment:
Committed without devanagari special case and tests.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5815
___
Antoine Pitrou added the comment:
Answering to your questions:
I have created the patch with git. Let me know if it is okay with you.
Yes, it's ok.
Also, please don't copy / paste it. Uploading is enough.
Doc changes won't effect the code. The tests would not fail.
How would I check if
New submission from Serhiy Storchaka:
The locales alias table contains invalid entries for devanagari modifiers (see
issue5815):
'ks_in@devanagari': 'ks...@devanagari.utf-8',
'sd': 'sd...@devanagari.utf-8',
Here is a patch which
Changes by Marc Schlaich marc.schla...@googlemail.com:
--
nosy: -schlamar
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue777588
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file33219/locale_devanagari.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20027
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file33218/locale_aliases.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20027
___
Serhiy Storchaka added the comment:
For devanagari modifier opened new issue20027.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5815
Roundup Robot added the comment:
New changeset 2737c0e7ba71 by Zachary Ware in branch '2.7':
Issue #19683: Removed empty tests from test_minidom.
http://hg.python.org/cpython/rev/2737c0e7ba71
New changeset 5e510117b71a by Zachary Ware in branch '3.3':
Issue #19683: Removed empty tests from
Zachary Ware added the comment:
Thanks for the removal patch, Ajitesh!
Julian, are you still working on implementing the tests on default?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19683
STINNER Victor added the comment:
So the new patch is fine, but I still think it's confusing that the _tb_logger
variable has a different type depending on the Python version.
To be honest, I'm also concerned by this strange variable :-) Here is a new fix
which reuses the name used in the
Julian Gindi added the comment:
I have not started yet, wasn't completely sure of the status of this. I'll get
going filling in those tests to the best of my ability.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19683
Zachary Ware added the comment:
Alright, sounds good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19683
___
___
Python-bugs-list mailing list
Changes by Zachary Ware zachary.w...@gmail.com:
--
versions: +Python 3.4 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19683
___
___
STINNER Victor added the comment:
asyncio_log_traceback-5.patch: new try :-)
--
Added file: http://bugs.python.org/file33221/asyncio_log_traceback-5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19967
Serhiy Storchaka added the comment:
I can't say anything about pydll, other changes LGTM. Except that I'm not sure
that test_wintypes needs a fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19493
STINNER Victor added the comment:
Buildbot failure:
http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.3/builds/1314/steps/test/logs/stdio
==
ERROR: test_locale_alias (test.test_locale.NormalizeTest)
Roundup Robot added the comment:
New changeset e0675408f4af by Serhiy Storchaka in branch '2.7':
Don't use sebTest() in tests for issue #5815.
http://hg.python.org/cpython/rev/e0675408f4af
New changeset ed16f6695638 by Serhiy Storchaka in branch '3.3':
Don't use sebTest() in tests for issue
Serhiy Storchaka added the comment:
Oh, thanks Victor.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5815
___
Guido van Rossum added the comment:
Looks good. I can fix that long line myself. :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19967
___
Zachary Ware added the comment:
I'd prefer to keep the change to test_wintypes, simply because I was rather
surprised to find an extra test being run on Windows.
As for the pydll/pythonapi issue, any thoughts from Amaury, Meador, or
Alexander? The relevant change that removed the definition
Christian Heimes added the comment:
The OpenIndiana tests are still failing. OpenIndiana doesn't support forkserver
because it doesn't implement the send handle feature. The patch skips the
forkserver tests if HAVE_SEND_HANDLE is false.
--
Added file:
Zachary Ware added the comment:
Any objections to proceeding with this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17202
___
___
Roundup Robot added the comment:
New changeset 5e9728ebb1d3 by Victor Stinner in branch 'default':
Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor in
http://hg.python.org/cpython/rev/5e9728ebb1d3
--
nosy: +python-dev
resolution: - fixed
stage: -
Nick Coghlan added the comment:
I think that needs to be fixed on the multiprocessing side rather than just
in the tests - we shouldn't create a concrete context for a start method
that isn't going to work on that platform. Finding that kind of discrepancy
was part of my rationale for basing the
Eric Snow added the comment:
I'm glad you spoke up, Nick. Holding off on the DeprecationWarnings is fine
with me. It's not like we are going to drop support for the APIs before Python
4! That said, DeprecationWarnings are disabled by default. So how big a deal
do you think it is to leave
Richard Oudkerk added the comment:
On 19/12/2013 10:00 pm, Nick Coghlan wrote:
I think that needs to be fixed on the multiprocessing side rather than just
in the tests - we shouldn't create a concrete context for a start method
that isn't going to work on that platform. Finding that kind of
Antoine Pitrou added the comment:
I think this patch is bad and should be reverted. It always calls
traceback.format_exception() which is an expensive operation, while the
_TracebackLogger takes care to call it only when necessary.
--
assignee: - haypo
status: closed - open
Guido van Rossum added the comment:
Eew. You're right. Sorry I didn't see this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19967
___
___
Nick Coghlan added the comment:
Test suites enable deprecation warnings by default, and many projects
have a no warnings allowed rule. By adding programmatic deprecation
warnings for the old APIs where there's no other way to it in a 3.3
compatible way, we make things more difficult for people
Nick Coghlan added the comment:
Ah, I should have looked more closely at the docs to see if there was a public
API for that before poking around in the package internals.
In that case, I suggest we change this bit in the test:
# We look inside the context module to find out which
#
Eric Snow added the comment:
Sounds good. Thanks for the explanation. It sounds like you're effectively
concerned just with finder.find_module() and loader.load_module() (which is
fine with me). Everything else (including some of the ABCs) is 3.3-only. For
the sake of simplicity I could
Alan Justino added the comment:
Seems to affect 2.7 too.
--
nosy: +alanjds
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
Martin Panter added the comment:
How is it safer to manually set “h.sock._closed”? Playing with the internals of
HTTPConnection is one thing, but playing with the internals of the socket
object as well does not seem necessary.
Also the ResourceWarning is warning that the socket and connection
New submission from Vajrasky Kok:
Python 3.4.0b1 (default:13a505260f17, Dec 20 2013, 12:02:44)
[GCC 4.7.2] on linux
import _csv
import csv
_csv.Dialect(quotechar=b'+')
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: quotechar must be string, not bytes
Hey,
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19977
___
___
Python-bugs-list
Zachary Ware added the comment:
It's only taken me 6 months, but I'm looking at this issue again :)
Ed, basically the only reason I used setUpModule was because it was a very
direct translation from test_main to setUpModule--only the name and signature
changed, the skip and initialization
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo, ncoghlan
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20009
___
New submission from akira:
`SubprocessProtocol` is documented to be accessible as
`asyncio.SubprocessProtocol` [1] but it is not included in
`asyncio.protocols.__all__` [2] that leads to `AttributeError`:
python3.4 -c import asyncio; asyncio.SubprocessProtocol
Traceback (most recent
akira added the comment:
gudge, have you seen http://bugs.python.org/msg205860 (the locale issue)?
If you can't fix it; say so, I'll open another issue after this issue is fixed.
--
___
Python tracker rep...@bugs.python.org
Vajrasky Kok added the comment:
Here is the preliminary patch for Python 3.3 and 3.4.
--
keywords: +patch
Added file:
http://bugs.python.org/file33224/fix_handling_invalid_quotechar.patch
___
Python tracker rep...@bugs.python.org
Vajrasky Kok added the comment:
Here is the preliminary patch for Python 2.7.
--
Added file:
http://bugs.python.org/file33225/fix_handling_invalid_quotechar_python27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20028
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file:
http://bugs.python.org/file33225/fix_handling_invalid_quotechar_python27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20028
Changes by Vajrasky Kok sky@speaklikeaking.com:
Added file:
http://bugs.python.org/file33226/fix_handling_invalid_quotechar.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20028
___
1 - 100 of 102 matches
Mail list logo