Changes by anatoly techtonik techto...@gmail.com:
--
title: difflib: support input generators - difflib should accept arbitrary
line iterators
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8905
anatoly techtonik techto...@gmail.com added the comment:
On Mon, Jun 7, 2010 at 1:26 AM, Éric Araujo rep...@bugs.python.org wrote:
Would the addition of a link to http://www.python.org/dev/patches/ address
your request?
No. It is not quick. It short only for an experienced developer. The
anatoly techtonik techto...@gmail.com added the comment:
Atomic file renames are reimplemented by:
1. Mercurial
2. Trac
3. Dulwich (aka HgGit)
and essential for many other projects out there, so this should be in standard
library. Atomic renames depend on filesystem more that on the OS.
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
As far as I remember, the datetime module started as a pure python module and
was reimplemented in C around year 2003 or so. One of
Christian Boos cb...@neuf.fr added the comment:
I did a mistake and downloaded an older installer, sorry for the trouble this
caused.
The actual Python 2.6.5 (x64) has wininst-9.0.exe and wininst-9.0-amd64.exe
built statically as expected.
--
nosy: +cboos
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8929
___
Walter Dörwald wal...@livinglogic.de added the comment:
Yes, I think you should apply the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8848
___
Mads Kiilerich m...@kiilerich.com added the comment:
FYI:
The regression was introduced in 2.6.5 with issue3819 .
This also causes problems with Mercurial pushing to google code - see
http://mercurial.selenic.com/bts/issue2179 .
IIRC google code redirects to an url which then in turn
Thomas Jollans tho...@jollans.com added the comment:
Attached is a patch against the current py3k trunk that fixes this. (as far as
I can tell)
--
keywords: +patch
Added file: http://bugs.python.org/file17580/sunau-bytes.diff
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
Implementation of atomic rename() for Windows in Mercurial:
http://selenic.com/repo/hg/file/tip/mercurial/windows.py
(search for def rename)
--
___
Python tracker rep...@bugs.python.org
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7989
___
___
Python-bugs-list
Brian Curtin cur...@acm.org added the comment:
I think what you are suggesting is outside of the scope of that document -- it
appears that the page intends to be quick and strictly focused on reporting
bugs, not fixing them.
--
nosy: +brian.curtin
status: open - pending
A.M. Kuchling li...@amk.ca added the comment:
Fixed in rev81801. Thanks for your report!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8875
___
New submission from Stefan Krah stefan-use...@bytereef.org:
test_capi fails when compiled --without-threads:
test test_capi failed -- Traceback (most recent call last):
File
/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_capi.py, line
49, in test_no_FatalError_infinite_loop
New submission from Benjamin Liles benli...@gmail.com:
The detection for metadata version does not follow what is specified in PEP 241
and PEP 314.
Specifically, the following fields are being sent as version 1.0 when they are
not allowed as per PEP 241:
* Classifier
* Download-URL
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8933
___
___
Python-bugs-list mailing
anatoly techtonik techto...@gmail.com added the comment:
Dulwich bug discussion (closed) -
https://bugs.edge.launchpad.net/dulwich/+bug/557585
Trac implementation -
http://trac.edgewall.org/browser/trunk/trac/util/__init__.py?#L82
Stackoverflow -
Éric Araujo mer...@netwok.org added the comment:
Attaching a proposal.
I think the component is a grey area between tests and documentation, so I’d be
for including this file in all four branches.
--
keywords: +needs review, patch
nosy: +d...@python, merwok
Added file:
Thomas Jollans tho...@jollans.com added the comment:
test case for sunau, as requested. Loosely based on test_wave.
--
Added file: http://bugs.python.org/file17582/sunau-test.diff
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4769
___
___
Python-bugs-list mailing
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
For the datetime module there are also a few more subtle issues that would make
it difficult to make a hybrid C/Python implementation. The problem is that
unlike the time module where most of the functionality is
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7989
___
Stefan Krah stefan-use...@bytereef.org added the comment:
I ran a test --without-threads: test_runpy and test_exceptions passed,
test_sys was not reached:
test_sqlite
Fatal error 'Cannot allocate red zone for initial thread' at line 384 in file
/usr/src/lib/libthr/thread/thr_init.c (errno =
New submission from Thomas Jollans tho...@jollans.com:
aifc getcomptype() and setcomptype() use bytes while the corresponding methods
in the sunau and wave modules use str (b'NONE', b'ULAW' vs 'NONE', 'ULAW').
This means that programmers wanting simple format-agnostic audio file output
will
Brian Curtin cur...@acm.org added the comment:
It seems like this might not be worth it or a good idea, and I have no strong
feeling for this being done. Feel free to close/reject this one.
--
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Unicode
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8934
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited to py3k (r81807), blocked in 3.1 (r81808).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8848
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8905
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8919
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1982
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
test case for sunau, as requested. Loosely based on test_wave.
Ok great. Commited to py3k (r81809) and 3.1 (r81810).
--
resolution: - fixed
status: open - closed
___
Python tracker
Thomas Jollans tho...@jollans.com added the comment:
tentative documentation patch uploaded
--
Added file: http://bugs.python.org/file17584/aifc_str_doc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8934
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Readying the patch for commit. Added documentation, tests and implementation
of fromutc() method that does not need a dst().
--
resolution: - accepted
Added file: http://bugs.python.org/file17585/issue5094d.diff
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
PyUnicode_Decode() and PyUnicode_AsEncodedString() calls directly builtin
decoders/encoders for some known encodings (eg. utf-8), instead of using
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited to 3.2 (r81811) and 3.1 (r81812). The final patch adds also links to
tuple, list, dict, float, complex and int. Replace also long by int (long
doesn't exist anymore in Python3).
@merwok: Please open a new issue if you
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8925
___
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
_PyUnicode_AsDefaultEncodedString() has two arguments: unicode (input string)
and errors. If errors is not NULL, it calls Py_FatalError()!
The
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
http://docs.python.org/py3k/c-api/arg.html is unclear about what is a
string.
Attached patch:
- Use directly bytes, bytearray and str types
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
New version of the patch:
- charbuffer_encode() uses y* instead of y# format to accept modifiable
buffer objects (eg. bytearray)
- Improve the
STINNER Victor victor.stin...@haypocalc.com added the comment:
the shortcuts were meant for Python internal use only
str.encode() calls PyUnicode_AsEncodedString() and bytes.decode() calls
PyUnicode_Decode(), so it is not for internal use only. Eg.
text.encode(ASCII) doesn't use the
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
the shortcuts were meant for Python internal use only
str.encode() calls PyUnicode_AsEncodedString() and bytes.decode() calls
PyUnicode_Decode(),
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note that these shortcut bypass the codec registry logic.
Yes, but it's already the case without my patch. I don't think that it's really
useful to override latin1, utf-8, utf-16, utf-32 or mbcs. I prefer a faster
Python :-)
STINNER Victor victor.stin...@haypocalc.com added the comment:
MAL agreed to remove t# parsing format (#8839), whereas charbuffer_encode()
main goal was to offer t# parsing format to Python object space.
charbuffer_encode() is now useless in Python3. bytes() accepts any buffer
object
STINNER Victor victor.stin...@haypocalc.com added the comment:
There's no way for a buffer compatible object to tell the
arg parser that it is storing text data.
I think that the buffer protocol targets byte strings/arrays, and that unicode
type should be enough.
If applications have to
Daniel Urban urban.dani...@gmail.com added the comment:
In Doc/library/datetime.rst, in the documentation of datetime.utcnow this part:
.. versionchanged:: 2.7 probably should be .. versionchanged:: 3.2.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Thanks, Daniel. This was a leftover from the previous patch. The latest patch
does not actually change utcnow(). Instead the users should call
datetime.now(timezone.utc). Fixed in issue5094d1.diff.
--
Added
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Brett Cannon wrote in a comment (msg106498) on another issue:
The stated long-term goal of the stdlib is to minimize the C extension modules
to only those that have to be written in C (modules can still have performance
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Also, my opposition is only to splitting datetime. While I am not against
splitting the time module, I believe it should be phased out eventually and
posix compatibility portion folded into posix module.
--
New submission from Stan Klein skl...@cpcug.org:
I got the following traceback on an import os statement:
Traceback (most recent call last):
File setup.py, line 53, in ?
import traceback
File /usr/lib/python2.6/traceback.py, line 3, in ?
import linecache
File
Brett Cannon br...@python.org added the comment:
So I see a couple of objections here to the idea that I will try to address.
First is MAL's thinking that this will undo any C code, which it won't. The
idea is that stdlib modules that do not inherently rely on other C code (e.g.
sqlite3 does
Ezio Melotti ezio.melo...@gmail.com added the comment:
In 2.6 b is valid syntax.
If you are using 2.6 modules on Python 2.4 you will probably see several more
errors.
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed
type: crash - behavior
New submission from anatoly techtonik techto...@gmail.com:
webbrowser.open(127.0.0.1:8080) opens page in IE even if default system
browser is Chrome.
--
components: Library (Lib), Windows
messages: 107297
nosy: techtonik
priority: normal
severity: normal
status: open
title: webbrowser
anatoly techtonik techto...@gmail.com added the comment:
It would be nice to see the transition accompanied by some tutorial that could
be used as an example for other similar tasks.
--
nosy: +techtonik
___
Python tracker rep...@bugs.python.org
Brian Curtin cur...@acm.org added the comment:
Also, since you stated that this is a regression -- what was the last version
you saw this work in?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8936
Ezio Melotti ezio.melo...@gmail.com added the comment:
If you want it to open it with the default browser you have to specify the
protocol (e.g. webbrowser.open(http://127.0.0.1:8080/;)).
I don't know exactly why webbrowser decides to open
webbrowser.open(127.0.0.1:8080) with IE, but the
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Brett,
Thanks for your explanation. It looks like I misunderstood the proposal. I
though the idea was to have some methods of e.g. date type implemented in
python and some in C. What you propose is much simpler.
New submission from anatoly techtonik techto...@gmail.com:
Currently SimpleHTTPServer docs contains phrase For example usage, see the
implementation of the test() function. with no reference where this test()
function is located. This is not user friendly.
--
assignee: d...@python
anatoly techtonik techto...@gmail.com added the comment:
2.5 threw exception
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8936
___
___
58 matches
Mail list logo