New submission from Phil Webster:
This test uses the mock text widget to search forwards and backwards, with and
without wrapping. It also tests for empty matches with the 'ok' flag set in
search_text(). The patch relies on the mock text tag_add function implemented
Phil Webster added the comment:
I added and rewrote tests to use the Text widget (when necessary). The only
changes made to FormatParagraph are documentation/comment formatting and the if
__main__ function. I will work on the comment header behavior separately and
can post the patch in this
Changes by Phil Webster :
--
nosy: +philwebster
___
Python tracker
<http://bugs.python.org/issue18504>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Webster added the comment:
Added tests for the rest of the SearchEngine module. I used the mock
tkMessageBox for testing the error display, but used the tkinter Text widget
for other tests because mark_set and tag_add/remove haven't been added to the
mock yet.
--
Added
Phil Webster added the comment:
This patch moves the comment_header code to reformat_comment, adds tests for
reformat_comment, and implements the fix that Todd mentioned in #18429. In
addition, I changed the get_comment_header and get_indent regular expressions
to only look for spaces and
New submission from Phil Connell:
This is a testcase for issue17669 - it passes against the latest default (and
hits the same segfault under 3.3.0).
I came up with this while tracking down a thorny generator finalisation crash
that turned out to be a variant on 17669.
The root cause was
Phil Connell added the comment:
Good suggestion, updated patch attached.
--
Added file: http://bugs.python.org/file31055/gen_close_with_cleared_frame.diff
___
Python tracker
<http://bugs.python.org/issue18
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17669>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Phil Webster:
This is a basic set of tests for SearchDialogBase. It mainly consists of gui
code, so I was not completely sure of how/what to test. Before venturing any
further, I thought I would make sure I'm heading in the right direction.
--
components:
Changes by Phil Webster :
--
keywords: +patch
Added file: http://bugs.python.org/file31082/test_searchdialogbase.patch
___
Python tracker
<http://bugs.python.org/issue18
Changes by Phil Webster :
--
nosy: +philwebster
___
Python tracker
<http://bugs.python.org/issue18583>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue18566>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue18594>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Webster added the comment:
In the case of no selection would it make sense to only format if the cursor is
in a string/comment? If not in a string or comment, the single line that the
cursor is in could be formatted with a line ending backslash or not at all.
Otherwise Format Paragraph
Phil Webster added the comment:
As suggested by Ezio, I factored out the button tests to a common method.
--
Added file: http://bugs.python.org/file31220/test_searchdialogbase2.patch
___
Python tracker
<http://bugs.python.org/issue18
Phil Webster added the comment:
I've attached a patch that attempts to address the issues above. For the tests,
I made some changes because the cursor doesn't end in exactly the same spot
with line endings.
Here's a quick summary of the changes:
1. Removed format_paragraph and
New submission from Phil Webster:
If you open a new editor window in IDLE, some modules will autocomplete (re,
os, other common modules used by IDLE) and others will not (textwrap, datetime,
...). The current solution is to run your module or type the imports into the
shell window to get
Phil Webster added the comment:
I've attached my work so far in order to get feedback before I head too far in
the wrong direction. I'm not sure if my addition of mock events and
AutoCompleteWindow is the right way to go and I'm open to any guidance.
--
keywords: +p
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue1565525>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Webster added the comment:
Added tests for labels, a mock function for widget creation, a back option for
radiobuttontests, and the docstring fixes that Terry mentioned.
--
Added file: http://bugs.python.org/file31542/18592_test_searchdialog2.diff
New submission from Phil Webster:
Started writing the tests for textView.py.
--
components: IDLE
files: test_textview.patch
keywords: patch
messages: 196820
nosy: JayKrish, Todd.Rovito, philwebster, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Unit test for
Phil Daintree added the comment:
Another example - the following xml returned and displayed from verbose mode:
0001
001
002
100
121213
123456
291
321654
580
ABS
ACTIVE
AIRCON
ALIEJA
AMP
ASSETS
BAKE
BRACE
BYC
CARRO
CARTON
CO
COMPS
CULOIL
DECOR
DVD
E
FOOD
HDD
INF
LAB
LINER
LL
MCNBI
MEDS
Phil Daintree added the comment:
The xml parses happily at http://www.w3schools.com/xml/xml_validator.asp
--
___
Python tracker
<http://bugs.python.org/issue11
Changes by Phil Daintree :
--
title: xmlrpclib loads invalid documents -> xmlrpclib expat
versions: +Python 2.7 -Python 2.5, Python 2.6
___
Python tracker
<http://bugs.python.org/iss
Phil Daintree added the comment:
The field in question contains the utf-8 text: PEÇAS
--
___
Python tracker
<http://bugs.python.org/issue11804>
___
___
Python-bug
Phil Daintree added the comment:
Well maybe this should be a different bug as it is clearly not xml 1.1 related
as the linue in the xml gives away :-)
To repeat the bug ... using the webERP demo data
#!/usr/bin/env python
import xmlrpclib
x_server =
xmlrpclib.Server('
Phil Daintree added the comment:
or for less data...
#!/usr/bin/env python
import xmlrpclib
x_server =
xmlrpclib.Server('http://www.weberp.org/weberp/api/api_xml-rpc.php',verbose=True)
#Get the stock items defined in the webERP installation
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue7757>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue19533>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17277>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue12154>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Elson :
--
nosy: +pelson
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Elson added the comment:
The current patch fails to catch the fact that auto vs manual numbering has
been used in following corner case:
from string import Formatter
print(Formatter().format("{0:{}}", 'foo', 5))
To fix this, without adding state to the formatter
Phil Elson added the comment:
Ramchandra's fix looks fairly good, although there is at least one remaining
issue (see my last comment). I have attached a patch which addresses (and
tests) this.
I'd be happy to pick this up if there are any remaining issues that need to be
New submission from Phil Elson:
When passing an invalid Warning subclasses to the warnings.warn function, a
bare issubclass exception is raised:
>>> import warnings
>>> warnings.warn('hello world', 'not a valid warning type')
Traceback (most recent call l
New submission from Phil Connell:
logging.handlers.RotatingFileHandler.doRollover fails on QNX /dev/shmem
filesystems (seen on a 6.4.0-based system).
QNX RAM filesystems don't support rename() (see
http://www.qnx.com/developers/docs/6.4.0/neutrino/sys_arch/fsys.html#DEVSHMEM -
it
Changes by Phil Connell :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue16449>
___
___
Python-bugs-list mailing list
Unsubscri
Phil Connell added the comment:
I'm not convinced that it matters whether the rename or move is atomic. Can
anyone come up with a quick concrete example?
I see two scenarios:
1. The process crashes during a copy in shutils.move(). In this case, some logs
will be duplicated across the
Phil Connell added the comment:
Serhiy, there are also calls to os.rename in RotatingFileHandler.doRollover
--
___
Python tracker
<http://bugs.python.org/issue16
Phil Connell added the comment:
I've updated the type to enhancement (it seems like a grey area to me - it's a
behavioural fix for a niche use case).
I suggested a patch rather than simply subclassing RotatingFileHandler since:
- The subclass would just have a copy of RotatingFil
Changes by Phil Elson :
Added file: http://bugs.python.org/file28053/pelson_warnings_fix_2.diff
___
Python tracker
<http://bugs.python.org/issue16382>
___
___
Python-bug
Changes by Phil Elson :
Added file: http://bugs.python.org/file28072/pelson_warnings_fix_3.diff
___
Python tracker
<http://bugs.python.org/issue16382>
___
___
Python-bug
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue16195>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue14157>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue16596>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue18864>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue13907>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Connell added the comment:
It looks like call_exc_trace is leaking refs to Py_None.
I believe the attached patch fixes the issue (it certainly fixes Antoine's
failing invokation :)
--
Added file: http://bugs.python.org/file32794/issue16596_leak
Phil Connell added the comment:
Full run of the test suite was clean, so the fix is ready to go.
--
___
Python tracker
<http://bugs.python.org/issue16596>
___
___
Phil Connell added the comment:
I've had a stab at creating a patch for this.
As well as mentioning __pycache__, I've tweaked some wording to reflect the
fact that .pyc files are regenerated if the source file's length changes (as
per issue13645).
--
A
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue13344>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue19291>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue16669>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue9232>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue21999>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue1152248>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Connell added the comment:
Where I actually mean changeset 71704:89e92e684b37
--
___
Python tracker
<http://bugs.python.org/issue20217>
___
___
Python-bug
New submission from Phil Connell:
Typo in revision 71704 that causes build failures on systems with
SCHED_SPORADIC available. See attached patch.
(Can reproduce by #defining SCHED_SPORADIC just above where it's used in
posixmodule.c)
--
components: Extension Modules
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue2292>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Pennock added the comment:
(Sorry for dropping this, lost available time)
I see your point. OTOH, use of SNI needs to be something that can be
disabled and people need to be able to connect to host A while supplying
host B, not necessarily using IP addresses for the specificity. Use
Phil Pennock added the comment:
wrapssl(server_hostname=True/False/String) looks good to me.
Your arguments for enabling by default are compelling, for P3k.
--
___
Python tracker
<http://bugs.python.org/issue5
Phil Thompson added the comment:
Yes I can update the patch, but it might be a while before I get the time.
--
___
Python tracker
<http://bugs.python.org/issue1337
New submission from Phil Pennock :
With TLS it is possible to have the client use an extension (defined in
RFC 4366, and RFC 3546 before that) to indicate to the server which
hostname it believes it is talking to. The server can then choose TLS
certificates accordingly. This makes virtual
Phil Pennock added the comment:
Note: this previous work is client-side only, as noted in the body of
the report. I'll look into what's needed for clean server-side support too.
--
___
Python tracker
<http://bugs.python.
New submission from Phil Thompson:
posixmodule.c needs to #include to get the declaration of ctermid().
On most platforms this happens as a side effect of including other .h files but
does not on Android.
--
components: Library (Lib)
messages: 266561
nosy: philthompson10
priority
New submission from Phil Jeffes:
On the tarfile page (https://docs.python.org/3.5/library/tarfile.html) there is
a line which reads:
mode is either 'r' to read from an existing archive, 'a' to append data to an
existing file, 'w' to create a new file overwri
Phil Elson added the comment:
> I didn't see a test case relating to the example in his comment, namely
>
> f.format("{0:{}}", 'foo', 5)
>
> Did I miss it?
The example should fail, which it wouldn't have done with the patch previously
propose
Phil Elson added the comment:
Ok. I think I've done all of the actions from the reviews.
I'm not sure if I should remove the old patches or not?
Thanks,
--
Added file: http://bugs.python.org/file29304/pelson_warnings_fix_4.diff
___
Pyth
New submission from Phil Elson:
The example at http://docs.python.org/3.4/howto/descriptor.html#properties does
not run due to the old style "raise AttributeError, message" form.
This patch fixes the problem, and also goes through the docs to remove explicit
sub-classing from &qu
New submission from Phil Connell:
A recipe often requested on the likes of stackoverflow and activestate is a way
to look 'ahead' in an iterator, without altering the values returned for
subsequent next() calls.
Last time this came up on python-ideas, it got a reasonable recepti
Phil Connell added the comment:
I like the suggested API: "iterator with indexing" is a good articulation of
the request.
--
___
Python tracker
<http://bugs.python.o
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue14905>
___
___
Python-bugs-list mailing list
Unsubscribe:
Phil Connell added the comment:
The problem appears to be more general. zipimport fails for deeper hierarchies,
even with directory entries.
With the supplied patch (zipimport-issue14905-2.patch) I see the following:
$ unzip -l foo.zip
Archive: foo.zip
Length DateTimeName
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17630>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Phil Connell:
Only one level of namespace package nesting is handled correctly:
$ unzip -l foo.zip
Archive: foo.zip
Length DateTimeName
- -- -
0 2013-04-03 17:28 a/b/c/foo.py
0 2013-04-03 17:34 a/
0
Phil Connell added the comment:
I've raised issue17633 to track the issue in my last message.
--
___
Python tracker
<http://bugs.python.org/issue14905>
___
___
Changes by Phil Connell :
--
nosy: +isoschiz
___
Python tracker
<http://bugs.python.org/issue17633>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17636>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
Removed file: http://bugs.python.org/file29679/zipimport_ns.diff
___
Python tracker
<http://bugs.python.org/issue17633>
___
___
Python-bug
Changes by Phil Connell :
Added file: http://bugs.python.org/file29679/zipimport_ns.diff
___
Python tracker
<http://bugs.python.org/issue17633>
___
___
Python-bugs-list m
Phil Connell added the comment:
Here's a test that fails without the patch and succeeds with the patch.
--
Added file: http://bugs.python.org/file29696/test.diff
___
Python tracker
<http://bugs.python.org/is
Phil Connell added the comment:
I happened to spot this issue languishing, and the markups looked pretty
straightforward, so I just went ahead and did them.
Updated patch attached.
--
nosy: +pconnell
Added file: http://bugs.python.org/file29698/minicompat_tests_markedup.diff
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue9341>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
Removed file: http://bugs.python.org/file29679/zipimport_ns.diff
___
Python tracker
<http://bugs.python.org/issue17633>
___
___
Python-bug
Changes by Phil Connell :
Removed file: http://bugs.python.org/file29696/test.diff
___
Python tracker
<http://bugs.python.org/issue17633>
___
___
Python-bugs-list mailin
Phil Connell added the comment:
The attached patch is ready for review.
--
Added file: http://bugs.python.org/file29925/issue17633.diff
___
Python tracker
<http://bugs.python.org/issue17
Phil Connell added the comment:
The patch looks correct and complete, and still patches and passes the tests.
So, as far as I can see, this can be committed.
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue15
Phil Connell added the comment:
Here's a patch that updates getcomments to match the behaviour of getsource,
raising OSError if the source file can't be found and TypeError when passed a
built-in.
Since this is a backwards-incompatible change, presumably it can only be
applied to
Phil Connell added the comment:
Updated patch with markups suggested by Serhiy.
--
Added file: http://bugs.python.org/file29927/issue17633-2.diff
___
Python tracker
<http://bugs.python.org/issue17
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17123>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue15992>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue12489>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue16394>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue11549>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue11698>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue16863>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +pconnell
___
Python tracker
<http://bugs.python.org/issue17804>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Phil Connell :
--
nosy: +isoschiz, pconnell -pitrou
___
Python tracker
<http://bugs.python.org/issue17807>
___
___
Python-bugs-list mailing list
Unsub
Changes by Phil Connell :
--
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue17807>
___
___
Python-bugs-list mailing list
Unsubscribe:
101 - 200 of 218 matches
Mail list logo