Serhiy Storchaka added the comment:
AFAIK, bytes(int) is a remnant from times when bytes was mutable. Then bytes
was split to non-mutable bytes and mutable bytearray and this constructor was
forgotten. I'm +0 for deprecation.
--
___
Python tracker
Serhiy Storchaka added the comment:
What about other spaces: '\N{OGHAM SPACE MARK}', '\N{EN QUAD}', '\N{EM QUAD}',
'\N{EN SPACE}', '\N{EM SPACE}', '\N{THREE-PER-EM SPACE}', '\N{FOUR-PER-EM
SPACE}', '\N{SIX-PER-EM SPACE}', '\N{FIGURE SPACE}', '\N{PUNCTUATION SPACE}',
'\N{THIN SPACE}', '\N{HAIR
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +Unicode
nosy: +benjamin.peterson, ezio.melotti, haypo, lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20491
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20491
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Tk supports alpha only for photo images and as an attribute of top-level
window. It doesn't support alpha component in colors.
The desired color is specified with an object whose string value
must have one of the following forms:
Changes by Nitika Agarwal nitikaagarwa...@gmail.com:
Removed file: http://bugs.python.org/file34431/issue17188.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
Changes by Nitika Agarwal nitikaagarwa...@gmail.com:
Added file: http://bugs.python.org/file34432/issue17188.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
Pramod Jadhav added the comment:
Traceback (most recent call last):
File console, line 1, in module
File C:\Python33\lib\site-packages\django\db\models\query.py, line 74, in
__repr__
return repr(data)
File C:\Python33\lib\site-packages\django\db\models\base.py, line 423, in
__repr__
Jovik added the comment:
I'm quite aware of the os.sep issues between the systems, but I checked both
out of curiosity. Here are latest results:
All of the following commands raises the same exception:
proc = subprocess.Popen(plink, stdout=subprocess.PIPE,
cwd=c:\\python33\\workspace)
proc
Changes by Ned Deily n...@acm.org:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing
New submission from Andreas Schwab:
This comment say it all:
CHECK_TIMINGS = False # making true makes tests take a lot longer
# and can sometimes cause some non-serious
# failures because some calls block a bit
#
Changes by Ned Deily n...@acm.org:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20934
___
___
Python-bugs-list mailing list
Alexander Mohr added the comment:
Ya. The original request I think is ok because by allowing that flag it
will replace files and dirs.
On Mar 14, 2014 7:15 PM, R. David Murray rep...@bugs.python.org wrote:
R. David Murray added the comment:
I don't know what the method already allows for
Changes by Georg Brandl ge...@python.org:
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12901
___
Stefan Behnel added the comment:
Agreed that this should be done. The XInclude spec suggests that the processing
is transitive. Also, lxml does it that way, in both the libxml2 based
implementation and the ElementInclude compatibility module.
Antoine Pitrou added the comment:
When relying on the timeout feature of various system APIs (e.g. waiting on a
semaphore), there isn't much of an alternative to actually waiting a certain
amount of time, and measuring the resulting delay. Other tests in the stdlib do
this, which is indeed
Eric V. Smith added the comment:
In the first example, you switch from ./app to app.exe when using
shell=True.
What happens to any of your examples if you add .exe without shell=True?
Popen eventually calls CreateProcess on Windows. From:
Eric V. Smith added the comment:
Assuming this is the problem, we should at least document this. It does make
cross-platform coding difficult.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
Roumen Petrov added the comment:
actually proposed fix is my patch from 17219 with long history before.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20212
___
Roumen Petrov added the comment:
P.S. two patches posted to Issue17219 are for master branch as second one
should apply cleanly to current.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20212
Daniel Andrade Groppe added the comment:
Added missing constants and response status codes:
Constants:
ALREADY_REPORTED, PERMANENT_REDIRECT, LOOP_DETECTED
Response status codes:
102, 207, 208, 226, 308, 422, 423, 424, 426, 507, 508
--
components: +Extension Modules -Library (Lib)
Changes by Kathleen Weaver kathl...@kweaver.org:
--
nosy: +kathweaver
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20927
___
___
Python-bugs-list
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18931
___
___
Kathleen Weaver added the comment:
I've gone through and followed the online directions. They do allow the person
following the directions to build Python.
My question: I assume that isn't sufficient to really build a patch.
The readme has directions that includes the information that is
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16716
___
___
Python-bugs-list
Ethan Furman added the comment:
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
-- bytes(5)
'5'
-- bytearray(5)
bytearray(b'\x00\x00\x00\x00\x00')
Andreas Schwab added the comment:
test_io.CSignalsTest.check_interrupted_write can fail in an emulated
environment when the alarm races with the write call.
--
nosy: +schwab
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20910
Roundup Robot added the comment:
New changeset 6a78bbd0fda4 by R David Murray in branch '3.3':
#20933: At least one place maps 'test' to 'localhost'...fix test.
http://hg.python.org/cpython/rev/6a78bbd0fda4
New changeset 586de8d96817 by R David Murray in branch 'default':
Merge: #20933: At
Andreas Schwab added the comment:
Also, sometimes tests fail in non-verbose mode, but succeed in verbose mode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20910
___
R. David Murray added the comment:
Fix looks good to me, thanks. I changed the name to be a bit more descriptive,
and wrapped the line to less than 80 characters.
--
nosy: +r.david.murray
stage: - committed/rejected
status: open - closed
type: - behavior
versions: +Python 3.3
New submission from Jeffrey Walton:
From Python head in mercurial.
When building Python under Clang's sanitizers, we provide a couple of flags to
instrument binaries with the sanitizers. For example:
export CC=/usr/local/bin/clang
export CXX=/usr/local/bin/clang++
export CFLAGS=-g3
Jeffrey Walton added the comment:
And:
Modules/_testembed: Modules/_testembed.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY)
$(LINKCC) -g3 -fsanitize=address $(PY_LDFLAGS) $(LINKFORSHARED) -o $@
Modules/_testembed.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
--
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20930
___
Jeffrey Walton added the comment:
And:
Modules/_freeze_importlib: Modules/_freeze_importlib.o
$(LIBRARY_OBJS_OMIT_FROZEN)
$(LINKCC) -g3 -fsanitize=address $(PY_LDFLAGS) -o $@
Modules/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS)
$(SYSLIBS) $(LDLAST)
--
R. David Murray added the comment:
Please post on the python-list mailing list asking for help on either
understanding your problem or formulating it into a bug report that we can act
on. In the meantime I'm going to close the issue as invalid, but you can
reopen it if you can explain what
R. David Murray added the comment:
How about Interpreter Improvements? The marshall format change isn't exactly
a behavior change, but other implementations will need to be able to cope with
it. Or should that be moved to Library changes?
--
___
New submission from Jeffrey Walton:
From Python head in mercurial:
$ hg id
7ce22d0899e4+ tip
[118/389/1] test_strftime
==11587==WARNING: AddressSanitizer failed to allocate 0x7fff bytes
==11587==AddressSanitizer's allocator is terminating the process instead of
returning 0
New submission from Jeffrey Walton:
From Python head in mercurial:
$ hg id
7ce22d0899e4+ tip
Exporting set allocator_may_return_null=1 for Clang might tickle this issue.
Without the export, this test did not fail.
=
py.user added the comment:
In proposed patches fix
Skiptest - :exc:`SkipTest`
AssertionError - :exc:`AssertionError`
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18566
___
Ned Deily added the comment:
I think New Features works better.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list
Changes by Nitika Agarwal nitikaagarwa...@gmail.com:
Removed file: http://bugs.python.org/file34432/issue17188.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
Changes by Nitika Agarwal nitikaagarwa...@gmail.com:
Added file: http://bugs.python.org/file34434/issue17188.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
Jessica McKellar added the comment:
Thanks for the patch, Michael!
There's a small doc build issue with your patch: the note on int shows up
inside the code block for the examples.
In response to rhettinger's feedback I've attached a slightly more compact
patch that hits the highlights. I
New submission from Ben W.:
The link to http://www.python.org/editors/ at the bottom of the answer to Is
Python a good language for beginning programmers? in the General Python FAQ is
broken.
--
assignee: docs@python
components: Documentation
messages: 213671
nosy: docs@python,
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Python-bugs-list
Ned Deily added the comment:
Thanks for the report. This is an issue with the new python.org website. I've
opened an issue on the website tracker on your behalf:
https://github.com/python/pythondotorg/issues/304
--
nosy: +ned.deily
resolution: - 3rd party
stage: -
Ned Deily added the comment:
(Cherry pick has a special meaning for the release process.)
--
nosy: +ned.deily
title: Cherry pick CFLAGS, add to flags for $(BUILDPYTHON) Makefile rule -
Support building Python with Clang sanitizer rules
___
Python
Sreepriya Chalakkal added the comment:
I tried running with Python 3.4 the following code
import sys
print(sys.argv[1])
print(b'bytes')
And I ran as follows trying to run with a different encoding.
$ python ~/a.py `echo priya|iconv -t latin1`
priya
bytes
There was no unicode encode error
Jeffrey Walton added the comment:
This does not look quite right from Modules/sockewtmodule.c.
/* Fill in an iovec for each item, and save the Py_buffer
structs to release afterwards. */
if (nitems 0 ((iovs = PyMem_New(struct iovec, nitems)) == NULL ||
ingrid added the comment:
Here is a patch. I made the register show-response format consistent with the
upload show-response format and added tests for both. Please let me know if you
have any feedback.
--
keywords: +patch
Added file: http://bugs.python.org/file34436/issue20900.patch
New submission from Ned Deily:
It looks like another change to the new python.org website is breaking another
test:
==
FAIL: test_geturl (test.test_urllibnet.urlopenNetworkTests)
Miloš Komarčević added the comment:
Thanks for the exhaustive explanation.
I did however come across a proprietary application that stores it's
configuration in an INI like file that exhibits this corner case behaviour with
section names, hence the suggestion for enhancement.
--
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20938
___
___
Roundup Robot added the comment:
New changeset 9b02f23bc129 by Ned Deily in branch '2.7':
Issue #20939: Fix test_geturl failure in test_urllibnet due to
http://hg.python.org/cpython/rev/9b02f23bc129
New changeset 030efedd70ca by Ned Deily in branch '3.3':
Issue #20939: Fix test_geturl failure
Ned Deily added the comment:
The above changes temporarily fix the problem as long as the build include ssl
support. We should probably change all of the tests to use some other domain
that does not redirect to https: www.example.com has been suggested.
--
Roundup Robot added the comment:
New changeset 772404a89b88 by Benjamin Peterson in branch '2.7':
send people to the right editors page (#20938)
http://hg.python.org/cpython/rev/772404a89b88
New changeset 014c2a62c168 by Benjamin Peterson in branch '3.3':
send people to the right editors page
Raymond Hettinger added the comment:
Approved. You can go ahead and apply this.
--
assignee: rhettinger - jesstess
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
New submission from Jeffrey Walton:
Test 240 also suffers from a buffer overflow on sock_recvmsg_guts.
Test 240 is the test that follows 239, and 239 is [239/389/2] test_unittest.
(I don't believe the message for 239 has flushed).
Raymond Hettinger added the comment:
Thanks Terry.
And yes, your reading of the set.update() docs is correct, Update the set,
adding elements from all others means that it updates the set by adding the
elements from the other sets.
FWIW, getting into details about which value wins goes
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16665
___
___
Python-bugs-list
New submission from Jeffrey Walton:
pytime.c:184: runtime error: value -1e+200 is outside the range of
representable values of type 'long'
and
pytime.c:218: runtime error: value -1e+200 is outside the range of
representable values of type 'long'
It appears the cast on 'intpart' is
Terry J. Reedy added the comment:
I see. Perhaps it uses a proprietary .ini reader ;-).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20923
___
Terry J. Reedy added the comment:
Closing due to 3rd party limitation, much as I wish it were not so.
--
resolution: - 3rd party
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola, neologix, pitrou
versions: +Python 3.3, Python 3.4 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20937
___
Éric Araujo added the comment:
Thank you, the patch looks excellent. I’ll apply it in a day or two.
--
assignee: - eric.araujo
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20900
Benjamin Peterson added the comment:
Just use LDFLAGS.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
___
___
Jeffrey Walton added the comment:
On Sat, Mar 15, 2014 at 6:34 PM, Benjamin Peterson
rep...@bugs.python.org wrote:
Benjamin Peterson added the comment:
Just use LDFLAGS.
Yeah, I tried that and broke the sanitizer:
https://groups.google.com/d/msg/address-sanitizer/cu2WoD1Bwx8/zUoY9GH7oHkJ.
Benjamin Peterson added the comment:
CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure
--with-system-expat make -j4
works for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20935
Kathleen Weaver added the comment:
I've gone through everything and cleaned things up per zach.ware review.
--
Added file: http://bugs.python.org/file34437/kweaver.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20265
Jeffrey Walton added the comment:
On Sat, Mar 15, 2014 at 7:11 PM, Benjamin Peterson
rep...@bugs.python.org wrote:
Benjamin Peterson added the comment:
CFLAGS=-g3 -fsanitize=address LDFLAGS=-fsanitize=address ./configure
--with-system-expat make -j4
works for me.
Oh,my bad. I thought
Ned Deily added the comment:
I've just seen another instance of this failure, this time using a 3.4.0
release test OS X installer build (non-debug, built on and running on OS X
10.5). The added diagnostics show up:
[186/389/1] test_logging
Deleted at 1394930826.466016, opened at
Roundup Robot added the comment:
New changeset 464c22bf9fe1 by Antoine Pitrou in branch '3.3':
Close #16665: improve documentation for hex(). Patch by Jessica McKellar.
http://hg.python.org/cpython/rev/464c22bf9fe1
New changeset d14beaf03f55 by Antoine Pitrou in branch '2.7':
Close #16665:
Antoine Pitrou added the comment:
Jessica doesn't have commit rights, so I committed this myself.
Also added an example of the funny hex(long) behaviour in Python 2.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset a775fe9e7f86 by Antoine Pitrou in branch 'default':
Issue #20926: Enhance Quick Start portion of instructions for Windows. Patch
by Kathleen Weaver.
http://hg.python.org/devguide/rev/a775fe9e7f86
--
nosy: +python-dev
Antoine Pitrou added the comment:
Ok, I've committed the patch. Thank you!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20926
Antoine Pitrou added the comment:
There was no unicode encode error generated! Is it because the problem
is fixed?
No, it's not fixed.
First, it seems you are testing with Python 2 (otherwise you would get
b'bytes', not bytes). Python 2 won't have a problem here, since it treats
everything
Nick Coghlan added the comment:
Rereading that section (it has currently been adjusted to say New Features),
I suggest:
- consistently using sentence case for those list headings
- tweaking that particular heading to say Other new features: (to contrast
with the New syntax features: heading
Larry Hastings added the comment:
RDM's checkin ( 21ecc3d52806 ) renamed the subheading of Summary -- Release
Highlights from New Expected Features for Python Implementations to New
features. But there's still a major heading with that title. Surely we want
to rename that one too?
Larry Hastings added the comment:
I propose to check this in.
--
keywords: +patch
Added file:
http://bugs.python.org/file34438/larry.remove.other.instance.of.clumsy.wording.1.diff
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20931
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset 3488a9fbe09e by Larry Hastings in branch 'default':
Issue #20931: Fix other confusingly-worded heading.
http://hg.python.org/cpython/rev/3488a9fbe09e
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 7e78e602ec73 by R David Murray in branch 'default':
whatsnew: Fix Features section title, use title/sentence case consistently.
http://hg.python.org/cpython/rev/7e78e602ec73
--
resolution: - fixed
stage: - committed/rejected
status: open
Roundup Robot added the comment:
New changeset 74144b0e7858 by Nick Coghlan in branch 'default':
Bring PEP 453 What's New entry up to date
http://hg.python.org/cpython/rev/74144b0e7858
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Reviewing the changes for issue 20931, I noticed that I hadn't been keeping the
PEP 453 What's New entry up to date with the changes during the beta/release
candidate cycle.
There's probably still too much technical detail in the updated version that
makes the
Nitika Agarwal added the comment:
Hey.
I am working on this patch.
--
nosy: +nitika
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18478
___
___
Nitika Agarwal added the comment:
Hi,
I would like to propose a patch for this issue.
--
nosy: +nitika
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4744
___
Nitika Agarwal added the comment:
Hello everyone,
I am working on this issue to create a patch
--
nosy: +nitika
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16927
___
Nitika Agarwal added the comment:
Hello everyone,
I am working on this issue to create a patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18854
___
Larry Hastings added the comment:
ok. actually pulling all the docs from default into 3.4.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Can I mark this closed? I'm tagging 3.4.0 final soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18257
___
Larry Hastings added the comment:
Was this done? I'm tagging 3.4.0 final soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16245
___
___
Larry Hastings added the comment:
Fixed in b2ee3fe195e2.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20379
Larry Hastings added the comment:
If the 3.4 changes are done, can we either close this or remove 3.4 from the
versions?
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16123
Larry Hastings added the comment:
So is this fixed? Can we close the issue? I'm tagging 3.4.0 final soon.
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20884
___
Nick Coghlan added the comment:
Status update:
- Brett added the porting note to What's New for 3.4.0 final.
- the fact importlib.__init__ can't currently be frozen due to the incidental
use of __file__ is now just a bug to be fixed in 0.4.1, and fixing that will be
the trigger for closing
New submission from Nick Coghlan:
As part of the PEP 451 changes, frozen imports were updated to avoid setting
the __file__ attribute, as that attribute makes no sense for frozen modules.
However, _frozen_importlib isn't loaded through the normal mechanisms (they
don't exist yet!), so it is
96 matches
Mail list logo