Steve Dower added the comment:
I'll try, but if it's not feasible now I doubt it will become feasible until
the next installer revamp. Completely separate items are certainly okay.
--
___
Python tracker rep...@bugs.python.org
Martin Panter added the comment:
[Padding]
Please start sentences with capital letters, specifically “mkstemp() and
mkdtemp() are lower-level functions . . .”.
The new sentence at the top about context managers seems out-of-place. Perhaps
something like “They can also be used as context
Mark Lawrence added the comment:
msg227328 states it's not a really common scenario but I believe we must
still allow for it, what do others think?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22468
Demian Brecht added the comment:
FWIW, I've done some additional work to request/send in issue #12319 where I've
added support for chunked request encoding.
@David
if an iterable is passed in, it must be an iterable of bytes-like objects
This specific issue is addressed in the patch in
On 22/03/2015 23:54, vern.m...@gmail.com wrote:
Check out Sikuli at www.sikuli.org. It is an amazing program, and it is
scripted in Python (Jython actually)!
Good luck.
Only 2.7 again, when are we going to ban Luddites from this list? :)
--
My fellow Pythonistas, ask not what our language
Arfrever Frehtes Taifersar Arahesis added the comment:
Comment in Lib/tempfile.py mentions issue #23000, but should mention issue
#23700.
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
Mark Lawrence added the comment:
@Steve what is your take on this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1654408
___
___
Ned Deily added the comment:
Here's an updated patch for 3.4 and default. To test it, I had to inject a
faulty test server with a timeout error, as the test with the dead URL skips
properly on my system. For 2.7, the test doesn't fail for me even with the
injected server so I propose not
Martin Panter added the comment:
Well with a regular BufferedWriter, the chained exception is the same type as
the original exception, so it does not really matter. I was just using the
out-of-space exception as an easy way to get the body() method to abort in the
middle of a command.
The
New submission from Martin Panter:
This patch adds the PEP 457 positional-only slash “/” indicator to some
function signatures in the documentation. I only looked at the the os, builtin,
binascii, zlib and fcntl modules, and their functions where the documentation
incorrectly suggests that
Martin Panter added the comment:
I opened Issue 23738 about my problem with the new signature, so it does not
get forgotten.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22832
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
Mark Lawrence added the comment:
Any comments on the proposal to restrict the length of the returned string from
Py_GetBuildInfo() to 80 characters?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21313
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22079
___
Roundup Robot added the comment:
New changeset e5de4ee6aa4a by Benjamin Peterson in branch '3.4':
clarify behavior of shutil.move when destination exists (closes #22933)
https://hg.python.org/cpython/rev/e5de4ee6aa4a
New changeset 4502e598fe26 by Benjamin Peterson in branch '2.7':
clarify
Changes by Stefan Behnel sco...@users.sourceforge.net:
--
nosy: +scoder
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23642
___
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10482
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset aa79a04e9bf5 by Serhiy Storchaka in branch '2.7':
Issue #22079: Py3k warning now is issued in PyType_Ready() instead of
https://hg.python.org/cpython/rev/aa79a04e9bf5
New changeset 57a457ea84e4 by Serhiy Storchaka in branch '3.4':
Issue #22079:
STINNER Victor added the comment:
The patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22289
___
___
Python-bugs-list
Martin Panter added the comment:
Posting patch v2 with these changes:
* Split out scheme documentation fixes to Issue 23684.
* Renamed _NetlocResultMixinBase → _SplitParseBase
* Explained the default values of the flags better, and what None means
* Changed to Demian’s forward-looking “version
Steve Dower added the comment:
Does the patch still apply cleanly?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18407
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 9eb1ce7d8039 by Ned Deily in branch '3.4':
Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.
https://hg.python.org/cpython/rev/9eb1ce7d8039
New changeset 1aad901e0307 by Ned Deily in branch 'default':
Issue #22289: merge
Martin Panter added the comment:
Regarding special cases on the reading side, I think there should be an easy
way to distinguish them. The existing RawIOBase way is probably as good as any,
unless you want to take the chance to invent a better API:
* EOF (pipe closed, no more data ever)
Serhiy Storchaka added the comment:
Oh, I forgot to publish my comments. I dropped the changes for treesync.py
because treesync.py is not work with Python 3. I have written separate patch
for it and will open separate issue after writing tests.
--
Serhiy Storchaka added the comment:
But the same issue exists with regular files.
with open('/dev/full', 'wb') as f:
... f.write(b'x'*1)
...
Traceback (most recent call last):
File stdin, line 2, in module
OSError: [Errno 28] No space left on device
And using Python implementation
Ned Deily added the comment:
Thanks for the review. Fix committed for release in 3.4.4 and 3.5.0.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
Thomas 'PointedEars' Lahn pointede...@web.de:
| atom: ('(' [yield_expr|testlist_comp] ')' |
|'[' [testlist_comp] ']' |
|'{' [dictorsetmaker] '}' |
|NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False')
[Chris Angelico wrote:]
Implicit concatenation is part of
Mark Lawrence added the comment:
Who is best placed to address this issue?
--
components: +Build, Extension Modules -Windows
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21110
Martin Panter added the comment:
Hmm it seems my change for os.utimes() in Modules/posixmodule.c does not
automatically get reflected in the doc string. Is there some script I can run
to regenerate it, or do I have to do it manually?
--
___
Python
Serhiy Storchaka added the comment:
./python Tools/clinic/clinic.py --make
or just
make clinic
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23738
___
Mark Lawrence added the comment:
Would someone like to review the patch please, being aware that there are other
open issues relating to compiler warnings on Windows.
--
nosy: +steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
Steve Dower added the comment:
I believe so. py.exe doesn't provide the -m option, so it has already selected
the version by the time that starts running.
Shebangs are really just for launching the file directly. python -m module on
Linux will also ignore the shebang.
--
Paul Moore added the comment:
That sounds reasonable. I understand the need for face-to-face discussion on
something like this, although I do think there's been something of a tendency
in the past for things decided at PyCon to receive a certain amount of
resistance from people who weren't
Liam Marsh added the comment:
er... is the fact that py -m module ignore module's shebang deliberate?
(using the 3.4.2 version of py.exe)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23546
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23738
___
Martin Panter added the comment:
The new fd_leaks_tools1_2.patch seems to have dropped the changes for
Tools/scripts/treesync.py, compared to the previous fd_leaks_tools1.patch.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 0b2993742650 by Paul Moore in branch 'default':
#23657 Don't explicitly do an isinstance check for str in zipapp
https://hg.python.org/cpython/rev/0b2993742650
--
nosy: +python-dev
___
Python tracker
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
Saulius Žemaitaitis added the comment:
Python 2.7.9 (default, Jan 29 2015, 06:27:40)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23739
Changes by SilentGhost ghost@gmail.com:
--
nosy: +lemburg, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23739
___
___
Python-bugs-list
Changes by Paul Moore p.f.mo...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23657
___
Terry J. Reedy added the comment:
Some people use Windows Explorer as their default means for working with
programs and files, including Python via Idle and their own .py files. What
some need, as I said previously, is an explicit 'Edit with Idle x.y' for each
installed Python. They need
R. David Murray added the comment:
It looks like both of those changes were part of the python3 transition, and
thus not subject to our backward compatibility rules. (Which, it should be
noted, we applied rather more loosely in python 3.1, 3.2, and even to a smaller
extent in 3.3).
Mark Lawrence added the comment:
Is the thinking and hence the patch correct here?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22163
___
Serhiy Storchaka added the comment:
Indeed. And all the comment could be better.
Does anyone want to write better comment in the light of recent estimations?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
Changes by Akira Li 4kir4...@gmail.com:
--
nosy: +akira
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10482
___
___
Python-bugs-list mailing list
Steve Dower added the comment:
Also, that should be py -3 -m idlelib.idle %1 so we get the actual latest
IDLE from the context menu. (This does not affect the start menu items at all.)
--
___
Python tracker rep...@bugs.python.org
Zbyszek Jędrzejewski-Szmek added the comment:
v2:
- remove reflows
- update TemporaryDirectory description too
- do not call things which are not functions functions
- with O_TMPFILE the file is not unlinked, also update TemporaryFile
description for that
- link to Examples
--
Added
Serhiy Storchaka added the comment:
I doubt that it is good idea to close connection on *any* error. For example in
_getresp() resp.decode() can raise an exception, but this failure isn't related
to the ability of sending QUIT and other commands.
Sample error handling in your first message
R. David Murray added the comment:
Personally I would rather stick to the [] syntax in the docs, with the default
values mentioned in the text.
--
nosy: +georg.brandl, r.david.murray
___
Python tracker rep...@bugs.python.org
On 3/20/2015 10:55 AM, Grant Edwards wrote:
I need to automate operation of a Windows application.
I've been productively using python to create macro scheduler [1]
scripts to automate windows programs for years.
A sample script:
Press Alt
Send Character/Textcu
Release Alt
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
R. David Murray added the comment:
It looks to be clearly the case that there needs to be some error handling code
wrapped around the file write in _getlongresp. Your patch doesn't do just
that, however, so it seems like there may be other errors you are also worried
about? Can you explain
R. David Murray added the comment:
Demien, your patch looks good to me except that it would be better to
consolidate the three adjacent versionchanged entries into one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
Brett Cannon added the comment:
Will probably want to see http://bugs.python.org/issue17232 resolved as part of
this as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23731
___
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23738
___
___
Python-bugs-list
Steve Dower added the comment:
tkinter and our tcl/tk builds are so closely linked there's no point separating
them IMHO.
It sounds like this report was prompted by a misconfiguration, so there's
nothing really to fix here.
--
___
Python tracker
Brett Cannon added the comment:
I haven't thought about how to implement it, let alone document it. As I said,
I might simply refactor importlib so that others can at least implement a
loader which can do this without having to directly muck with importlib itself.
It really depends on how far
New submission from Saulius Žemaitaitis:
Steps to reproduce:
python2.7 -c import locale; locale.setlocale(locale.LC_ALL, u'en_US')
Raises: ValueError: too many values to unpack
Problem lies in locale.py file from the standard library. It checks if locale
is string incorrectly:
if locale
R. David Murray added the comment:
How's this?
--
Added file: http://bugs.python.org/file38635/csv_iter_commemt.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
Serhiy Storchaka added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset e9f03315d66c by R David Murray in branch '3.4':
#23700: fix/improve comment
https://hg.python.org/cpython/rev/e9f03315d66c
New changeset 64f4dbac9d07 by R David Murray in branch 'default':
Merge: #23700: fix/improve comment
R. David Murray added the comment:
Oh, and the additional what's new text would in this case be pretty much the
contents of that multi-line versionchanged entry, as a bullet item in the
'porting' section. That is, they are behavior changes that are closer to API
fixes than new features, and
Roundup Robot added the comment:
New changeset 5c3dc817ffd7 by R David Murray in branch '2.7':
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
https://hg.python.org/cpython/rev/5c3dc817ffd7
New changeset f6f72422df96 by R David Murray in branch '3.4':
#23539: Set
New submission from R. David Murray:
While committing the patch for issue 23539 I decided to rewrite the 'request'
docs for clarity. I doing so I found that http.client isn't as consistent as
it could be about how it handles bytes and strings. Two points specifically:
it will only take the
STINNER Victor added the comment:
Yeah, the new comment is better :-) Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
___
paul j3 added the comment:
My opinion is that this is an unnecessary addition.
Reasons:
- it is easy to add as a custom action class
- I haven't seen other requests for it
- the append retains information about the argument strings that extend looses
- it is easy flatten the appended
Roundup Robot added the comment:
New changeset a56aa567072c by R David Murray in branch '2.7':
#23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.
https://hg.python.org/cpython/rev/a56aa567072c
New changeset c1348ada8fc6 by R David Murray in branch '3.4':
#23647: Increase
R. David Murray added the comment:
Thanks James and Demien. I decided to rewrite the 'request' docs for Python3
to make them easier to follow (and more accurate). Hopefully I didn't make any
mistakes, but you might want to review it just in case.
--
resolution: - fixed
stage:
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: -patch
stage: commit review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23647
___
R. David Murray added the comment:
Well, the current reality not counting the bug reported in this issue. So, I
documented it as if the fix here is to not set the length when body is an
iterator.
--
___
Python tracker rep...@bugs.python.org
paul j3 added the comment:
http://bugs.python.org/issue11588 is an earlier request for 'necessarily
inclusive' groups.
The patches that I proposed there are more general, allowing for other logical
combinations of arguments, as well as nesting groups. As such it is more
complex than your
James Rutherford added the comment:
Updated docs look good to me, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23539
___
___
Cyd Haselton added the comment:
Ryan,
Has anyone taken you up on the non-KBOX testing?
Do you need me to test the patches within the KBOX environment?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23496
Serhiy Storchaka added the comment:
See also issue23350 and issue23360.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23740
___
New submission from Serhiy Storchaka:
This issue is not so ambitious as issue7434. Proposed match only slightly
refactor current implementation, so it becomes easier extensible for standard
types. No public interface provided, this task left for issue7434. No behavior
changed.
--
Ryan Gonzalez added the comment:
Cyd: if you could do that, it would be great!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23496
___
___
R. David Murray added the comment:
I just updated the docs to what I think is the current reality. See issue
23740 for what I think are problems with the current implementation, aside from
any enhancement of computing a length for tuple or list. Since the latter
cannot be done reliably
Steve Dower added the comment:
If you want me to take this request to pydev, I will, but it seems
straightforward to me.
I'll go get Dad seems a fairly immature threat and it's really not necessary.
However, (after writing and then deleting a long exposition of the options) the
most
paul j3 added the comment:
It certainly looks like a documentation issue. `action` doesn't make sense
here. `add_subparsers` normally creates an Action of type `_SubParsersAction`.
'action' for normal 'add_argument' command defines the Action type created at
that time. Conceivably a
R. David Murray added the comment:
Now that I've had time to look at this, I see that in fact RFC2683 says nothing
about what value MAXLINE should have, unless one is reasoning by analogy. It
is concerned with *command line* lengths from the client to the server, not
about server responses.
Wolfgang Maier added the comment:
- I haven't seen other requests for it
For the record, an Extend custom action class is one of very few such classes I
have ever written for argparse for exactly the OP's usecase, i.e., it is useful
for any parser that should accept the same option multiple
Serhiy Storchaka added the comment:
Here is recent patch.
--
versions: +Python 3.5 -Python 3.4
Added file: http://bugs.python.org/file38637/sre_ptr_out_of_bounds_4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18684
Martin Panter added the comment:
David: Calculating the length of a list or tuple of Latin-1 text strings should
actually be straight-forward and reliable, because it is a single-byte encoding.
However I am starting to think adding a new special case for lists and tuples
is a bad idea. There
Martin Panter added the comment:
As well as encoding iterables of str(), text files could also be handled more
consistently by checking the read() return type. That would eliminate the
complication of checking for a b mode.
--
___
Python tracker
Martin Panter added the comment:
I think a warning in the documentation might be helpful.
However a special check in the code doesn’t seem right. Would you check for
LZMAFile and BZ2File as well? Some of the other attributes (modification time,
owner, etc) may be useful even for a GzipFile,
New submission from bintang raksaguna:
href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat
Kursus website, SEO, Desain Grafis Favorit/a
a
href=http://winstarlink.com/tempat-kursus-website-seo-desain-grafis-favorit-2015-di-jakarta/;Tempat
Kursus
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - not a bug
stage: - resolved
status: open - closed
title: web course - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23737
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
Removed message: http://bugs.python.org/msg238875
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23737
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
hgrepos: -302
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23737
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Here is a patch for unicodedata.
--
keywords: +patch
nosy: +serhiy.storchaka
Added file: http://bugs.python.org/file38630/unicodedata_clinic.patch
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Given its Windows specific nature, I'll always defer to Steve and the other
Windows devs when it comes to the launcher.
My main involvement (aside from general mailing list commentary) was asking
Vinay to bring the independently distributed version under the
Nick Coghlan added the comment:
Added Petr to the nosy list here as well.
Petr - this is the kind of discrepancy I'm hoping that PEP 489 can help remedy,
so it may make for a good test case :)
--
nosy: +encukou
___
Python tracker
Nick Coghlan added the comment:
The current patch moves print operations inside timeit() and repeat(), instead
of leaving the main() function as the only one with side effects.
My counter-proposal was to instead extract the current main functionality out
into a side-effect free public API of
Serhiy Storchaka added the comment:
Minimal reproducer:
try:
... 1/0
... except:
... int('spam')
...
Traceback (most recent call last):
File stdin, line 2, in module
ZeroDivisionError: division by zero
During handling of the above exception, another exception occurred:
ValueError:
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file38637/sre_ptr_out_of_bounds_4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18684
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file38638/sre_ptr_out_of_bounds_4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18684
___
Terry J. Reedy added the comment:
Collapsing multiple 'Edit with Idle x.y' entries into one 'Edit with Idle ' +
submenu (or 'Edit with Idle 3 ' + submenu) would be fine once practical to do
so.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 19f36a2a34ec by Serhiy Storchaka in branch 'default':
Issue #23252: Added support for writing ZIP files to unseekable streams.
https://hg.python.org/cpython/rev/19f36a2a34ec
--
nosy: +python-dev
___
Mark Lawrence added the comment:
Just making sure our Windows people are aware of this issue.
--
components: +Windows
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21319
1 - 100 of 133 matches
Mail list logo