Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
___
Python-bugs-list
Charles-François Natali added the comment:
Actually, it should probably be using a generator-based version of os.listdir().
See #11406.
--
dependencies: +There is no os.listdir() equivalent returning generator instead
of list
nosy: +neologix
___
Vajrasky Kok added the comment:
Added doc.
--
Added file: http://bugs.python.org/file32075/add_x_mode_to_bz2_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19223
___
Georg Brandl added the comment:
Very nice, thanks for porting this. One minor nit: when I close the sidebar,
then scroll and then reopen it, it does not immediately update the sidebar
position, only when scrolling again.
--
___
Python tracker
Georg Brandl added the comment:
You said you made it a bit more efficient; is this python-specific or can it be
ported back to Sphinx?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4965
Georg Brandl added the comment:
I updated the patch to current tip, fixed three issues from the review, and
added documentation updates.
--
nosy: +georg.brandl
Added file: http://bugs.python.org/file32076/issue16203_mrab_2.patch
___
Python tracker
Stefan Behnel added the comment:
Another thing: you are only using one thread for both the client and the
server, and the app writes the entire content in one go (during one call to
get()). Wouldn't it be more interesting to make the app's get() method
asynchronous as well, so that each chunk
Roundup Robot added the comment:
New changeset b51218966201 by Georg Brandl in branch 'default':
Add re.fullmatch() function and regex.fullmatch() method, which anchor the
http://hg.python.org/cpython/rev/b51218966201
--
nosy: +python-dev
resolution: - fixed
stage: patch review -
Georg Brandl added the comment:
Sorry, accidental push, already reverted.
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16203
___
Georg Brandl added the comment:
Blasphemous question: why not give bytes a __hex__ method? Then you could use
hex() to convert them :)
The patch is outdated; it should not use PyUnicode_AS_UNICODE, but
PyUnicode_New(..., 127) and then PyUnicode_1BYTE_DATA to get the char array.
--
Vajrasky Kok added the comment:
Added doc. Revamped the test. The patch did not cater to the order of modes
(wb is equal to bw?). I think that deserves a separate ticket.
--
Added file: http://bugs.python.org/file32077/add_x_mode_to_lzma_v2.patch
Georg Brandl added the comment:
3.3 is now released with both br and rb allowed, and in 2.7 the current
text looks good enough for me.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 81c28c415718 by Georg Brandl in branch '2.7':
Closes #14486: add versionchanged notices throughout the threading docs for
PEP8-compliant APIs; the note at the top of the page is too hard to notice.
http://hg.python.org/cpython/rev/81c28c415718
Georg Brandl added the comment:
This is now fixed with changeset 81c28c415718.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11120
Roundup Robot added the comment:
New changeset d7e9c0a6dbcf by Georg Brandl in branch '2.7':
Closes #15829: document ThreadError and fix exception raised for releasing
unlocked locks.
http://hg.python.org/cpython/rev/d7e9c0a6dbcf
--
nosy: +python-dev
resolution: - fixed
stage: -
Georg Brandl added the comment:
3.3 didn't need to be updated; it's RuntimeError there everywhere.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15829
___
Georg Brandl added the comment:
This is now fixed for 2.7 (see #15829); no fix needed for 3.3+.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14502
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file:
http://bugs.python.org/file32079/0011-MINGW-compiler-customize-mingw-cygwin-compilers.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18654
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file:
http://bugs.python.org/file32078/modernize-mingw+cygwin-compiler-class.tar.gz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18654
Roundup Robot added the comment:
New changeset 24429118988b by Georg Brandl in branch '3.3':
Closes #17375: port new threading docstrings from 2.7.
http://hg.python.org/cpython/rev/24429118988b
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file:
http://bugs.python.org/file32080/0002-issue17219-add-current-dir-in-library-path-if-buildi.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17219
Roundup Robot added the comment:
New changeset e08dea96b6e2 by Georg Brandl in branch '3.3':
Closes #13740: SND_NOWAIT seems to be ignored on modern Windows.
http://hg.python.org/cpython/rev/e08dea96b6e2
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open
Roundup Robot added the comment:
New changeset 3c8feb068694 by Georg Brandl in branch '2.7':
Closes #13740: SND_NOWAIT seems to be ignored on modern Windows.
http://hg.python.org/cpython/rev/3c8feb068694
--
___
Python tracker rep...@bugs.python.org
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file:
http://bugs.python.org/file32081/0015-MINGW-build-extensions-with-GCC.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18632
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file:
http://bugs.python.org/file32082/0021-MINGW-avoid-circular-dependency-from-time-module-dur.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18639
Georg Brandl added the comment:
This sentence appears to be from the 1.5.2 docs; I can't find it anywhere else.
--
nosy: +georg.brandl
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
Mark, Raymond: Would you support the change (__name__ hack and all)?
No objections here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19232
___
Mark Dickinson added the comment:
To get the boundary cases correct, you need a special case for lcm(0, 0), which
should be 0.
Did you have any particular use-cases in mind for this? It may make sense to
allow multiple arguments: e.g., lcm(4, 5, 6) - 60.
Overall, I'm -0 on this addition: I
Nick Coghlan added the comment:
Are the ReST docs the only missing piece here? It would be nice to have this
included in alpha 4 next weekend (although the real deadline is beta 1 on
November 24).
--
nosy: +ncoghlan
___
Python tracker
Mark Dickinson added the comment:
+1 from me. You want `float.is_infinite` rather than `float.is_infinity`.
`is_signed` is another one that may be worth considering.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18842
Mark Dickinson added the comment:
Patch applied.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18739
___
Roundup Robot added the comment:
New changeset f543863f4e43 by Mark Dickinson in branch '2.7':
Issue #18739: Fix inconsistent results from math.log(n) and math.log(long(n))
http://hg.python.org/cpython/rev/f543863f4e43
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset e7eed20f2da7 by Mark Dickinson in branch 'default':
Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky
Kok for the patch.
http://hg.python.org/cpython/rev/e7eed20f2da7
--
Mark Dickinson added the comment:
Let's try again. I'll close once the buildbots have run.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18659
___
Georg Brandl added the comment:
In the attached patch I took the docstrings, put them in statistics.rst and
reformatted/marked-up them according to our guidelines. This should at least
be good enough to make this committable.
I also modified statistics.py very slightly; I removed trailing
Steven D'Aprano added the comment:
On Sun, Oct 13, 2013 at 09:21:13AM +, Nick Coghlan wrote:
Nick Coghlan added the comment:
Are the ReST docs the only missing piece here?
As far as I know, the only blocker is that the ReST docs are missing.
Also Guido would like to see the
CliffM added the comment:
I've handled a patch, and extended both lcm and gcd to take an arbitrary number
of arguments -- via functools.reduce, as they are both multiplicative (in the
first argument).
Also handled the zero case , so lcm(0,0) = 0 = gcd(0,0)
Use-case-wise, I do a reasonable
Mark Dickinson added the comment:
... and the buildbots with sizeof(int) == sizeof(size_t) == 4 still fail, of
course.
http://hg.python.org/cpython/rev/d115dc671f52 fixes that by removing the check
for the exact error message. It should be enough to check for ValueError
anyway.
--
New submission from Roumen Petrov:
Enhancement of issue3871 - installation
--
components: Installation
files: 0001-MINGW-install-import-library.patch
keywords: patch
messages: 199689
nosy: rpetrov
priority: normal
severity: normal
status: open
title: MINGW: install import library
New submission from Roumen Petrov:
Enhancement of issue3871 - installation
--
files: 0002-MINGW-generalization-of-posix-installation-in-distut.patch
keywords: patch
messages: 199690
nosy: rpetrov
priority: normal
severity: normal
status: open
title: MINGW: generalization of posix
Stefan Krah added the comment:
Antoine Pitrou rep...@bugs.python.org wrote:
You can apply it using hg import --no-commit, I think.
mercurial 2.1 throws an exception even though the patch was created with
that version. Now I upgraded to 2.7.2 and it works.
Rietveld also seems to choke on the
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
--
components: +Installation
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19242
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19241
___
___
New submission from Roumen Petrov:
Split of issue3871
--
components: Extension Modules, Installation
files: 0003-MINGW-support-stdcall-without-underscore.patch
keywords: patch
messages: 199692
nosy: rpetrov
priority: normal
severity: normal
status: open
title: MINGW: support stdcall
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19242
___
___
New submission from Roumen Petrov:
Enhancement of issue3871 - installation
--
components: Installation
files: 0004-use-replace-instead-rename-to-avoid-failure-on-windo.patch
keywords: patch
messages: 199693
nosy: rpetrov
priority: normal
severity: normal
status: open
title: MINGW: use
New submission from Roumen Petrov:
this is meta issue for enhancement of issue3871 - part related to
installation. Remark: build of core modules is in issue18653 .
01 : issue19241 : install import library
02 : issue19242 : generalization of posix installation in distutils
03 : issue19243 :
Roumen Petrov added the comment:
For protocol - as requested patches attached to this issue are split ans posted
as separate issues.
Please follow those listed below:
issue18654 - modernize mingwcygwin compiler classes (new)
issue17605 - mingw-meta: build interpreter core
issue18653 -
Christian Heimes added the comment:
The code is already there so the patch is really small.
http://hg.python.org/cpython/annotate/5bc7b20dc04a/Objects/floatobject.c#l1046
I love my time machine. *g*
--
keywords: +patch
nosy: +christian.heimes
Added file:
Nick Coghlan added the comment:
Part of the issue 19030 patch was incorrect and we missed it in the review.
Specifically, the else clause in this bit:
try:
get_obj = getattr(cls, name)
except Exception as exc:
pass
else:
New submission from Пётр Дёмин:
Taken from http://stackoverflow.com/a/19287553/135079
When I consume all memory:
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]
on win32
Type help, copyright, credits or license for more information.
a = {}
for k in
Christian Heimes added the comment:
Here is a longer patch that also adds the methods to int and numbers.Real. It
comes with tests and doc updates, too.
--
stage: - patch review
Added file: http://bugs.python.org/file32090/issue18842.patch
___
Nick Coghlan added the comment:
Should we go further and also consider attributes provided through the
metaclass?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
___
Stefan Krah added the comment:
To be fair, for the startup time I can't really detect any difference between
importing _operator directly and the current setup.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19229
Kristján Valur Jónsson added the comment:
In this case, we can remove a bunch of 'retval = NULL' from the code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19219
___
Mark Dickinson added the comment:
Buildbots are happy now. Closing. Thank you!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18659
___
Changes by Nick Coghlan ncogh...@gmail.com:
--
stage: committed/rejected - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16203
___
Serhiy Storchaka added the comment:
Fraction? complex? Complex? Integral? Number?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18842
___
Christian Heimes added the comment:
Pardon?
The methods could be added to complex, too. cmath implements the methods as:
is_finite:
Py_IS_FINITE(z.real) Py_IS_FINITE(z.imag)
is_infinite:
Py_IS_INFINITY(z.real) || Py_IS_INFINITY(z.imag)
is_nan:
Py_IS_NAN(z.real) ||
New submission from Nick Coghlan:
The codecs module currently refers out to PEP 383 as the documentation for the
details of the ``surrogateescape`` error handler.
Instead (as per the recent python-dev discussion about not using PEPs as
substitutes for reference docs), there should be a
Lars Buitinck added the comment:
BTW, the context objects are singletons.
I haven't read all of your patch yet, but does this mean a forkserver will be
started regardless of whether it is later used?
That would be a good thing, since starting the fork server after reading in
large data sets
Antoine Pitrou added the comment:
Antoine, is the PEP ready for review?
Well, I think it is. Do you think other points should be addressed in it?
We still have some time.
--
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
I haven't read all of your patch yet, but does this mean a forkserver
will be started regardless of whether it is later used?
No, it is started on demand. But since it is started using
_posixsbuprocess.fork_exec(), nothing is inherited from the main
Lars Buitinck added the comment:
Ok, great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18999
___
___
Python-bugs-list mailing list
Ethan Furman added the comment:
'None' is not an appropriate response to the Where does this attribute come
from question. For one, it's wrong. For two, it breaks help.
The current patch fixes that particular problem (as a last resort it walks the
mro looking for the last class that
Roundup Robot added the comment:
New changeset a9f967c8d002 by Serhiy Storchaka in branch '2.7':
Issue #18919: Added tests for the sunau module. Unified and extended tests
http://hg.python.org/cpython/rev/a9f967c8d002
--
___
Python tracker
Roundup Robot added the comment:
New changeset b607ce6c9ee6 by Nick Coghlan in branch '3.3':
Issue #17827: Document codecs.encode and codecs.decode
http://hg.python.org/cpython/rev/b607ce6c9ee6
New changeset 32f3d6721c84 by Nick Coghlan in branch 'default':
Issue #17827: document codecs.encode
Nick Coghlan added the comment:
No, __class__ on a descriptor has *NOTHING* to do with how it was looked up.
It's the class of the *result*.
property.__class__
class 'type'
staticmethod.__class__
class 'type'
classmethod.__class__
class 'type'
It's completely irrelevant to determining
Antoine Pitrou added the comment:
Wouldn't it be more interesting to make the app's get() method
asynchronous as well, so that each chunk actually gets passed
separately?
That's a good point. I'll try to look into it.
Or maybe split it up into two benchmarks, one that exercises the
Nick Coghlan added the comment:
However, setting __objclass__ on Enum members would be a perfectly reasonable
thing to do.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16938
___
Nick Coghlan added the comment:
That means __objclass__ can have its meaning broadened to say this is where
this particular instance of this kind of object was defined, and that and
__class__ are just coincidentally the same for Enum objects.
We should *not* need to have any Enum specific
Nick Coghlan added the comment:
Still need to backport this to 2.7
(Thanks for the preliminary patch Grant, but I'm afraid it didn't make it into
what I ended up committing)
--
versions: -Python 3.3, Python 3.4
___
Python tracker
Ezio Melotti added the comment:
One minor nit: when I close the sidebar, then scroll and then reopen
it, it does not immediately update the sidebar position, only when
scrolling again.
I'll look into it.
You said you made it a bit more efficient; is this python-specific
or can it be
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19247
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brian.curtin, tim.golden, tim.peters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19246
___
Roundup Robot added the comment:
New changeset ee7563b07c6f by Serhiy Storchaka in branch '3.3':
Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
http://hg.python.org/cpython/rev/ee7563b07c6f
New changeset fc418ecd8777 by Serhiy Storchaka in branch 'default':
Issue
Ethan Furman added the comment:
Nick Couphlan added the comment:
No, __class__ on a descriptor has *NOTHING* to do with how it was
looked up. It's the class of the *result*.
Which is why in most cases it's discarded as the home class. (I could easily
be saying this wrong, which is why I
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/issue18919
Nick Coghlan added the comment:
I want to kill the dance in inspect completely. Just use __objclass__
and document it appropriately.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16938
Ethan Furman added the comment:
It would certainly be nice. We could do a dir() on the metaclass, discarding
anything either not in dir(type) or not dundered, or both.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19239
Raymond Hettinger added the comment:
I think we should save these sort of tricks only for modules imported during
startup.
Ideally, a user should expect that the code for the decimal module is in
decimal.py. Ideally, tools like IDLE's Open Module should be able to find
the source code using
Changes by Georg Brandl ge...@python.org:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19247
___
Roundup Robot added the comment:
New changeset 053eb1db0bf8 by Serhiy Storchaka in branch '2.7':
Issue #19198: Improved cross-references in the cgi module documentation.
http://hg.python.org/cpython/rev/053eb1db0bf8
New changeset e52e259d42e8 by Serhiy Storchaka in branch '3.3':
Issue #19198:
Roundup Robot added the comment:
New changeset 54d422f5a5c6 by Serhiy Storchaka in branch '3.3':
Issue #19203: Improved cross-references in the curses howto.
http://hg.python.org/cpython/rev/54d422f5a5c6
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 542f96b913ac by Serhiy Storchaka in branch 'default':
Issue #19203: Improved cross-references in the curses howto.
http://hg.python.org/cpython/rev/542f96b913ac
--
___
Python tracker
Georg Brandl added the comment:
Attached is a patch, please review. Introduces a RecursionError that
subclasses RuntimeError for compatibility.
Note: I also tested this with RecursionError not subclassing RuntimeError, to
make sure that except clauses in the test suite are sufficiently
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19232
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19229
___
Mark Dickinson added the comment:
See also http://stackoverflow.com/q/18243270/270986 , which points out the
following inconsistencies:
1e300 ** 2
OverflowError: (34, 'Result too large')
1e300j ** 2
OverflowError: complex exponentiation
(1e300 + 1j) ** 2
OverflowError: complex
R. David Murray added the comment:
My guess would be you are dealing with memory fragmentation issues, but I'll
let someone more knowledgeable confirm that before closing the issue :)
--
nosy: +r.david.murray
___
Python tracker
Roundup Robot added the comment:
New changeset 3901ff1e6547 by Serhiy Storchaka in branch '3.3':
Improve #19204: Improved cross-references in the urllib package documentation.
http://hg.python.org/cpython/rev/3901ff1e6547
New changeset b5bd28d39cf3 by Serhiy Storchaka in branch 'default':
Roundup Robot added the comment:
New changeset 7ea984fc9be1 by Serhiy Storchaka in branch '3.3':
Issue #19207: Improved cross-references in the os, os.path, and posix modules
http://hg.python.org/cpython/rev/7ea984fc9be1
New changeset 74c3cf05fb1e by Serhiy Storchaka in branch 'default':
Issue
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/issue19198
Roundup Robot added the comment:
New changeset fd2c34e0104b by Serhiy Storchaka in branch '2.7':
Issue #19207: Improved cross-references in the os, os.path, and posix modules
http://hg.python.org/cpython/rev/fd2c34e0104b
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19203
Serhiy Storchaka added the comment:
I haven't applied patch to 2.7 because 2.7 and 3.3 are desynchronized enough.
If anyone want update curses howto in 2.7 it should do this in separated issue.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I haven't applied the patch to 2.7 because in 2.7 urllib is totally different.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.7
___
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/issue19207
Changes by Georg Brandl ge...@python.org:
--
status: - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6011
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 3752c94368dd by Ethan Furman in branch 'default':
Issue19030: commit tests for DynamicClassAttribute
http://hg.python.org/cpython/rev/3752c94368dd
--
___
Python tracker rep...@bugs.python.org
1 - 100 of 231 matches
Mail list logo