[issue47115] Documentation inconsistency with the stable ABI

2022-03-25 Thread Jeremiah Gabriel Pascual
New submission from Jeremiah Gabriel Pascual : In https://docs.python.org/3/c-api/typeobj.html#static-types, it says that PyTypeObject isn't part of the stable ABI. Yet, in https://docs.python.org/3/c-api/type.html#c.PyTypeObject, it says that PyTypeObject IS part of the stable ABI. Which

[issue47012] Speed up iteration of bytes and bytearray

2022-03-14 Thread Jeremiah Gabriel Pascual
Change by Jeremiah Gabriel Pascual : -- nosy: +Crowthebird ___ Python tracker <https://bugs.python.org/issue47012> ___ ___ Python-bugs-list mailing list Unsub

[issue37907] speed-up PyLong_As*() for large longs

2022-03-13 Thread Jeremiah Gabriel Pascual
Jeremiah Gabriel Pascual added the comment: New benchmarks with the new changes: PyLong_AsSsize_t: Mean +- std dev: [orig] 10.3 us +- 0.6 us -> [modif] 9.03 us +- 0.61 us: 1.14x faster PyLong_AsSize_t: Mean +- std dev: [orig] 10.5 us +- 2.4 us -> [modif] 9.26 us +- 0.17 us: 1.13x

[issue37907] speed-up PyLong_As*() for large longs

2022-03-13 Thread Jeremiah Gabriel Pascual
Jeremiah Gabriel Pascual added the comment: Revisiting this 2+ year-old bug report, can I create another PR that implements the old PR's comments' suggestions? -- nosy: +Crowthebird ___ Python tracker <https://bugs.python.org/issue37

[issue44663] Possible bug in datetime utc

2021-07-17 Thread Gabriel Costa
New submission from Gabriel Costa : >>> datetime.now(timezone.utc).timestamp() 1626556067.054988 >>> datetime.utcnow().timestamp() 1626566875.174921 Should there be a difference between the two modes? -- components: C API messages: 397733 nosy: gabhcosta priorit

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2021-03-22 Thread Gabriel Amine Eddine
Change by Gabriel Amine Eddine : -- nosy: +gabrielhae ___ Python tracker <https://bugs.python.org/issue15751> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Elian Mariano Gabriel
Change by Elian Mariano Gabriel : -- keywords: +patch pull_requests: +22358 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23468 ___ Python tracker <https://bugs.python.org/issu

[issue42439] Use of ternary operator instead of if and else in month calculation function

2020-11-22 Thread Elian Mariano Gabriel
New submission from Elian Mariano Gabriel : Inside the file calendar.py, there are two functions which are supposed to calculate the previous and next month relative to the actual year and month. def _prevmonth(year, month): if month == 1: return year-1, 12 else

[issue41657] Refactor for object source files variable in Makefile

2020-08-28 Thread Elian Mariano Gabriel
Change by Elian Mariano Gabriel : -- keywords: +patch pull_requests: +21099 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21993 ___ Python tracker <https://bugs.python.org/issu

[issue41657] Refactor for object source files variable in Makefile

2020-08-28 Thread Elian Mariano Gabriel
New submission from Elian Mariano Gabriel : Refactoring in the Makefile is needed due a hard coded declaration to the 'OBJECT_OBJS' variable in the line 388. This hard coded declaration can be replaced by a pattern substitution function which assigns the 'OBJECT_OBJS' variable in this much

[issue41469] Problem with serial communication

2020-08-03 Thread Jose Gabriel
New submission from Jose Gabriel : I was doing a small serial communication system using pyserial. when I done the script on a .py file, it not worked. but when I opened the python console and writed line by line the same code of the .py file, it worked. the .py file: import serial ser

PyJNIus 1.3.0 released

2020-05-03 Thread Gabriel Pettier
The Kivy team and contributors to the PyJNIus project are happy to announce the release of PyJNIus 1.3.0. PyJNIus is a library allowing to use Java classes in CPython, by using the Java Native Interface, and reflection, it works on desktop (Windows, OSX, Linux) and Android. Java 8 to 12 are

