A.M. Kuchling added the comment:
Applied my documentation patch.
New changeset 4fe87b5df2d0 by Andrew Kuchling in branch '3.3':
#1098749: re-word gettext docs to not encourage using pygettext so much.
http://hg.python.org/cpython/rev/4fe87b5df2d0
A.M. Kuchling added the comment:
Serhiy, your version of the patch for 2.7 looks fine.
I've attached a version of the patch for 3.3. A change is needed to the
MockFile object provided by Lib/test/mock_socket.py
--
Added file: http://bugs.python.org/file32590/3.3-fix.txt
A.M. Kuchling added the comment:
Here's a slightly modified version of urischeme.py that can be run under Python
3 and compares its results with urllib.parse, printing out the mismatches.
The major differences seem to be 1) urischeme fills in the default port if it's
not explicitly provided
A.M. Kuchling added the comment:
Here's the changes from patch.py, put into patch format. I took out the
inlining for ntb() and support for different tarfile APIs, and also replaced
the use of .split(,1)[0] by .partition().
--
nosy: +akuchling
Added file: http://bugs.python.org
A.M. Kuchling added the comment:
Here's a patch that contains text for a description of these two functions.
However, I can't figure out what section they would belong in. They don't
really belong in http://docs.python.org/3.4/c-api/structures.html, which is for
the C structures.
Also note
A.M. Kuchling added the comment:
Mis-clicked and forgot to attach the patch.
--
Added file: http://bugs.python.org/file32578/16776.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16776
A.M. Kuchling added the comment:
Here's an updated version of the documentation patch, that doesn't encourage
using pygettext so much. It also updates Barry Warsaw's e-mail address and
makes some other small edits.
--
nosy: +akuchling
Added file: http://bugs.python.org/file32579
A.M. Kuchling added the comment:
For the Mac issue, we could just delete the mapping files before processing
them. I've attached a patch that modifies the Makefile.
--
nosy: +akuchling
Added file: http://bugs.python.org/file32565/10552-remove-apple-files.txt
A.M. Kuchling added the comment:
Committed this to 3.4.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1097797
A.M. Kuchling added the comment:
I went through Python 2.7's Misc/NEWS file and collected the entries for
Distutils-related issues that were applied. Perhaps we can check the
individual entries on this list, and see which ones are still present in Python
3.x and which ones got reverted
A.M. Kuchling added the comment:
Issue #11104 also made some functionality work in both 2.7 and 3.2, though it's
not clear that the problem stemmed from the distutils2 revert.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
A.M. Kuchling added the comment:
Here's a patch to restore the --no-user-cfg switch to 3.4. If someone will
take a quick look at the patch for sanity, I can apply it.
--
keywords: +needs review
resolution: fixed -
stage: - patch review
versions: +Python 3.4 -Python 2.7, Python 3.1
A.M. Kuchling added the comment:
Here's an updated patch, to be applied against the default branch.
--
nosy: +akuchling
stage: - patch review
Added file: http://bugs.python.org/file32571/3.4-patch.txt
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
Patches for the default branch have been added to issue1180 (option to ignore
~/.pydistutils.cfg) and issue6516 (setting the owner/group in Distutils-built
tarballs). Please double-check those patches; I can apply them
Changes by A.M. Kuchling a...@amk.ca:
--
versions: +Python 3.4 -Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6516
Changes by A.M. Kuchling li...@amk.ca:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3849
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue626452
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue634412
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8799
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7839
___
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
Closing this issue; I agree with Ronald's assessment.
--
nosy: +akuchling
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11965
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - invalid
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1348
Changes by A.M. Kuchling li...@amk.ca:
--
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1671676
___
___
Python-bugs
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7593
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue834840
A.M. Kuchling added the comment:
asyncore is no longer maintained, so this will not get fixed.
--
nosy: +akuchling
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8003
A.M. Kuchling added the comment:
Is there anything left to do for this issue?
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7061
A.M. Kuchling added the comment:
I don't understand the bug being reported. The code you quote should
probably be written as if (result 0 errno == EBADF), but the block's net
effect is to ignore an error by resetting result and errno.
It doesn't matter if we occasionally set result
A.M. Kuchling added the comment:
Ping! I'd like to change the function name to clear_frames() and then commit
this. Antoine or anyone, want to disagree with using clear_frames() as the
name?
--
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
The patch requires a little adjusting to apply against 2.6.
--
nosy: +akuchling
Added file: http://bugs.python.org/file31772/smtplib-2.6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
A.M. Kuchling added the comment:
Here's a final proposed version of the patch for 2.6 that adds a test. Changes
made:
* code now raises SMTPResponseException instead of a new SMTPLineTooLong
exception; bwarsaw deemed that adding a new exception class was changing the
module API.
* we
A.M. Kuchling added the comment:
For 2.6 I'll make a revised version of Giampaolo's patch that doesn't add a new
exception class.
Rationale: Adding a new exception class changes the API of the module, which
we'd like to avoid. If someone is writing 2.6 code that wants to catch
A.M. Kuchling added the comment:
I took Serhiy's suggestion and just moved up the 'if size' check in the loop.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16042
A.M. Kuchling added the comment:
2.6 version of the patch. Changes from Giampaolo's version of the patch:
* 2.6 didn't have FTP over TLS, so the patch changes slightly to adapt.
* Removed the LineTooLong exception class and just raise Error instead. (This
repeats the message text for Line
A.M. Kuchling added the comment:
Updated version of the patch against 2.6 that adds a test. Thanks for the fix,
Emil!
--
nosy: +akuchling
Added file: http://bugs.python.org/file31778/imaplib.txt
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
I'm happy to change the function name, though I'll note that the traceback
module does have print_tb(), format_tb() and extract_tb().
I'm OK with both of Victor's suggestions but personally slightly prefer
traceback.clear_frames(tb).
Rationale: People who
A.M. Kuchling added the comment:
Here's a patch implementing traceback.clear_tb_frames(). (Feel free to
bikeshed about the name.)
One more substantial question: the top frame of the traceback is possibly still
running. Currently the code skips it by doing an initial 'tb = tb.tb_next
A.M. Kuchling added the comment:
Revised version of the patch: catches RuntimeError instead of skipping the
first frame; adds versionadded tag; adds entry to NEWS and whatsnew files.
--
Added file: http://bugs.python.org/file31692/clear-tb-frames-2.txt
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18562
Changes by A.M. Kuchling li...@amk.ca:
--
stage: patch review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18562
A.M. Kuchling added the comment:
Seydou: thanks for the patch! I've applied it to 3.4.
--
nosy: +akuchling
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http
A.M. Kuchling added the comment:
Slightly revised version that modifies the discussion of when to pre-compile a
regex and when to not bother. I don't think this is a very important issue, so
I don't think it needs a long discussion.
--
Added file: http://bugs.python.org/file31348
New submission from A.M. Kuchling:
I read through the 3.3 regex howto and have made various edits in the attached
patch.
* describe how \w is different when used in bytes and Unicode patterns.
* describe re.ASCII flag to change that behaviour.
* remove a personal reference ('I generally
A.M. Kuchling added the comment:
Closing this issue after a week. Mike Hoy: thanks for your patch.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12716
A.M. Kuchling added the comment:
Bumping version to 3.4. I'll send a note to python-dev about this issue.
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4199
A.M. Kuchling added the comment:
I believe the most recent 2 commits fix the segfault problem, so I'll now close
this again. Please re-open if there are further issues with the bugfix.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
A.M. Kuchling added the comment:
I've looked through the matches. I/O and the -I command-line switch are
false positives. Many references in the FAQ (How do I do X?), but those
don't need to be fixed.
I think personalized references are most problematic when they're expressing
A.M. Kuchling added the comment:
This bug is entirely too cryptic. What exactly is the problem you're trying to
fix?
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18220
A.M. Kuchling added the comment:
Mike Hoy: a later patch (http://bugs.python.org/issue14626) changed the API in
the os module so that the wrappers for *at() functions went away; fchmod() now
takes several different forms of argument and calls the correct function under
the hood
A.M. Kuchling added the comment:
I didn't see any other constants that aren't close to the function they're used
with. Can this issue be closed, or are there other changes to make?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
A.M. Kuchling added the comment:
As far as I can tell, there are no other outstanding suggestions for howto
updates, so I'll now close this item. Feel free to re-open or file a new item
if there are further improvements that can be made.
--
resolution: - fixed
stage: commit review
A.M. Kuchling added the comment:
Thanks for your report! I've corrected the error on the 3.3 and 3.4 branches.
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18272
A.M. Kuchling added the comment:
Thanks for your bug report and patch, but I agree that we can't change this.
The repeat() function really does take 'object' as the keyword argument:
from itertools import *
list(repeat(times=3, object='abc'))
['abc', 'abc', 'abc']
repeat(times=3, element
A.M. Kuchling added the comment:
serhiy.storchaka: good point! I wonder if, for strict correctness, we should
only incref obj (the new object) if set_panel_userptr() returns OK and not an
error code. I've attached a new version of the patch that does this check, and
also adds a test.
(OTOH
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18113
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
stage: needs patch - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18113
A.M. Kuchling added the comment:
Thanks for the bug report! I've committed a fix to the 2.7 and 3.3 branches
that retrieves the existing userptr and Py_DECREFs it if it's not null. This
seems to fix the leak.
--
assignee: - akuchling
resolution: - fixed
status: open - closed
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18179
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18155
___
___
Python-bugs-list mailing
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11352
___
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
Here's an updated version of the patch. It at least compiles and runs on
MacOS, but I don't have a Solaris installation to check whether it still fixes
the problem on Solaris 9.
Note that, according to
http://en.wikipedia.org/wiki/Solaris_(operating_system
A.M. Kuchling added the comment:
Confirmed. I think this is a general typographic issue in the PDF
documentation. If I cut-and-paste the datetime.isoformat(sep='T') line from
the PDF, the single quotes are pasted as U+2019 RIGHT SINGLE QUOTE.
Looking at the library.tex file built by make
A.M. Kuchling added the comment:
Here's a proposed patch that touches the Sphinx documentation and a docstring
in codecs.py. The text is slightly revised from my current revisions to the
Unicode howto.
help(open) says See the documentation for codecs.register for a list of the
permitted
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14015
___
___
Python-bugs-list mailing
A.M. Kuchling added the comment:
Continuing my tour of the howtos, here's a patch making many of the changes
discussed here and on issue13997. Changes made:
* state that python3 source encoding is UTF-8, and give examples
* mention surrogateescape in the 'tips and tricks' section
A.M. Kuchling added the comment:
Updated version of my patch, which adds two more todo items and handles Ezio's
review comments:
* Switch from Greek examples to French, and remove non-Latin-1 characters.
* Change language for bytes.decode to but supports a few more possible
handlers
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18066
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
versions: -Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
A.M. Kuchling added the comment:
This patch seems obviously correct to me, so it should be applied.
It looks like there's already a test in test_uuid.py that exercises
_netbios_getnode() if the netbios module is importable, so there's no test to
add, though maybe we need a buildbot that has
A.M. Kuchling added the comment:
Matt's patch looks good to me. It removes two module-level dicts, but they're
marked as internal, so that's OK. There's already a test case that exercises
html.escape(), so I don't think any additional tests are needed.
--
nosy: +akuchling
A.M. Kuchling added the comment:
It looks like the problem on OpenIndiana with #2489 was fixed. As of May 25th,
the 3.x build on OpenIndiana is a green.
http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/5962
So, 2) is a misunderstanding and 1) was carried out in #2489
New submission from A.M. Kuchling:
pty.py contains some code that tries to do 'import sgi' and then does something
SGI-specific. sgimodule.c was dropped in 3.0alpha1, so this code is now
useless.
The attached patch removes it; I'm posting the code review largely in case
someone wants
A.M. Kuchling added the comment:
I can't make sense of unget_wch. I used this test program:
import curses
def main(stdscr):
stdscr.addstr(0,0, Key)
stdscr.refresh()
curses.ungetch(0x0149)
while True:
ch = stdscr.get_wch()
stdscr.addstr(1,1, repr(ch
A.M. Kuchling added the comment:
Here's a proposed patch to the c-api manual that describes these two pointers.
I put them in the 'very high-level API' section. Maybe they belong in the
Operating System Utilities section instead, but I think they're intertwined
with the interpreter loop
A.M. Kuchling added the comment:
One question about the patch: how to give the prototype expected for the
function? I currently have it as:
char *(*PyOS_ReadlineFunctionPointer)(FILE *stdin, FILE *stdout, char *prompt)
Would it be better with a trivial function name, as in:
char *func(FILE
Changes by A.M. Kuchling li...@amk.ca:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17955
Changes by A.M. Kuchling li...@amk.ca:
--
stage: commit review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17955
A.M. Kuchling added the comment:
Kaleb Robertson's changes look good. Larry, do you want to go ahead and commit
this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16024
A.M. Kuchling added the comment:
Updated version of the patch:
* uses 'r' instead of 'N'.
* removes the old outline and some notes at the end.
* minor rewriting.
--
Added file: http://bugs.python.org/file30257/functional.txt
___
Python tracker rep
New submission from A.M. Kuchling:
I read through the 3.x Functional HOWTO, and it only seems to require a few
minor updates. The attached patch:
* adds a forward link to skip the theoretical discussion in the first section.
* remove stray extra comma
* clarify what filterfalse
A.M. Kuchling added the comment:
This seems to be fixed now. I downloaded python-3.3.1-docs-pdf-letter.tar.bz2
and ran pdfinfo on using.pdf:
Title: Python Setup and Usage
Subject:
Keywords:
Author: Guido van Rossum, Fred L. Drake, Jr., editor
Creator
A.M. Kuchling added the comment:
I've just verified that I still have commit access to the repo, so unless
someone has any further suggested changes to the patch, I'll go ahead and
commit it to trunk. Should I also commit it to the 3.3 branch?
Victor: I'm willing to improve the HOWTO's
A.M. Kuchling added the comment:
Applied to 3.3 and 3.4. I'll leave this issue open for a week so that Victor
can comment on Unicode/wide-characters.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17700
A.M. Kuchling added the comment:
Thanks for the patch!
--
nosy: +akuchling
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14878
A.M. Kuchling added the comment:
Updated version of the patch, applying many changes suggested by merwok:
* use ~curses.funcname notation for links.
* use 3-hyphen em-dash
* minor fixes to various examples
* rewrap long paragraphs (this makes the diff larger -- sorry!)
--
Added file
A.M. Kuchling added the comment:
Victor: I would like to add a section about using Unicode characters with
curses, but found little material about doing that in either Python or the
underlying C API. Do you have any suggested references or example code that I
could look at?
(It's probably
A.M. Kuchling added the comment:
I suggest just dropping this HOWTO.
It was written to contrast using Python with using only a low-level language
such as C. Today there may still be some people arguing over whether to use a
low-level or high-level language, but I think the idea of using
A.M. Kuchling added the comment:
Updated version of the patch:
* Correct the errors reported in the review.
* Restore 3-space indents.
* Mention the LINES and COLS variables.
* Add more links to the final section.
I believe everything in the howto also applies to 3.3; it would be fine if you
A.M. Kuchling added the comment:
Perhaps http://en.opensuse.org/Portal:Packaging is a good replacement.
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17686
New submission from A.M. Kuchling:
Here's a patch updating the Curses HOWTO for 3.4 that can be applied to the
default branch. Changes:
* curses.wrapper.wrapper is now just curses.wrapper
* Mention window.encoding and its effect on Unicode.
* Describe getkey() as well as getch()
* Improve
A.M. Kuchling added the comment:
I just tried building trunk on MacOS 10.6.8, and make install fails with this
traceback:
Traceback (most recent call last):
File ./setup.py, line 2175, in module
main()
File ./setup.py, line 2170, in main
Tools/scripts/2to3, Tools/scripts/pyvenv
A.M. Kuchling added the comment:
The attached patch against trunk (3.4) exercises the multiple-authentication
functionality; the SMTP server advertises four different authentication methods,
and the code will try CRAM-MD5 first, which will fail, but LOGIN succeeds.
If this patch is OK
A.M. Kuchling added the comment:
It seems to me that this issue was fixed for Python 3.3 by commit 2dd046be2c88
for #2377, which made importlib the implementation of __import__().
Python/import.c now raises a ValueError if level 0, and the docstring has
been corrected to have 'level=0
A.M. Kuchling added the comment:
Patch looks good with two small changes.
* for consistency's sakes is used in 2 places; this should be sake, not the
plural sakes.
* Normally the *path* argument specified to functions: 'specified to' sounds
wrong, and IMHO would be better as 'provided
A.M. Kuchling added the comment:
Closing, since the original reporter believes the problem was fixed.
--
nosy: +akuchling
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11166
Changes by A.M. Kuchling li...@amk.ca:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Python-bugs
A.M. Kuchling added the comment:
Help is still needed to debug the failing test_glob.py on Windows.
I just tried this patch against 3.4trunk. The first hunk of the glob.py patch
doesn't apply because 'for name in glob1(None, basename): yield name' was
changed to 'yield from glob1(None
A.M. Kuchling added the comment:
Patch seems clearly correct; compiles works on MacOS. We could just apply
this.
--
nosy: +akuchling
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
A.M. Kuchling added the comment:
Installation bug; nothing to fix.
--
nosy: +akuchling
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15076
A.M. Kuchling added the comment:
Duplicate of #9974. The tokenizer is choking on lines that end in '\'. So
even this can't be parsed:
a = 1 + \
2
--
nosy: +akuchling
superseder: - tokenizer.untokenize not invariant with line continuations
201 - 300 of 580 matches
Mail list logo