New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
I noticed st_dev is not set yet. Attached patch
fill this value, but sometimes it becomes negative
value because dwVolumeSerialNumber is large enough.
Maybe st_dev should be declared as unsigned int.
# I think this is not new
Anders Chrigström ander...@users.sourceforge.net added the comment:
This is indeed a duplicate of #1571184
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1571170
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
This is updated version. Can you test this?
(I only fixed leak, deferred other fixes to future)
--
Added file:
http://bugs.python.org/file19985/py3k_fix_leak_around_GetFinalPathNameByHandle_v2.patch
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Removed file:
http://bugs.python.org/file18979/py3k_fix_leak_around_GetFinalPathNameByHandle.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9927
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
1. Decoding the output of wcsftime(). Python expects mbcs (which
I believe is an UTF16-like wide char encoding) while Windows
apparently puts cp932 there in your locale. I don't have expertise
to address this issue.
No, mbcs
New submission from anatoly techtonik techto...@gmail.com:
http://docs.python.org/library/queue.html
--
assignee: d...@python
components: Documentation
messages: 123677
nosy: d...@python, techtonik
priority: normal
severity: normal
status: open
title: Link to source code is broken
Georg Brandl ge...@python.org added the comment:
Fixed in r87143.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10658
___
adrian adr...@lisas.de added the comment:
Here is a patch that I had to include in my Linux PowerPC build of 2.7 and 3.2
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -31,10 +31,12 @@
typedef unsigned long long uint64;
-#if defined(__ppc__) /* - Don't know if this is the correct symbol;
New submission from anatoly techtonik techto...@gmail.com:
When a new revision is committed to documentation, it will be nice to have hook
scripts that start documentation build process on development server.
Another hook script may also analyze commit message, extract ticket number,
branch
Ray.Allen ysj@gmail.com added the comment:
Here is the updated patch, which fixed:
1. remove get() method of gdbm since issue6045 has already add it.
2. method keys() and items() of dbm object return set instead of list. Since
pep3119 said keys() and items() should return collections.Set
Ray.Allen ysj@gmail.com added the comment:
eli, you should also add New in version 3.3 to the doc of the tow new list
methods.
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10516
Georg Brandl ge...@python.org added the comment:
The development docs are rebuilt twice a day; that should be enough.
As for tracker integration with version control, that is already an issue for
the meta tracker at http://psf.upfronthosting.co.za/roundup/meta/issue20 (which
you should know,
New submission from Hervé Cauwelier he...@itaapy.com:
Hexadecimals can be formatted to lower and uppercase:
'{0:x}'.format(123)
'7b'
'{0:X}'.format(123)
'7B'
I would like the same thing for strings:
'{0.lastname:u} {0.firstname}'.format(user)
'DOE John'
I first thought using S for
R. David Murray rdmur...@bitdance.com added the comment:
The format support is written specifically so that it is extensible. You can
write your own string subclass that extends the formatting mini-language with
whatever features you find useful. There are too many variations on what might
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6422
___
Eric Smith e...@trueblade.com added the comment:
I agree with David.
Here's an example of using such a subclass. It extends the format string for
strings to begin with an optional 'u' or 'l':
---
class U(str):
def __format__(self, fmt):
if fmt[0] == 'u':
New submission from Jean-Paul Calderone inva...@example.invalid:
This is somewhat unfortunate behavior:
from xml.etree.ElementTree import QName
QName('foo')
xml.etree.ElementTree.QName instance at 0x10049c830
It becomes even more apparent when encountered in a situation like this:
print
New submission from Christian Oudard christian.oud...@gmail.com:
Found the misspelling seperate in two places in the concurrent.futures
library module.
Patch attached, correcting the spelling to separate.
--
files: seperate.patch
keywords: patch
messages: 123688
nosy: Christian.Oudard
Georg Brandl ge...@python.org added the comment:
Fixed in r87146.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10662
___
Georg Brandl ge...@python.org added the comment:
Added in r87147.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10661
___
Eric Smith e...@trueblade.com added the comment:
This should be either:
'QName %r' % (self.text,)
or:
'QName {!r}'.format(self.text)
If self.text is a tuple (which granted is its own error), then the version
checked in will raise an exception.
--
nosy: +eric.smith
resolution: fixed -
Georg Brandl ge...@python.org added the comment:
Granted. Since the rest of the file uses old-style format, I've kept to it,
r87148.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10661
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
With Georg's approval, I am reopening this issue until a decision is made on
whether {str,bytes,bytearray}.{transform,untransform} methods should go into
3.2.
I am adding Guido to nosy because the decision may turn on
R. David Murray rdmur...@bitdance.com added the comment:
OK, here is what I hope is a comprehensive set of CLI tests, and fixes for the
bugs revealed thereby. Except for the new test added by Georg after the
original patch here was committed, all of the tests either pass using the old
New submission from Antoine Pitrou pit...@free.fr:
The configure.in sets a default OPT of -O if none was set by the user, but I
think that's wrong. The user could simply pass optimization flags as part of
CFLAGS instead, and then the contents of OPT could conflict with that of CFLAGS
(which
R. David Murray rdmur...@bitdance.com added the comment:
for what it is worth, I am +1 on having completion and history file work by
default. The sqlite3 command line does this, for example. I think it is what
unix user expect nowadays, and I think it is reasonable.
Looking at my home
Éric Araujo mer...@netwok.org added the comment:
Okay, that’s one question answered. Still to solve: How to bind the right key?
(“But perhaps tab isn’t the right key to bind. I think inputrc could set it to
something different, perhaps shell rc files too. Is there an API to get this
setting,
Antoine Pitrou pit...@free.fr added the comment:
I think TAB is the key expected by most people, so let's make it the default.
As for the location, site.py is an adequate one IMO.
--
components: +Library (Lib) -Interpreter Core
versions: +Python 3.2
New submission from Fred L. Drake, Jr. fdr...@acm.org:
The xml.sax.expatreader module pre-dates prefix reporting from Expat, and
should be modified to support the feature_namespace_prefixes feature instead of
complaining that Expat doesn't support prefixes.
--
assignee: fdrake
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
unicodedata module documentation has not been updated to reflect transition to
6.0. Attached patch fixes the version and unicode.org links and starts making
the documentation rely less on the unicode.org pages for
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
components: +Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10665
___
New submission from Ned Deily n...@acm.org:
32-bit-only OS X installers build and link to a copy of the GNU readline
library for use by the readline module in the standard library. But, the newer
64-bit/32-bit installer variants for 2.7 and 3.2 link to the OS X supplied BSD
editline
Ned Deily n...@acm.org added the comment:
Keep in bind that there the Python readline module may be linked to either GNU
readline or the BSD editline (libedit) library and they have different command
strings. Note the warning here:
http://docs.python.org/dev/py3k/library/readline.html
Ned Deily n...@acm.org added the comment:
Keep in mind that the Python readline module may be linked to either GNU
readline or the BSD editline (libedit) library and they have different command
strings. Note the warning here:
http://docs.python.org/dev/py3k/library/readline.html
Here's a
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg123702
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Added more tables semi-automatically produced from
http://www.unicode.org/Public/UNIDATA/PropertyValueAliases.txt
--
Added file: http://bugs.python.org/file19991/unicodedata-doc.diff
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Removed file: http://bugs.python.org/file19990/unicodedata-doc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10665
___
Ned Deily n...@acm.org added the comment:
Nosying Martin: any Windows installer concerns?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
New submission from Justin Peel pee...@gmail.com:
I put the Counter's update and __missing__ methods into C code. The rest of the
existing methods remain the same. The new Counter is at least 2x-10x (or more)
faster for updating depending on the input. I also added a new method,
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Thanks for the patch.
FWIW, I'm attaching some timing code that I've used in the past.
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
Added file: http://bugs.python.org/file19993/time_counter.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10667
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Please, one issue per report and checkin, and no work-in-progress on the
tracker. The issue of factually correcting claims about the unicodedata module
and elaborations on how it works are unrelated issues.
--
nosy: +loewis
Martin v. Löwis mar...@v.loewis.de added the comment:
There is no readline support on Windows at all, so I don't think the Windows
installer can be affected. I'm uncertain what the proposed change to Python is
at this point, though.
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
When adding some C accelerations, we often try to keep a pure Python
alternative in the stdlib, since it can then benefit other Python
implementations (and easy prototyping).
If you move some of the methods inside a mixin and use multiple
Antoine Pitrou pit...@free.fr added the comment:
Not sure why you chose 0.11 here. It should probably be 0.2 as in the
command-line code.
As for applying the patch, this can't be done before 3.2 is released.
--
nosy: +pitrou
stage: unit test needed - patch review
Gregory P. Smith g...@krypto.org added the comment:
I have to agree that the name assertCountEqual does not work well for me as
something I can read and really comprehend what it is going to do without
searching for the docs or implementation to double check. (not that
assertItemsEqual did
Gregory P. Smith g...@krypto.org added the comment:
fyi - since I didn't chime in earlier on this: I think you made the right
choice with what was decided in msg122413 and implemented in the renaming done
in r86910 and the work done in issue10242.
--
New submission from Alex alex.gay...@gmail.com:
In ArraySubclassWithKwargs, when __init__ is called it doesn't actually pass
self to `array.array.__init__`, this doesn't actually cause errors because the
contents of the array isn't tested anywhere.
--
components: Library (Lib)
R. David Murray rdmur...@bitdance.com added the comment:
This class was added by the fix for issue 1486663 in r53509. Adding Georg as
nosy since he committed it, but it seems like it would be worth fixing it in
case someone else uses the class in an additional test in the future.
--
Changes by R. David Murray rdmur...@bitdance.com:
--
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10668
___
___
New submission from Rusi rustompm...@gmail.com:
I am trying to port some app from 2.x to 3.x
Terry Reedy suggested using 2.7
I get deprecation warnings (with -3 flag)
I would be good to have a place to check all such and have suggested solutions
--
components: 2to3 (2.x to 3.0
Ray.Allen ysj@gmail.com added the comment:
Agreed. I think the except Exception in TestCase.run() should be except
BaseException, since BaseException could catch Exception, SystemExit,
GeneratorExit, KeyboardInterrupt. The KeyboardInterrupt should be caught first.
The remaining three is
Éric Araujo mer...@netwok.org added the comment:
LGTM.
--
stage: unit test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10611
___
53 matches
Mail list logo