Mark Dickinson added the comment:
Given the responses so far, I suggest closing this as rejected.
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9685
___
Benno Leslie added the comment:
In a similar manner the bininstall target relies on $(LIBPC), but does not
create that.
This makes me consider if the libainstall target should be installing
pkg-config sciprt at all (and whether bininstall should be installing the .pc
files).
It is hard for
Christian Heimes added the comment:
I'm not too worried about the slightly increased memory usage. For example one
of our largest application instances consumes about 8 GB memory right now. It
has just about 22k tuples in gc.get_objects(). An additional Py_hash_t in
tuple's struct would
Ned Deily added the comment:
You need to be careful when using a Python with --enable-shared to ensure that
the correct dynamic libraries are being used at execution time. Normally,
after a make, you use make install to install the Python executable and the
shared library into the configured
Charles-François Natali added the comment:
Also notice the need for a third constant, SELECT_CONNECT. For details see
the class WindowsPollPollster in the Tulip code.
I'll trust Richard on all Windows matter, so if you need a
SELECT_CONNECT constant, I'll expose one.
However, two Tulip
Ned Deily added the comment:
Thanks for your suggestion. However, the issue you've created is too wide in
scope to be actionable. As you note, just because the string /usr/local
appears in a file within the Python source distribution does not indicate a
problem. Many of the cites are in
Georg Brandl added the comment:
Still, actual benefits in some kind of benchmark will be needed to show that
this is not a premature optimization.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9685
Charles-François Natali added the comment:
The second test runs fine on Linux, and from a cursory look, I don't
see how it could fail (the socket should be reported as write ready
upon ECONNREFUSED).
Hum, thinking about it, I wonder is OS-X doesn't report POLLPRI or
some other esoteric event
Serhiy Storchaka added the comment:
Here are patches for all four Python versions. They fixes possible usage of the
followed non-initialized global variables: free_list, numfree, interned,
unicode_empty, static_strings, unicode_latin1, bloom_linebreak,
unicode_default_encoding.
--
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: commit review - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10156
___
New submission from Chris Jerdonek:
Starting in 3.2, the logging module no longer outputs the following message
when logging and no handlers are configured for the root logger:
log = logging.getLogger()
log.error('test')
'No handlers could be found for logger root'
However, I can't
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Atomic open + close-and-exec - Add x mode to open(): close-and-exec
(O_CLOEXEC) / O_NOINHERIT
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16850
STINNER Victor added the comment:
Oh, my patch doesn't check fcntl() error code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16850
___
___
Isaac (.ike) Levy added the comment:
Ned, absolutely correct, thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16883
___
___
Nick Coghlan added the comment:
To clarify the vague allusion in my last comment, Ron's suggestion was along
the lines of creating a dis.Bytecode object that encapsulated everything the
dis module can figure out about a piece of compiled code.
That would mean exposing the kind of info
Isaac (.ike) Levy added the comment:
Hi Ned,
Thanks. Your logic is rational here, I'll close it, and open another if I can
carve out time to attack this with an appropriate patch for setup.py - to
attempt resolution of the 3rd party library build issues.
However, off the top of your head if
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com:
--
resolution: wont fix - duplicate
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16882
___
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16882
___
___
Todd Rovito added the comment:
Ok I changed the time to one month...now the patch reads:
To begin with, please be patient! There are many more people submitting
patches than there are people capable of reviewing your patch. Getting your
patch reviewed requires a reviewer to have the spare time
Changes by Todd Rovito rovit...@gmail.com:
Removed file:
http://bugs.python.org/file28573/16868PythonDeveloperGuidePingIssueBeforeEmailingPython-dev.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16868
Changes by Todd Rovito rovit...@gmail.com:
Removed file:
http://bugs.python.org/file28603/16868PythonDeveloperGuidePingIssueBeforeEmailingPython-devV2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16868
Brett Cannon added the comment:
Wording LGTM
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16868
___
___
Vinay Sajip added the comment:
Although there is no versionadded directive, the HOWTO documentation does state
that the behaviour relates to Python 3.2 and later, and how to obtain the
earlier behaviour.
I will add documentation (including a versionadded) to the reference docs and
also
Changes by Isaac (.ike) Levy ike.l...@axialmarket.com:
--
nosy: +ikeaxial
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5575
___
___
Roundup Robot added the comment:
New changeset 95a4ff8c540b by Vinay Sajip in branch '3.2':
Issue #16884: updated logging documentation to include lastResort and use
'note' directives where appropriate.
http://hg.python.org/cpython/rev/95a4ff8c540b
New changeset 3b5c4190e256 by Vinay Sajip in
Zachary Ware added the comment:
I wonder, is there any really good reason to keep a separate
Lib/idlelib/help.txt, or can Doc/library/idle.rst be used for its purpose (with
or without a small amount of processing to, for instance, remove comments and
extra backslashes)? Both have most of the
New submission from Jamie Spence:
After dumping a database with iterdump, trying to execute the dumped SQL
sometimes results in an error because the statement order may be wrong. In my
case, it is a view that is being created before the view it is referencing.
Would ordering the sqlite_master
Serhiy Storchaka added the comment:
In general, the patch LGTM, however I can't try it on Windows, and on Linux it
has no any performance effect. Can anyone try it on Windows?
I have re-uploaded the patch for review after converting it from UTF-16 and
CRLF.
--
Added file:
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Add x mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT - Add
e mode to open(): close-and-exec (O_CLOEXEC) / O_NOINHERIT
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13173
___
___
STINNER Victor added the comment:
Hum, _get_osfhandle() was not mentionned in this issue. This function may be
used to retrieve the internel file handle from a file descriptor.
http://msdn.microsoft.com/en-us/library/ks2530z6%28v=vs.100%29.aspx
There is also the opposite: _open_osfhandle().
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13790
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15335
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9522
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15438
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15695
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15972
___
___
Antoine Pitrou added the comment:
It may be fixing a bug, but the bug is not obvious and the fix is not
backward compatible. I therefore suggest to roll back the commits to
3.2 and 2.7.
Well, the bug is quite obvious to me :-) (just hit it here)
The fix for those who want the old behaviour
Antoine Pitrou added the comment:
For the record, urlparse still doesn't handle bare tel URIs such as
tel:1234:
parse.urlparse(tel:1234)
ParseResult(scheme='', netloc='', path='tel:1234', params='', query='',
fragment='')
This is not terribly important since these URLs are not RFC
New submission from Frank Wierzbicki:
test_dictcomp hard codes the dict output of various tests of Dict
Comprehensions. Since Jython has a different dict ordering we are currently
altering this test. When we get to 3.x it will be nicer if we can use this test
as is. Also I've seen some
Chris Jerdonek added the comment:
Thanks a lot, Vinay. By the way, I noticed that the PLEASE NOTE reformatting
can also be applied to 2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16884
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15442
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15988
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2263
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16273
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5803
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15027
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - duplicate
stage: patch review - committed/rejected
status: open - closed
superseder: - UTF-16 incremental decoder doesn't support partial surrogate
pair
___
Python tracker
Changes by Charles-François Natali neolo...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16836
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11461
___
___
Matthew Barnett added the comment:
I've attached a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28614/issue13899.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13899
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16096
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14377
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16335
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: docs@python - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16404
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15845
___
___
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13153
___
___
Python-bugs-list mailing list
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28616/selector-8.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28615/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28606/selector_poll_events.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28602/selector-6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28617/selector-8.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28618/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9685
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28618/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28584/selector-5.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28619/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28564/selector-3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28575/selector-data.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Serhiy Storchaka added the comment:
This will raise an error if curdir is a non-ascii str, so, unless the same
error was already raised later in the code, this is backward incompatible.
On all supported platforms curdir is a ascii str (':' on Mac Classic, '.' on
all other). The same idiom
Todd Rovito added the comment:
Zachary,
I like your idea about joining idle.rst with help.txt but I think that
should be covered under a separate bug issue. The way I see it this bug is
about fixing the current documentation. So I suggest you open up a new issue
and get people's take on
Zachary Ware added the comment:
Right you are, Todd; I'll get another issue opened for that soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5066
___
Roundup Robot added the comment:
New changeset 17038de56fd4 by Christian Heimes in branch 'default':
Add a comment about *not* caching the hash value. Issue #9685 suggested to
memorize the hash value, but the feature request was rejected because no speed
ups were found.
New submission from Roger Serwy:
Krystian Rosiński notified me about an error with Tabify/Untabify. Clicking
cancel still performs the operation because the _asktabwidth function in
Lib/idlelib/EditorWindow.py always returns a number, regardless of cancel being
clicked.
This bug is visibly
Roundup Robot added the comment:
New changeset 1b68dc917321 by Serhiy Storchaka in branch '3.3':
Issue #15972: Fix error messages when os functions expecting a file name or
http://hg.python.org/cpython/rev/1b68dc917321
New changeset 71fb426ee972 by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
Fixed. Thank you for report, John.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15972
Matt Hickford added the comment:
Please could you share a link to a previous discussion about packaging?
I'm interested in user experience 'Python should ship with first class
package management like other languages' rather than technical details
'Python should ship with distutils rather than
Zachary Ware added the comment:
I've come up with a semi-comprehensive list of the tests that cause ugly
failures with test discovery. Tests were run on 3.4 debug, on Windows 7 32bit
without several of the 'external' projects built, using the command
``PCbuild\python_d.exe -m unittest
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28621/selector-8.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Added file: http://bugs.python.org/file28622/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28617/selector-8.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file28619/tulip-selectors-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16853
___
R. David Murray added the comment:
I'm afraid the discussions are many and lengthly and on several lists
(python-dev, distutils-sig, probably also python-list and python-ideas), and
that you will rarely find a discussion of whether without an accompanying
discussion of what. I'm sorry I
R. David Murray added the comment:
Great list, thanks.
The ones that fail to be run/skipped when run under discovery can probably be
fixed by moving them to the more modern unittest 'skip' functions instead of
depending on being run under regrtest and using the test.support resource
Chris Jerdonek added the comment:
Attached is a doc patch. I also improved some other aspects of the *default*
section while I was there.
We should probably make sure a test exists for the newly-documented behavior
(i.e. for passing no arguments for a positional argument with nargs='*' and
Charles-François Natali added the comment:
Nick, I think this would be a great addition (I have often seen people trying
to implement this in their own code, and I certainly did it myself).
What's the status of walkdir, do you think it's mature enough to be merged?
--
Changes by Ronan Amicel ronan.ami...@gmail.com:
--
nosy: +ronnix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13866
___
___
Python-bugs-list
New submission from Zachary Ware:
Here's a patch to fix test_array.py
--
components: Tests
files: test_array.diff
keywords: patch
messages: 179291
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_array.py
type:
Ezio Melotti added the comment:
While we are at it, should we also move these tests to use unittest.main()
instead of test_main() and similar?
--
dependencies: +Fix test discovery for test_array.py
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
pathlib and walkdir are two nice piece of code, but do we need two modules? It
would be nice to merge them into one unique module :-) (Or is it a stupid idea?)
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Updated patch. I tested it on Linux Fedora (3.6), Linux Debian (3.0), Windows
7, FreeBSD 8.2 (don't support O_CLOEXEC), OpenIndiana (oi_148, SunOS 5.11),
OpenBSD 4.9, OpenBSD 5.2, Mac OS X 10.8. test_builtin pass on all these
platforms... except OpenBSD 4.9.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16888
___
Stefan Krah added the comment:
Closing as a duplicate of #10156, which has several patches.
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - Initialization of globals in unicodeobject.c
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +Gregory.Andersen, georg.brandl, kushou, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10156
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
priority: high - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10156
___
___
Terry J. Reedy added the comment:
test_main makes it trivial to import a test file and run the test.
import test/test_xxx as t; t.test_main()
I do not know the implications of unittest.main(), but I would dislike losing
the above ability.
--
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file28561/open_mode_e.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16850
___
R. David Murray added the comment:
As we discussed in another issue, you just need to change your pattern to:
import unittest.main as runtest
import test.test_xxx as t
runtest(t)
Which granted is more typing if you are running just one test, but not much
more if you are running more than
Ezio Melotti added the comment:
Without test_main you would have to do unittest.main(t, exit=False). I'm not
sure there's an easier way.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16748
Felipe Cruz added the comment:
Hi.. 2 comments related to Kqueue/OSX(16.8)
1 - In tulip/selectors.py L311 and L314 - is key.fd not fd
2 - In EventLoopTestsMixin::test_writer_callback if the writer socket isn't
non-blocking, the test hangs forever..
3 - Errors:
ERROR: testCreateSslTransport
1 - 100 of 123 matches
Mail list logo