Fw: Python installation problem

2020-04-01 Thread HERNANDEZ AGUIRRE JOSE GABRIEL DE LA DOLOROSA
En Mar, 31 Marzo, 2020 en 18:48, yo escribió:   Para: python-list@python.org I  installed  the Python software , but I could not find the python.exe file with the Unscramble software What do you advise ? Regards -- https://mail.python.org/mailman/listinfo/python-list

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-30 Thread Gabriel Tardif
Gabriel Tardif added the comment: Be aware that maxtasksperchild work together with the chunksize parameter of the map fonction when you use it and the default chunksize value is not 1, it's calculated according to your inputs, process and other parameters. -- resolution

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-30 Thread Gabriel Tardif
Change by Gabriel Tardif : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39458> ___ ___ Python-bugs-list

[issue39458] Multiprocessing.Pool maxtasksperchild=1 doesn't work

2020-01-26 Thread Gabriel Tardif
New submission from Gabriel Tardif : Hello This bug is about the maxtasksperchild parameter in the Pool object constructor of the multiprocessing module. When you set processes = 1 in the Pool constructor maxtasksperchild value is double by two for unknow raison whatever the maxtaskperchild

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-09-09 Thread Gabriel C
Gabriel C added the comment: Some further investigation suggests this may have nothing to do with pickle at all. Consider the following short example: ``` def CreateDynamicClass(basetype): class DynamicClassImpl(basetype): def __init__(self): super(DynamicClassImpl

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-08-31 Thread Gabriel C
New submission from Gabriel C : The following results in a segfault on 3.7.4 (running on macOS high sierra) and 3.5 (running on ubuntu 16.04). It does not happen in python 2.7. The problem seems to involve two effects. The first is the creation of a class with a dynamic type that inherits

[issue35971] Documentation should warn about code injection from current working directory

2019-02-11 Thread Gabriel Corona
New submission from Gabriel Corona : The CLI tools shipped in Debian python-rdflib-tools package can load modules from the current directory [1]: $ echo 'print("Something")' > cgi.py $ rdf2dot INFO:rdflib:RDFLib Version: 4.2.2 Something Reading from

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread Gabriel Corona
Gabriel Corona added the comment: Now that the default PRNG of the 'random' package is automatically reseeded at fork, wouldn't it make sense to reseed the OpenSSL seed as well? (At the same time the OpenSSL wiki states [1] that "The situation has changed greatly, starting with Op

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-20 Thread Gabriel Marko
Gabriel Marko added the comment: @Larry and Terry: I want to stay out of this discussion or participation on Python development for the future as I've expressed it elsewhere (https://bugs.python.org/issue34660#msg325515). However, I want to address the unfair treatment of my person

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reed: I politely ask you: Please use my proper first name if you refer to me and please don't call me an extremist (like here https://bugs.python.org/msg325802). Feel free to criticize my opinion but don't put labels on me. We don't know each other

[issue34605] Avoid master/slave terminology

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34605> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34660> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Gabriel Marko
Change by Gabriel Marko : -- nosy: -suic ___ Python tracker <https://bugs.python.org/issue34694> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-17 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reedy > Gabriel, I believe I addressed most your concerns in my previous post. I don't think so (see below) but we don't have to agree in everything. :) > Are you are suggesting that we judge proposals _by the proposer_, rather than > the

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @terry.reedy: By madness I meant: 1. blank replacement of words without relevant justification. Collecting 5 links and labelling some words as pejorative or ist or do it for “diversity reasons” etc. is no justification. I have no problem with changing

[issue34605] Avoid master/slave terminology

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @serhiy.storchaka: IMO, the problem isn't the master/slave terminology itself but the way how the changes were introduced (no discussion) and the justification ("diversity reasons"???). IMO this is the next level: https://bugs.python.org/issue3

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: @Mariatta: > There will be no further discussion about this. Repeating this over and over again won't solve the (any) issue. This madness reached another level here: https://bugs.python.org/issue34660. That was exactly my point here: https://bugs.python.

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-16 Thread Gabriel Marko
Gabriel Marko added the comment: Come on guys. Stop this madness. :( -- nosy: +suic ___ Python tracker <https://bugs.python.org/issue34660> ___ ___ Python-bug

[issue34605] Avoid master/slave terminology

2018-09-13 Thread Gabriel Marko
Gabriel Marko added the comment: The discussion under GH PRs is now censored. What will be the next level? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @cheryl.sabella let me challenge some points in your arguments: > Based on that, I don't think it's fair to blame Victor for bringing it up for > discussion. Ok, but where was the discussion? @vstinner didn't even make a point and some of the PR

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @mcepl: I completely agree with you that we shouldn't waste time with this. I would be better not to dig into the discussion about "master-slave" terminology. IMO we don't even need to go into that as the problem here is more substantial: Thi

[issue34605] Avoid master/slave terminology

2018-09-08 Thread Gabriel Marko
Gabriel Marko added the comment: @vstinner: > For diversity reasons, it would be nice to try to avoid "master" and "slave" > terminology which can be associated to slavery. This is too vague. Define what "diversity reasons" are and elaborate your point.

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2018-09-02 Thread Gabriel McManus
Gabriel McManus added the comment: I don't know of any other OS that implements epoll, so this is issue is likely no longer a problem. Although it is strange to convert -1 to -1000 (as though from seconds to milliseconds), it may not be worth changing

[issue34422] __name__ not available for classes in typing module

2018-08-17 Thread Gabriel Tremblay
New submission from Gabriel Tremblay : Types under the typing module used to behave like other python classes regarding the __name__ attribute before Python 3.7. The behavior seems to have changed to a non-standard way. Py3.6 >>> from typing import List >>> dir(List) ['_

[issue33086] pip: IndexError

2018-03-16 Thread Gabriel Hearot
New submission from Gabriel Hearot <gabr...@hearot.it>: Traceback (most recent call last): File "setup.py", line 45, in classifiers=[] File "/usr/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-30 Thread David Gabriel
, line 1327, in _execute_child raise child_exception OSError: [Errno 13] Permission denied This error is also reproducible using sudo. Please advise how to fix it. Thanks in advance. Best regards 2017-10-28 14:33 GMT+02:00 David Gabriel <davidgab...@gmail.com>: > I forget to

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-28 Thread David Gabriel
I forget to precise that I am using pycharm. And this issue is reproducible also using command line to run the code. Best regards 2017-10-28 14:31 GMT+02:00 David Gabriel <davidgab...@gmail.com>: > Thanks so Lutz much for your reply. > I am using python2.7 and I am runni

Re: from packaging import version as pack_version ImportError: No module named packaging

2017-10-28 Thread David Gabriel
3:56:39PM +0200, David Gabriel wrote: > > from packaging import version as pack_version > > ImportError: No module named packaging > > > > I googled it and I have found so many suggestions regarding updating > > 'pip' and installing python-setuptools but all of these

from packaging import version as pack_version ImportError: No module named packaging

2017-10-27 Thread David Gabriel
Dears, I am running a python code that generates for me this error : from packaging import version as pack_version ImportError: No module named packaging I googled it and I have found so many suggestions regarding updating 'pip' and installing python-setuptools but all of these did not fix this

Send mouse clicks to minimized window

2017-08-28 Thread gabriel . lins97
Hello, guys I'm using python to automate some seriously boring stuff at work, but would like to improve current code. The way it is now, PyAutoGui moves mouse and clicks the Application. I am, therefore, hostage of my python "assistant", as I cannot use my computer while the .py is running.

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
Gabriel Somlo added the comment: output of "gcc -E -Wall -I/usr/include/python2.7 -c netnsmodule.c > foo.c" I think gcc7 is a bit more paranoid about whether some expression evaluating to an int can/should in itself be used as a Boolean (i.e., without being compared to 0). ---

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
Gabriel Somlo added the comment: This attachment illustrates how the problem is triggered. The file is part of the CORE network emulator (github.com/coreemu/core). Compile with "gcc -Wall -I/usr/include/python2.7 -c netnsmodule.c". -- Added file: http://bugs.python.org

[issue31013] gcc7 throws warning when pymem.h development header is used

2017-07-24 Thread Gabriel Somlo
New submission from Gabriel Somlo: C programs using PyMem_MALLOC in pymem.h generate a warning when -Wint-in-bool-context is enabled (typically through -Wall). In places where -Werror is enabled (such as RPM build), this causes the build to fail with an error that looks like: ... In file

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks a lot, that resolved it. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue29850] file access, other drives

2017-03-19 Thread Gabriel POTTER
Gabriel POTTER added the comment: Thanks for your answers. I'll try to be as precise as possible. The problem i have is really specific: I have a custom file, that i added in C:/Windows/System32/ I have a Windows 10 x64 computer, with 2 versions of python installed: - Python 2.7, in C

[issue29850] file access, other drives

2017-03-18 Thread Gabriel POTTER
New submission from Gabriel POTTER: If python 3 is installed on another drive (for instance D:/), then it cannot access any C:/ files, but can access D:/ files. I use: open("C:/path/") The same function did work under python 2.7 but now doesn't anymore. That means that os.p

[issue29850] file access, other drives

2017-03-18 Thread Gabriel POTTER
Gabriel POTTER added the comment: To be precise, i cannot detect (only know if the file exist) any file located in C:/Windows/... (in particulary System32) contrary to Python 2.7 where it was possible. -- ___ Python tracker <rep...@bugs.python.

custom setup.py link argument order

2017-03-07 Thread Gabriel Ganne
against my two libraries. How can I choose the order of my link arguments that I pass to gcc using setup.py ? Best regards, -- Gabriel Ganne -- https://mail.python.org/mailman/listinfo/python-list

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2017-01-30 Thread Gabriel McManus
Gabriel McManus added the comment: As mentioned in [1], Illumos will be fixed to match Linux's behaviour, so this problem will go away. It may still be worth changing epoll to just send -1 though, in case this causes similar issues in other operating systems. [1] https://github.com/joyent

[issue29386] select.epoll.poll may behave differently if timeout = -1 vs timeout = None

2017-01-28 Thread Gabriel McManus
New submission from Gabriel McManus: The select module epoll.poll method takes a "timeout" parameter which is documented as having a default value of -1 [1]. If no timeout (or None) is passed to epoll.poll, then a value of -1 is passed to the epoll_wait system call. But if a tim

[issue28989] .dll files missing

2016-12-16 Thread Gabriel Lopez
New submission from Gabriel Lopez: Every time I try loading Python 3.5, it says "The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer." How can I fix this? -- messages: 283411 nosy: Gabriel Lopez priority: normal severity: normal st

[issue24564] shutil.copytree fails when copying NFS to NFS

2016-11-04 Thread Gabriel Devenyi
Gabriel Devenyi added the comment: I'm running into this issue with python 3.5 and a ZFS-backed NFS4 mount. Strace of a setuptools install: chmod("/opt/quarantine/pydpiper/2.0/build/lib/python3.4/site-packages/pydpiper-2.0-py3.4.egg", 0644) = 0 listxattr("dist/pydpipe

[issue27747] Broken example in the queue module documentation

2016-08-12 Thread Paulo Gabriel Poiati
Paulo Gabriel Poiati added the comment: You are absolutely right David. I was calling join after putting `None` in the queue. Sorry, I'm closing this. -- resolution: -> not a bug status: open -> closed ___ Python tracker <rep...@bugs.p

[issue27747] Broken example in the queue module documentation

2016-08-12 Thread Paulo Gabriel Poiati
New submission from Paulo Gabriel Poiati: I believe the code example at https://docs.python.org/3.6/library/queue.html is broken. The break condition in the worker loop (when the queued value is None) must call the `task_done` before breaking, otherwise the code blocks indefinitely

[issue27396] Change default filecmp.cmp shallow option

2016-06-26 Thread Gabriel Hackebeil
Gabriel Hackebeil added the comment: All good points. Perhaps further emphasis on this in the documentation would be helpful to. As it stands, this module is a dangerous one for a naive user (like me) to stumble across. Maybe introducing an “exact” or “slow" diff function to the module

[issue27396] Change default filecmp.cmp shallow option

2016-06-26 Thread Gabriel Hackebeil
New submission from Gabriel Hackebeil: I would like to propose changing the default setting for the shallow compare option in filecmp.cmp to False (or providing access an exact comparison function that does not use various performance optimizations). I think many users will turn

[issue26832] ProactorEventLoop doesn't support stdin/stdout nor files with connect_read_pipe/connect_write_pipe

2016-05-01 Thread Gabriel Mesquita Cangussu
Gabriel Mesquita Cangussu added the comment: Terry, About your question, "Isn't there some other way to asynchronously read/file files, as opposed to sockets and pipes, on Windows?", that is exactly the problem I was trying to overcome, specifically for reading the stdin. On my

[issue26832] ProactorEventLoop doesn't support stdin/stdout nor files with connect_read_pipe/connect_write_pipe

2016-04-22 Thread Gabriel Mesquita Cangussu
New submission from Gabriel Mesquita Cangussu: The documentation of asyncio specifies that the methods connect_read_pipe and connect_write_pipe are available on Windows with the ProactorEventLoop. The documentation then says that those methods accept file-like objects on the pipe parameter

[issue16399] argparse: append action with default list adds to list instead of overriding

2016-04-13 Thread Gabriel Devenyi
Gabriel Devenyi added the comment: >From what I can tell a workaround for this still isn't documented. -- nosy: +Gabriel Devenyi ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.or

error sintax

2016-03-22 Thread Gabriel Forcarelli dos Santos
meu python não esta reconhecendo os sinais de calculos em geral, peço a ajuda de vocês. -- https://mail.python.org/mailman/listinfo/python-list

Another python question

2016-03-18 Thread Alan Gabriel
Sorry for the multiple questions but my while loop is not working as intended. Here is the code : n = 1 list1 = [] count = 0 #amount of times program repeats steps = 0 # amount of steps to reach 1 step_list = [] while n!=0: n= int(input()) list1.append(n) length = len(list1) while count

Beginner Python Help

2016-03-18 Thread Alan Gabriel
Hey there, I just started out python and I was doing a activity where im trying to find the max and min of a list of numbers i inputted. This is my code.. num=input("Enter list of numbers") list1=(num.split()) maxim= (max(list1)) minim= (min(list1)) print(minim, maxim) So the problem is

[issue26249] Change PyMem_Malloc to use PyObject_Malloc allocator?

2016-02-22 Thread Catalin Gabriel Manciu
Catalin Gabriel Manciu added the comment: I've just posted the results to an OpenStack Swift benchmark run using the patch from my proposition, issue #26382. Victor's patch, applied to CPython 2.7, adds an extra 1% compared to mine (which improved throughput by 1%), effectively doubling

[issue26382] List object memory allocator

2016-02-22 Thread Catalin Gabriel Manciu
Catalin Gabriel Manciu added the comment: Our Haswell-EP OpenStack Swift setup shows a 1% improvement in throughput rate using CPython 2.7 (5715a6d9ff12) with this patch. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue26249] Change PyMem_Malloc to use PyObject_Malloc allocator?

2016-02-22 Thread Catalin Gabriel Manciu
Catalin Gabriel Manciu added the comment: Hi all, Please find below the results from a complete GUPB run on a patched CPython 3.6. In average, an improvement of about 2.1% can be observed. I'm also attaching an implementation of the patch for CPython 2.7 and its benchmark results. On GUPB

[issue26382] List object memory allocator

2016-02-19 Thread Catalin Gabriel Manciu
Catalin Gabriel Manciu added the comment: Theoretically, an object type that consistently allocates more than the small object threshold would perform a bit slower because it would first jump to the small object allocator, do the size comparison and then jump to malloc. There would be a small

[issue26382] List object memory allocator

2016-02-19 Thread Catalin Gabriel Manciu
Catalin Gabriel Manciu added the comment: Hi Victor, This patch follows the same idea as your proposal, but it's focused on a single object type. I think doing this incrementally is the safer approach, allowing us to have finer control over the new areas where we enable allocating using

[issue26382] List object memory allocator

2016-02-18 Thread Catalin Gabriel Manciu
Changes by Catalin Gabriel Manciu <catalin.gabriel.man...@intel.com>: Added file: http://bugs.python.org/file41954/listobject_CPython2.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26382] List object memory allocator

2016-02-18 Thread Catalin Gabriel Manciu
New submission from Catalin Gabriel Manciu: Hi All, This is Catalin from the Server Scripting Languages Optimization Team at Intel Corporation. I would like to submit a patch that replaces the 'malloc' allocator used by the list object (Objects/listobject.c) with the small object allocator

Re: parallel (concurrent) eventlet

2016-01-18 Thread David Gabriel
e me how to fix this issue. Kind regards. 2016-01-18 12:03 GMT+01:00 David Gabriel <davidgab...@gmail.com>: > Dears, > > I have an issue when I use eventlet Api to create parallel threads. > In fact, when I run the below code, only the program dealing with the >

parallel (concurrent) eventlet

2016-01-18 Thread David Gabriel
can't see. Please post a > link to the *actual* code that you are running. > > --Ned. > > > On 1/12/16 7:00 AM, David Gabriel wrote: > > Dears > > For more details, I am using this code > <https://github.com/rbarrois/python-ldap/blob/master/Dem

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
The original plan was doing it using python. But, anyway, I should build a robot program to do that task for me... Because I need to capture hundreds of hours of different videos... You mean that is difficult because it's Python... or it's difficult because it's a Flash Application? Thx --

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
Hi Paul, I presume the stream operator doesn't want to prevent me from downloading or recording the videos. I just wanna know more about some lib that could be used to deal with Flash Player Applications... Or possibly, anything that could lead me to be able to get those streaming videos. Thx

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
Mark Lawrence wrote: I don't actually know, but could you please provide some context and write in plain English, those damn ... things are extremely annoying. Hi, Mark. I am developing a research project, which includes video analysis (computer vision, big data, data mining, etc). The

Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
Hello, I need some help in downloading videos from flash applications in web using python. Is there any lib to deal with flash player using python? The videos I need to download are, in fact, live streaming content. You can see an example here:

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
Thanks for the Hint... But it seems not to support the website i mentioned... Is there a way to make it possible for any kind of video player in the net? Flash player... Since it's not a ordinary video... I'm trying to record download a live streaming video!! Thx --

Re: Downloading videos (in flash applications) using python

2015-02-02 Thread Gabriel Ferreira
I appreciate your help. I'm just afraid that Youtube-DL doesn't allow me to record or download a LIVE STREAMING VIDEO. Do you guys think it is possible, since I make some adjustments into the code of the library? -- https://mail.python.org/mailman/listinfo/python-list

Suggestion: PEP for popping slices from lists

2013-08-08 Thread Neatu Ovidiu Gabriel
The list.pop(index) returns the element represented by the index and also reduces the list by removing that element. So it a short one liner for doing both things. But when it comes for popping a slice of the list there is nothing similar for doing in that simple way. If you want to remove a

[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244 ___ ___ Python-bugs

[issue18318] Idle: stop depending on console output

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18318 ___ ___ Python-bugs

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13582 ___ ___ Python-bugs

[issue17022] Inline assignment uses the newly created object

2013-02-01 Thread Gabriel Nistor
Gabriel Nistor added the comment: Thanks for the fast reply. The explanation seems valid, but the behavior is not consistent with other high level languages, and also with plain reasoning. I have a big java background experience and I am now with python for almost 3 years doing really hard

[issue17022] Inline assignation uses the newly created object

2013-01-24 Thread Gabriel Nistor
New submission from Gabriel Nistor: I am using Lubuntu x64 version and python 3.2.3 I have a tree search method: node = self while xpaths: xpath = xpaths.popleft() for path, child in node.childrens.items(): if path == xpath: node = child break else

Random List Loop?!

2013-01-05 Thread Christian Gabriel
Hi I have tried now for ages to make a loop that does the following: Makes a new list with 9 random values, from 9 different lists, with 9 elements. And makes sure that none of the elements repeat! Is there anyone that can help, with a very simple solution?? Best Christian --

[issue16578] Regular expressions with empty named groups breaks isname check

2012-11-29 Thread Gabriel Rodríguez Alberich
New submission from Gabriel Rodríguez Alberich: import re re.compile((?P)) Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/re.py, line 190, in compile return _compile(pattern, flags) File /usr/lib/python2.7/re.py, line 240, in _compile p

[issue16578] Regular expressions with empty named groups break isname check

2012-11-29 Thread Gabriel Rodríguez Alberich
Changes by Gabriel Rodríguez Alberich che...@gmail.com: -- title: Regular expressions with empty named groups breaks isname check - Regular expressions with empty named groups break isname check ___ Python tracker rep...@bugs.python.org http

[issue16578] Regular expressions with empty named groups break isname check

2012-11-29 Thread Gabriel Rodríguez Alberich
Gabriel Rodríguez Alberich added the comment: Uh, sorry about that. Thanks. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16578

[issue16578] Regular expressions with empty named groups break isname check

2012-11-29 Thread Gabriel Rodríguez Alberich
Changes by Gabriel Rodríguez Alberich che...@gmail.com: -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16578

Request META Help

2012-04-19 Thread Gabriel Novaes
I have a system that uses request.META ['HTTP_HOST'] to identify which will run APPLICATION. The domains testes1.xyz.com.br, tes.xyzk.com.br, xx.xyzk.com.br through a DNS redirect TYPE A link to the server IP. In most cases I get the request.META ['HTTP_HOST'] with the URL in the request

[ANN] Python/Cython/SDL 2D Game Engine

2012-02-22 Thread Gabriel Jacobo
, and compiles it all along with the Python interpreter and SDL into a static binary. It's still a long way of from being something serious, but you can already make nice Android Live wallpapers with it! You can check it out at www.ignifuga.org Thanks! -- Gabriel. -- http://mail.python.org/mailman

Re: When I use Python under Windows. I found some file handles are not closed,

2011-11-01 Thread Gabriel Genellina
place to ask is python-list@python.org Please include the Python version you're using. Also, a small, complete, runnable code example showing the problem would be very valuable. Usually, in building such example, you may well find out where your problem is. -- Gabriel Genellina -- http

Re: Fast recursive generators?

2011-10-28 Thread Gabriel Genellina
(itertools.islice(my_generator(), 10)) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: why msvcrt.printf show the first char only?

2011-10-15 Thread Gabriel Genellina
(Testingencode(sys.stdout.encoding)), or tell ctypes about the right parameter type: printf = msvcrt.printf printf.argtypes = [c_char_p] printf(Testing\n) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: database connection

2011-10-07 Thread Gabriel Genellina
to the database file - *any* OS user who can read the database file can connect to it. sqlite does not have internal users, and does not implement GRANT/REVOKE statements. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: How to inspect slot wrappers arguments in Python?

2011-10-07 Thread Gabriel Genellina
in its 'format' parameter, and is not stored anywhere. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: sending ftp file list to mail???

2011-10-07 Thread Gabriel Genellina
En Fri, 07 Oct 2011 03:23:57 -0300, selahattin ay selahattin...@msn.com escribió: hi all. I want to get my ftp list and send the list to my mail adress... my codes are And your problem is...? -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: sending ftp file list to mail???

2011-10-07 Thread Gabriel Genellina
useful. Try this: def posta_olustur(): ... lines = [] baglanti.retrlines(LIST, lines.append) text = '\n'.join(lines) posta.attach(MIMEText(text)) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: socket.getsockname is returning junk!!

2011-10-07 Thread Gabriel Genellina
flag anything when you built Python? On Windows, Python 2.7.1: server_address=('lepton', 1) sock.bind(server_address) sock.getsockname() ('127.0.0.1', 1) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   6   7   8   9   10   >